4013 Commits

Author SHA1 Message Date
Bixilon
c160718be1
bump kutil 2023-06-24 22:47:19 +02:00
Bixilon
792c8e3b40
optimize emtpy section iteration 2023-06-24 22:45:54 +02:00
Bixilon
a5cead6768
deprecate some kutil 1.23 functions 2023-06-24 22:29:20 +02:00
Bixilon
334939b8b5
chat component rendering: test multiple blank lines 2023-06-24 15:08:07 +02:00
Bixilon
25eeb77a05
recipes: allow 0 as valid id 2023-06-24 15:08:04 +02:00
Bixilon
5e5463f6bb
chat: don't draw half line (lines shifted when active) 2023-06-24 15:06:49 +02:00
Bixilon
2b62a8a069
hotbar levels: remove background 2023-06-24 15:06:26 +02:00
Bixilon
18798f6de6
fix moon phase calculation on very very very (fake) old worlds 2023-06-24 01:07:18 +02:00
Bixilon
51d4a31e6c
text renderer: fix crash when text starts with newline + tests 2023-06-24 01:07:18 +02:00
Bixilon
60cda1237e
BlockStateManager
This abstracts it and makes the code cleaner
2023-06-22 01:02:37 +02:00
Bixilon
36199275be
BlockFactories: ignore deprecations (AirBlock) on file level 2023-06-22 00:41:15 +02:00
Bixilon
edf7d8e360
RecipeRegistry::getId: don't wrap Int in Integer 2023-06-22 00:39:09 +02:00
Bixilon
b640a15897
remove "namespaces" from assets manager
served no purpose
2023-06-22 00:38:42 +02:00
Bixilon
342a46d753
add missing copyright to files 2023-06-17 20:57:59 +02:00
Bixilon
483dbf0921
bitmap font type: workaround precision loss 2023-06-17 20:54:37 +02:00
Bixilon
ddc6ba0de4
properly generate mipmaps for sprite textures 2023-06-17 20:51:34 +02:00
Bixilon
8b65d1d059
dummy texture: create texture data on load
Now there is no error when loading bitmap fonts in the dummy render system
2023-06-17 20:29:42 +02:00
Bixilon
392553d231
gradle: reenable all tests 2023-06-17 20:26:17 +02:00
Bixilon
5855cbbe42
don't load fonts twice, load multiple fonts 2023-06-17 20:25:38 +02:00
Bixilon
6dc3002528
font rendering: underline, strikethrough 2023-06-17 19:56:17 +02:00
Bixilon
77b9af81a9
improve unifont rasterizer performance 2023-06-17 18:02:24 +02:00
Bixilon
9d3118256b
unifont: optimize out empty space
It now costs around 25MB vram less, but loading time increased slightly
2023-06-17 17:43:03 +02:00
Bixilon
82076fd6d7
unifont rasterizer: remove full textures, optimize texture size 2023-06-17 14:58:13 +02:00
Bixilon
638840c63e
load glm async at boot 2023-06-17 14:31:57 +02:00
Bixilon
7ad39a72d7
unihex font type: read buffered from zip 2023-06-17 14:28:30 +02:00
Bixilon
4e187b9985
texture array: only load image properties when needed, allow unnamed textures 2023-06-17 14:17:51 +02:00
Bixilon
aece678551
unihex rasterizing test, unihex fixes 2023-06-17 14:15:14 +02:00
Bixilon
d6de3a9150
unicode font rasterizer 2023-06-17 13:11:47 +02:00
Bixilon
26f172df71
texture array: only load image properties when needed, allow unnamed textures 2023-06-17 01:46:44 +02:00
Bixilon
5b19803823
abstract texture data, clean up texture 2023-06-17 01:27:44 +02:00
Bixilon
b1f42e5cfe
reduce pixlyzer loading time
Registry injects are optimized by not using kotlin-reflect in some critical points
2023-06-16 18:48:21 +02:00
Bixilon
9889747532
wip unihex font loading + tests 2023-06-16 18:15:13 +02:00
Bixilon
3794ac1943
debug/pause menu: remove title background 2023-06-16 18:14:49 +02:00
Bixilon
5d3b207211
wip unihex font reading 2023-06-16 17:47:04 +02:00
Bixilon
f49518ad93
assets: index type: other (font)
Required for loading unifont texture (1.20)
2023-06-16 16:40:46 +02:00
Bixilon
4b773497a0
readme: mark 1.20.x as supported 2023-06-16 16:21:54 +02:00
Bixilon
80790c4637
trim font
This should reduce some call overhead, normally once include just contains one font type and not multiple
2023-06-16 16:14:46 +02:00
Bixilon
d9e26b1b86
fix reference font provider 2023-06-16 16:11:34 +02:00
Bixilon
6b417993a8
fix bitmap font calculations, fix tests 2023-06-16 16:03:28 +02:00
Bixilon
e5cbd84503
rename AbstractTexture, remove Texture::resourceLocation 2023-06-16 16:03:28 +02:00
Bixilon
c446b87579
fix some bitmap font tests 2023-06-16 16:03:28 +02:00
Bixilon
1a6b8d04a7
wip bitmap font loading + tests 2023-06-16 16:03:28 +02:00
Bixilon
ce3a678d39
tab list: set height to 11 pixels (now name is visible again) 2023-06-16 16:03:28 +02:00
Bixilon
906195d4c1
sign: option for text aligning
Aligning text on a sign is now a config option. Closes GH-7
2023-06-16 16:03:27 +02:00
Bixilon
7a9b092784
remove static font characteristics, improve 3d font rendering, bug fixes 2023-06-16 16:03:27 +02:00
Bixilon
1a2105297e
fix background tests, improve text background 2023-06-16 16:03:27 +02:00
Bixilon
f817d0c9f1
gui: text element fixes, tests 2023-06-16 16:03:27 +02:00
Bixilon
f42fec6421
fix crashes with text alignment 2023-06-16 16:03:27 +02:00
Bixilon
f2b0fab5d8
Villager: rename villagerDate to villagerData (typo) 2023-06-16 16:03:27 +02:00
Bixilon
7ec41fc280
fix some text aligning bugs 2023-06-16 16:03:26 +02:00