Moritz Zwerger
578e5fcf13
log: ignore "sleep interrupted" exception on shutdown
2023-07-29 22:56:11 +02:00
Moritz Zwerger
ea3a1a94d1
improve help command
...
There is still more room for improvement
2023-07-29 22:41:10 +02:00
Moritz Zwerger
09c583e1fd
cli: wait until minosoft is fully started
2023-07-29 22:27:48 +02:00
Moritz Zwerger
aef2de7ce6
reformat about command
2023-07-29 22:24:47 +02:00
Moritz Zwerger
453b0faa5f
fix crash when rendering null
chars (i.e. not in used font)
...
Reported-By: turtius
2023-07-29 22:22:56 +02:00
Moritz Zwerger
b7ef4b95c6
improve empty code point rendering
...
Reported-By: turtius
2023-07-29 22:13:24 +02:00
Moritz Zwerger
442964619d
notify user about cli
2023-07-29 21:29:20 +02:00
Moritz Zwerger
7e495e9ba5
about command
2023-07-29 21:25:28 +02:00
Moritz Zwerger
7904cc3c1d
cli: remove \n and \r
2023-07-29 21:05:29 +02:00
Moritz Zwerger
f33f302c15
don't require assets to be loaded
...
This fixes some loading crashes when all assets are disabled in the `resources.json`.
Reported-By: turtius
2023-07-29 21:03:47 +02:00
Moritz Zwerger
9ec4eb8278
minor test performance improvements
...
- ChunkHeightmap is now only calculated if dimension has light (aka. only in light tests)
- occlusion culling and light is just updated when dimension has light (world filling)
- ...
2023-07-29 18:33:26 +02:00
Moritz Zwerger
bd549a1355
block entity ticking: only tick in regions where blocks are set
2023-07-29 17:15:08 +02:00
Moritz Zwerger
a278b6813b
resort some loops to y->z->y
...
This is because the values are indexed in that way and cpu caching improves performance
2023-07-29 17:14:45 +02:00
Moritz Zwerger
a7b10aaa49
optimize sky light (down) tracing
2023-07-29 16:55:50 +02:00
Moritz Zwerger
61228a9c05
bump mbf, optimize some laoding
...
Now tests go down from 8.1s to 7.3s. Way faster than before. This also improves loading time.
2023-07-29 16:34:37 +02:00
Moritz Zwerger
c74e2f970f
improve testing performance
2023-07-29 14:49:38 +02:00
Moritz Zwerger
b502067f28
test: cache profiles and pixlyzer data
2023-07-29 14:31:45 +02:00
Moritz Zwerger
d8ce0449a2
performance: cache some reflection fields
2023-07-29 14:30:21 +02:00
Moritz Zwerger
48a4880092
remove GreedyBakedBlockModel.kt
2023-07-29 13:51:25 +02:00
Moritz Zwerger
a278b7ba82
cleanup light testing util
2023-07-29 01:26:02 +02:00
Moritz Zwerger
dd4c3f8eae
log: add reset to every line
2023-07-29 01:17:00 +02:00
Moritz Zwerger
635e8a7aa9
rename test group
2023-07-29 01:09:36 +02:00
Moritz Zwerger
cfd1207cdd
Merge branch 'improve-light'
2023-07-29 00:51:09 +02:00
Moritz Zwerger
732394c5fe
fix light benchmark
2023-07-29 00:48:25 +02:00
Moritz Zwerger
9e08ec7079
fix some sky light neighbour tracing bugs
2023-07-29 00:35:04 +02:00
Moritz Zwerger
358b578ba6
light: properly fire light changes
2023-07-29 00:02:29 +02:00
Moritz Zwerger
8231d20954
fix some light and chunk bugs
2023-07-28 13:06:00 +02:00
Moritz Zwerger
ba535c2298
more skylight tests
2023-07-28 12:20:05 +02:00
Moritz Zwerger
0101001f52
chunk: update heightmap before checking light
...
This should improve performance and reduce wrong results (especially with the new sky light optimisations)
2023-07-28 11:50:29 +02:00
Moritz Zwerger
305e4f30bf
block light calculation: only trace from positions with blocks
...
This should optimize it a bit
2023-07-28 11:36:23 +02:00
Moritz Zwerger
9f57e84674
test section block data min and max position, fix initial position
...
Yep, that actually was wrong and decreased the performance
2023-07-28 11:31:41 +02:00
Moritz Zwerger
17d3e66f87
rename Heightmap to ChunkHeightmap
2023-07-28 11:14:11 +02:00
Moritz Zwerger
74302bd390
refactor skylight flood filling
...
Some things are broken, ik. Should be a bit faster than before
2023-07-28 01:19:58 +02:00
Moritz Zwerger
f00f47e2d3
outsource sky light to ChunkSkylight, rename, changes
...
Breaks the entire light engine, did some experimental changes too...
2023-07-28 00:43:35 +02:00
Moritz Zwerger
fbf95e4f8d
move chunk neighbour tracing to chunk neighbours
2023-07-28 00:33:56 +02:00
Moritz Zwerger
ec3f6cb241
fix double press key combination, tests
...
Now we can fly again!
2023-07-28 00:03:08 +02:00
Moritz Zwerger
fa3e45043d
fix some skylight tests
2023-07-28 00:02:44 +02:00
Moritz Zwerger
8ccb362ef6
fix double press key combination, tests
...
Now we can fly again!
2023-07-27 23:57:28 +02:00
Moritz Zwerger
b5bb290727
heightmap: properly call update when block is placed
2023-07-27 23:27:04 +02:00
Moritz Zwerger
b7ac8e778f
fix some heightmap bugs, improve heightmap performance
2023-07-27 23:17:02 +02:00
Moritz Zwerger
4d02696bc5
refactor heightmap
2023-07-27 23:06:23 +02:00
Moritz Zwerger
ebb5b8a04e
network tests: InitializeS2CP
...
See #93
2023-07-27 14:03:29 +02:00
Moritz Zwerger
0ef29f3eee
yggdrasil test
...
See #93
2023-07-26 23:18:44 +02:00
Moritz Zwerger
5b46d8fa5a
network: fix brigadier primitives max reading
2023-07-26 23:00:58 +02:00
Moritz Zwerger
3bc879fcca
network: CommandsS2CP test
2023-07-26 23:00:32 +02:00
Moritz Zwerger
ddfb481f0b
packet dumping util
2023-07-26 23:00:12 +02:00
Moritz Zwerger
26a964ce42
bump jackson
2023-07-26 20:45:08 +02:00
Moritz Zwerger
b5f430de36
bump gradle
2023-07-26 20:32:18 +02:00
Moritz Zwerger
07c391d237
bump dependencies
2023-07-26 20:30:43 +02:00
Moritz Zwerger
9b676dfa15
don't render clouds if camera is below world
2023-07-26 20:13:00 +02:00