Moritz Zwerger
bf85d0bee0
fix frustum, fix skeletal rendering
2025-10-12 14:32:17 +02:00
Moritz Zwerger
850decf405
fix mat4 rotation, tests
2025-10-12 14:32:14 +02:00
Moritz Zwerger
053a01ba38
store matrices column major
...
That should be faster, because of cpu caching. No teste if it matters too much with 4x4 matrices
2025-10-12 14:32:12 +02:00
Moritz Zwerger
77c2e33a1e
lots of matrix fixes
2025-10-12 14:32:08 +02:00
Moritz Zwerger
4cbd2219fb
matrix operations: don't inline them
...
They make the binary larger and it costs a ton of performance for the jvm to compile them jit. No benefit.
2025-10-12 14:32:06 +02:00
Moritz Zwerger
cfb0efceba
mat: don't inline multiplication
...
To be further improved.
2025-10-12 14:32:03 +02:00
Moritz Zwerger
c3324e7702
fix some physics test
...
fluid and elytra was broken, others were just float rounding errors
2025-10-12 14:32:00 +02:00
Moritz Zwerger
acc46dae94
fix block state rotation (and culling)
2025-10-12 14:31:57 +02:00
Moritz Zwerger
2921fa64a4
fix some mat3f errors
2025-10-12 14:31:55 +02:00
Moritz Zwerger
fa73d879ab
more fixes
2025-10-12 14:31:52 +02:00
Moritz Zwerger
6c43f0f799
vectors: remove normalize from integer vectors, use inverse sqrt
2025-10-12 14:31:49 +02:00
Moritz Zwerger
31f438839d
network: NamedSoundS2CP: don't use unsafeNull
...
just throws exceptions...
2025-10-12 14:31:46 +02:00
Moritz Zwerger
0f536d6a24
lots of fixes
...
It actually works out of the box...with many bugs and errors logged and performance feels like shit, but it works.
2025-10-12 14:31:44 +02:00
Moritz Zwerger
a52ca2acad
file texture: don't use unsafe null
...
unsafeNull does not work with inline datatypes
2025-10-12 14:31:40 +02:00
Moritz Zwerger
e1fc52939d
more matrix operations
2025-10-12 14:31:37 +02:00
Moritz Zwerger
324ee9f83d
more matrix tests, more matrix operations, fixes
2025-10-12 14:31:34 +02:00
Moritz Zwerger
0678f37f66
fix all rebase errors
...
from master (and macos-fixes)
2025-10-12 14:31:31 +02:00
Moritz Zwerger
a90646e720
some matrix tests
2025-10-12 14:31:28 +02:00
Moritz Zwerger
d58e2c0ebb
fix test building
2025-10-12 14:31:24 +02:00
Moritz Zwerger
bf1dc4e4cc
more build fixes
2025-10-12 14:31:22 +02:00
Moritz Zwerger
4f57bb0f04
fix some rebase errors
2025-10-12 14:31:03 +02:00
Moritz Zwerger
731049c172
vector fixes
2025-10-12 14:31:00 +02:00
Moritz Zwerger
c156f91423
move kmath to subpackage
...
Will be outsourced into standalone library
2025-10-12 14:30:57 +02:00
Moritz Zwerger
8a5d8ae0be
more hud fixes
2025-10-12 14:30:52 +02:00
Moritz Zwerger
240f4d47c1
fixup a lot more, remove deprecated vec3 lamba operations
2025-10-12 13:56:04 +02:00
Moritz Zwerger
647c6bf810
lot more build fixes
2025-10-12 13:54:55 +02:00
Moritz Zwerger
178dd26ae4
vector improvements, mat4f
2025-10-12 13:54:48 +02:00
Moritz Zwerger
5b6a4a4230
unsafe vec
2025-10-12 13:54:26 +02:00
Moritz Zwerger
4b580620bb
custom vec3 implementation
...
way less memory allocations and probably a little bit faster
2025-10-12 13:54:18 +02:00
Moritz Zwerger
c1fa26596f
local argument: actually use the generator and storage argument
2025-10-07 17:58:52 +02:00
Moritz Zwerger
7ce243c997
basic cli tests
2025-10-07 17:53:35 +02:00
Moritz Zwerger
78ff60eb35
fix mod loading tests
...
The source did not exist...
2025-10-07 17:53:35 +02:00
Moritz Zwerger
ece1e7a3ce
properly parse and add additional mod sources
2025-10-07 17:53:35 +02:00
Moritz Zwerger
d4e30987c2
refactor command line options
...
argparse4j was replaced with clikt. This makes the parsing of arguments way easier and safer. A lot of parameters were renamed, only the most common one are migrated. Almost all settings from RunConfiguration were moved to the proper places, clikt just applies the configuration to them.
TODO:
- tests
- update documentation
- add additional mod sources back
2025-10-07 17:53:35 +02:00
Moritz Zwerger
0a388ccda8
log: respect NO_COLOR environment
2025-10-07 17:53:34 +02:00
Moritz Zwerger
678d83d39e
crash: don't show eros, don't kill thread pool, destroy rendering windows
2025-10-06 19:22:28 +02:00
Moritz Zwerger
7d05e2d5a1
render loop: fix frame delta calculation
...
This way the input manager does never moves in debug view
2025-10-06 19:21:56 +02:00
Moritz Zwerger
1fda00a8fd
skip key handler test in ci
...
Yah, not sure, but the timing needs to be precice.
2025-10-06 13:41:00 +02:00
Moritz Zwerger
9603730207
add back fastutil.doubles
2025-10-06 13:28:26 +02:00
Moritz Zwerger
b349d1d2aa
remove guava as dependency
2025-10-06 13:27:45 +02:00
Moritz Zwerger
fad8e1f340
open url: don't compare raw urls
...
They get resolved...that is blocking.
2025-10-06 13:27:43 +02:00
Moritz Zwerger
99013719f1
remove more guava dependencies
2025-10-06 13:27:41 +02:00
Moritz Zwerger
38db7bb289
signing: use custom toByteArray implementation
...
Almost not using guava anymore
2025-10-06 13:27:34 +02:00
Moritz Zwerger
a15a496653
don't use guava Objects.hashCode
...
This always allocates an array and it is just a boxing function for java.util.Objects.hash. I have the hope that the jvm will optimize this common call.
For performance relevant sections this is replaced by the algorithm, inlined without a loop nor array.
2025-10-06 13:26:22 +02:00
Moritz Zwerger
3e9269f49f
physics: don't match values
...
Otherwise subtraction errors might occur
2025-10-05 12:44:57 +02:00
Moritz Zwerger
653ed43529
glfw: don't call when library not yet initialized
2025-10-05 12:43:14 +02:00
Moritz Zwerger
7c1f392365
crash report: don't init javafx classes
...
It might be possible that javafx (or eros) is disabled or even unavailable. If that is so, it might crash the boot process of minosoft.
2025-10-03 16:27:02 +02:00
Moritz Zwerger
33ee3a782d
gui: only ignore display size if requested
...
That fixes that the chat and the tab list ignores all max size attributes
2025-10-03 15:44:59 +02:00
Moritz Zwerger
bd33153afd
fire overlay: use blocks/fire_layer_1 texture in legacy versions
2025-10-03 15:29:30 +02:00
Moritz Zwerger
9c1a98c1c5
util: fix color multiplication
...
This fixes that entities appear completely black in version < 1.13
2025-10-03 15:24:07 +02:00