4318 Commits

Author SHA1 Message Date
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
110bf94706
wip face culling 2023-06-21 22:16:00 +02:00
Bixilon
097e72906c
move FaceCullingTest to it, fix build 2023-06-21 18:52:26 +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
Bixilon
53cab94924
build font cache on init (not post init)
This should prevent hud from already using it
2023-06-16 16:03:26 +02:00
Bixilon
81ff9c9f7a
text alignment 2023-06-16 16:03:26 +02:00
Bixilon
f455f2a20b
outsource ANSI (kutil) 2023-06-16 16:03:26 +02:00
Bixilon
9ef20161eb
text element: proper size limiting with background 2023-06-16 16:03:26 +02:00
Bixilon
cf4d955df0
legacy unicode font type: make chars one pixel smaller 2023-06-16 16:03:26 +02:00
Bixilon
4757e7b955
remove font spacing when shadow 2023-06-16 16:03:25 +02:00
Bixilon
2905e170da
fix text element tests 2023-06-16 16:03:25 +02:00
Bixilon
4d6117fd0b
hud/gui: replace ints with floats
Pixels are because of scaling not actually pixels. Floats should make animations and progress bars far more smooth and also improve text rendering
2023-06-16 16:03:25 +02:00
Bixilon
e27baeb8ea
wip text element tests 2023-06-16 16:03:25 +02:00