5185 Commits

Author SHA1 Message Date
Moritz Zwerger
e3b02cc53f
make short grass own block 2023-11-27 15:14:27 +01:00
Moritz Zwerger
49053a0d99
correctly fix uv start 2023-11-27 15:14:13 +01:00
Moritz Zwerger
064d384e30
multi layer item rendering 2023-11-27 14:58:06 +01:00
Moritz Zwerger
f10184bad6
slab renderer < 1.13 2023-11-27 14:09:33 +01:00
Moritz Zwerger
eb00591256
fix some hardness values 2023-11-27 14:01:31 +01:00
Moritz Zwerger
bf000922b7
add all slabs and slab blocks
Just wanted to make them render in < 1.13, large commit
2023-11-27 10:49:21 +01:00
Moritz Zwerger
31e1dc4073
textures: load correct 9th texture
Fixes crash on mesa drivers and wrong behavior
2023-11-26 20:54:25 +01:00
Moritz Zwerger
9e995d08b9
registry tests: 1.8.9 and 1.12.2 entity data 2023-11-26 20:48:32 +01:00
Moritz Zwerger
68d855041d
player additional: correctly observe display name 2023-11-26 20:44:29 +01:00
Moritz Zwerger
d4a0ade701
benchmark tnt 2023-11-26 20:42:39 +01:00
Moritz Zwerger
20c60b83db
entity name feature: observe field instead of raw data
That fixes a String to ChatComponent class cast exception in <1.13, depending on the server
2023-11-26 20:42:32 +01:00
Moritz Zwerger
e6ffbbf4b3
load correct minosoft meta version
That mostly fixes entity data in versions <1.13
2023-11-26 20:41:49 +01:00
Moritz Zwerger
593be2d925
cache player tab name 2023-11-26 20:26:42 +01:00
Moritz Zwerger
a243693998
skeletal: pack matrices async 2023-11-26 20:26:31 +01:00
Moritz Zwerger
6d46b8358b
improve chunk queue sorting performance
distance is now cached
2023-11-26 19:55:20 +01:00
Moritz Zwerger
1f11a66fae
disallow binding of texture array if unloaded + fix
Its simply impossible. Shaders can not be loaded/used when its not loaded.

This fixes and INVALID_OPERATION opengl error
2023-11-26 19:45:59 +01:00
Moritz Zwerger
b36e8f7f6a
glfw: disable depth and stencil for default framebuffer
Seems to do nothing.
2023-11-26 00:47:50 +01:00
Moritz Zwerger
582a6e924a
gui framebuffer: don't attach depth buffer
Saves vram, on 4k roughly 3840*2160*3 bytes
2023-11-26 00:42:48 +01:00
Moritz Zwerger
0b078921f7
texture manager: rename dynamic and static 2023-11-26 00:10:06 +01:00
Moritz Zwerger
f7956d44f7
fix font tests 2023-11-26 00:08:10 +01:00
Moritz Zwerger
5f7a31599a
font texture array 2023-11-25 23:48:21 +01:00
Moritz Zwerger
6cfb689f7b
fix reading of png rgb 2023-11-25 22:42:00 +01:00
Moritz Zwerger
35a9a08880
make opengl texture array implementation lighter
Most of the functionality is actually not opengl specific, so abstract it
2023-11-25 22:12:28 +01:00
Moritz Zwerger
31225196ee
rework some mipmapping 2023-11-25 19:46:45 +01:00
Moritz Zwerger
66846d9abd
eros: fix potential crash when updating servers 2023-11-25 18:58:29 +01:00
Moritz Zwerger
2c0bc512ad
rgba buffer fixes, tests 2023-11-25 18:57:50 +01:00
Moritz Zwerger
fabf71177e
wip abstract texture buffers
They can be RGB and RGBA now
2023-11-25 18:57:50 +01:00
Moritz Zwerger
ae8c8e293e
forgot to actually run the tests 2023-11-25 18:37:44 +01:00
Moritz Zwerger
920539f0c4
fix wrong minosoft meta url migration 2023-11-25 18:12:27 +01:00
Moritz Zwerger
c709ab939c
download minosoft meta and pixlyzer from multiple urls (failover)
My gitlab really blew up this night du to soooo many requests (not bad). But people were unable to play, because they could not download resources. Now github and gitlab.com are also tried as fallback.

Closes GH-20, GH-22
2023-11-25 16:21:05 +01:00
Moritz Zwerger
749936ec7b
profile loader: properly crash when error occurs 2023-11-25 16:19:30 +01:00
Moritz Zwerger
0cfb65b0c9
minosoft meeta: correctly throw error when (down)loading fails
See GH-20
2023-11-25 15:37:52 +01:00
Moritz Zwerger
ae7b15de10
container: handle open/close events on rendering thread
Windows does not allow changing the gl cursor mode on non main thread (or at least it behaves undefined). Both events may be called from any thread (e.g. the network thread when opening a chest). Thread safety was not guaranteed anymore and thus breaking.

Fixes #118
2023-11-24 23:43:24 +01:00
Moritz Zwerger
a63b020e53
glfw: fix crash when window size is <= 0
Windows sets the window size to (0,0) when minimizing the window. That leads to eventual division by zero errors and opengl does not want to attach a framebuffer with that size, resulting in it being incomplete. After maximizing again, it tries to unload that framebuffer, but it was never loaded. Minosoft crashes with an invalid framebuffer state: deleted
2023-11-24 23:43:22 +01:00
Moritz Zwerger
e2f30887ff
move ChunkUtil and LightUtil to network 2023-11-23 22:18:07 +01:00
Moritz Zwerger
c6ccd9b4bc
profiles: properly store and load forced version 2023-11-23 21:32:02 +01:00
Moritz Zwerger
70d736a289
particles: don't throw exception if no sprites available
important for <1.13
2023-11-23 21:28:42 +01:00
Moritz Zwerger
6449d2d54d
javafx: don't load minosoft logo async and wait for it 2023-11-23 21:14:31 +01:00
Moritz Zwerger
8d857a1cbb
move glfw factory to different class
performance...
2023-11-23 20:56:49 +01:00
Moritz Zwerger
1e0a66ee32
move EvokerFangs to correct package 2023-11-23 20:02:51 +01:00
Moritz Zwerger
e08d8e6d9d
fix potential eros start crash 2023-11-23 19:48:47 +01:00
Moritz Zwerger
d404664341
network: 1.20.3-pre3 2023-11-23 19:48:34 +01:00
Moritz Zwerger
ff4cdb8dce
network: 1.20.3: fix some network bugs 2023-11-23 19:48:17 +01:00
Moritz Zwerger
5e9c1e0d19
option to specify render api 2023-11-23 19:28:33 +01:00
Moritz Zwerger
b9109b350e
option to set custom window factory 2023-11-23 19:21:19 +01:00
Moritz Zwerger
6e996f80e0
chunk renderer: ignore block updates if paused 2023-11-23 18:50:53 +01:00
Moritz Zwerger
e236585ef1
outsource javafx text component rendering 2023-11-23 18:37:02 +01:00
Moritz Zwerger
89e4254ddd
abstract system/desktop api
Porting on platforms where javafx or awt is not the best choice (e.g. android) is easier
2023-11-23 18:14:58 +01:00
Moritz Zwerger
46dfbe3252
remove debug TextureArray::dump 2023-11-23 17:31:11 +01:00
Moritz Zwerger
cae786d741
integration tests: boot using MinosoftBoot 2023-11-23 17:08:03 +01:00