4396 Commits

Author SHA1 Message Date
Bixilon
a3ec99f55a
remove LegacyResourceLocation
Co-authored-by: MrGeoTech <themrgeotech@gmail.com>
2023-01-03 11:25:10 +01:00
Bixilon
5873611b9c
fix fluid texture loading bugs, load textures faster 2022-12-25 18:35:02 +01:00
Bixilon
17b1326a90
input handler: fix unpressing keys when consumer is set 2022-12-25 18:24:45 +01:00
Bixilon
822972ff1f
fix invisible arm 2022-12-25 18:08:21 +01:00
Bixilon
1ca468ac44
fix skeletal position and animations (chest) 2022-12-25 17:31:29 +01:00
Bixilon
0e68f35ffa
network: fix block data storing 2022-12-25 17:19:07 +01:00
Bixilon
41ee197216
fix tests, fix error when failing to ping server 2022-12-25 15:36:19 +01:00
Bixilon
6cab366660
rename RenderWindow to RenderContext 2022-12-24 18:50:56 +01:00
Bixilon
caf83bd461
doc: replace some emojis 2022-12-24 14:57:37 +01:00
Bixilon
c3b79711e5
doc: list of supported versions 2022-12-24 14:50:48 +01:00
Bixilon
79dfd30118
it: require dummy render system 2022-12-24 14:01:07 +01:00
Bixilon
6f852af2f9
it: load models, basic world renderer test 2022-12-24 00:31:24 +01:00
Bixilon
0b9b760894
it: don't load audio 2022-12-23 23:31:56 +01:00
Bixilon
a0296f74cf
it: dummy render system 2022-12-23 20:19:01 +01:00
Bixilon
372853d661
wip dummy render system, render system test #93 2022-12-23 20:11:21 +01:00
Bixilon
6010d94d3a
move glfw to own subpackage 2022-12-23 18:54:38 +01:00
Bixilon
536227206c
world visibility graph: listen for chunk data change
This fixes a bug where the world was first rendererd after moving the camera once
2022-12-23 18:48:45 +01:00
Bixilon
072efe15eb
world renderer: properly unload if empty 2022-12-23 17:27:20 +01:00
Bixilon
3988407c90
world renderer: check neighbours async
This fixes a couple of errors and improves the performance minimal
2022-12-23 17:18:45 +01:00
Bixilon
a871c583fe
fix world clearing when changing dimensions 2022-12-23 17:04:02 +01:00
Bixilon
12c8218134
fluid preparer: loop y-z-x
this allows to eventually use prefetch (cpu)
2022-12-23 16:44:33 +01:00
Bixilon
43aad26a8a
cull preparer: only loop from min to max and not 0 to 16
This should be a small performance boost when blocks change on the surface
2022-12-23 16:43:19 +01:00
Bixilon
6a5e9ab799
world renderer: fix some locking crashes 2022-12-23 16:35:29 +01:00
Bixilon
b8ef770685
fix crash in particle renderer 2022-12-23 15:55:27 +01:00
Bixilon
a12a3b0e7e
chunk cache clearing: don't ignore frustum 2022-12-23 14:58:15 +01:00
Bixilon
a4928205f0
world renderer: remove locking hell 2022-12-23 14:26:16 +01:00
Bixilon
5672bacb75
world renderer: fix some locking issues 2022-12-23 13:16:18 +01:00
Bixilon
7ce26ba406
use UnconditionalWorker whenever possible 2022-12-23 13:16:03 +01:00
Bixilon
3245ce71ae
World: don't calculate chunk data if chunk not initialized 2022-12-23 13:15:39 +01:00
Bixilon
5537195b16
world renderer: culled queue 2022-12-23 00:27:41 +01:00
Bixilon
6812e2606b
use Iterator::remove when possible
This improves performance in various areas
2022-12-23 00:25:26 +01:00
Bixilon
ef27b92ebc
world renderer: queue master 2022-12-22 23:53:47 +01:00
Bixilon
563eebd476
world renderer: split chunk meshing, event listening 2022-12-22 23:02:16 +01:00
Bixilon
592aef6bda
world renderer: rework preparing tasks 2022-12-22 22:12:28 +01:00
Bixilon
52cb9b4a57
rework meshing queue 2022-12-22 21:54:53 +01:00
Bixilon
0e45237ce4
world renderer: loaded meshes 2022-12-22 18:14:41 +01:00
Bixilon
50dc60d3f1
mesh loading queue 2022-12-22 17:53:27 +01:00
Bixilon
f3d8b74607
mesh unloading queue 2022-12-22 16:36:10 +01:00
Bixilon
4a9e6ffd6f
world renderer: load models in model loader 2022-12-22 15:45:37 +01:00
Bixilon
31ba179503
catch all svg loading errors
This fixes a still unknown bug on windows where svg loading fails
2022-12-22 15:16:27 +01:00
Bixilon
bfc8f33468
architecture: note about integrated registries 2022-12-21 17:35:05 +01:00
Bixilon
3338ea145b
registries: make block registry depend on particles
This fixes an eventual crash when loading
2022-12-20 20:29:23 +01:00
Bixilon
72dfeb7557
dimension properties: fix crash when dimension has exactly one section
+ rename some properties
+ test
2022-12-20 20:19:16 +01:00
Bixilon
344ad83055
jcl: fix unloading classes 2022-12-20 15:07:16 +01:00
Bixilon
5f66b0729b
eros: fix exception when switching account 2022-12-20 14:48:33 +01:00
Bixilon
f057859113
eros: replace events with observables
This fixes a lot of bugs, also improved memory "safety"
2022-12-20 14:25:26 +01:00
Bixilon
cbfa644a31
store entity rotation as float 2022-12-20 09:14:29 +01:00
Bixilon
2aa261acae
InByteBuffer: uniformed position delta reading 2022-12-19 18:35:10 +01:00
Bixilon
a1363c816a
unify InByteBuffer::readVec3d 2022-12-19 18:31:12 +01:00
Bixilon
c8c316880c
sound: generic method for reading sound pitch
Thanks @turtius for the confusing name of `SOUND_PITCH_DIVIDER`
2022-12-19 12:18:51 +01:00