5201 Commits

Author SHA1 Message Date
Bixilon
48b44c3fa0
add Vec3t::get(Axes) for each datatype
Optimization for upcoming glm version
2023-05-28 20:02:46 +02:00
Bixilon
5fd52fb192
gui: replace meshes Vec2t<*> with Vec2 or Vec2i
This reduces memory allocation rate
2023-05-28 19:54:19 +02:00
Bixilon
f526d99441
network: fix sign editor packet reading 2023-05-28 19:53:42 +02:00
Bixilon
689b82ead7
gui renderer: replace matrix with half screen size
It's faster
2023-05-28 19:46:07 +02:00
Bixilon
3b381ff228
shapes: add add function for all datatypes
This should/will improve performance
2023-05-28 19:45:25 +02:00
Bixilon
1abe89cf27
optimize registries after loading
This could/should make performance better?
2023-05-28 00:42:06 +02:00
Bixilon
f42e632acb
remove section preparer abstraction
Not used, not intentions to use it
2023-05-28 00:18:26 +02:00
Bixilon
4c6033d8ba
Merge branch 'master' into work/model-bakery2 2023-05-27 23:54:13 +02:00
Bixilon
971c53e6a6
readme: improve language 2023-05-27 23:37:56 +02:00
Bixilon
418fc396d9
text component: rename restrictedMode to restricted
Now the name is used anywhere and not just partly
2023-05-27 23:37:56 +02:00
Bixilon
7307a22000
text: BaseComponent outsource with translation formatting 2023-05-27 23:37:56 +02:00
Bixilon
73d68e89aa
add run.cmd (for easy execution under windows) 2023-05-27 23:37:52 +02:00
Bixilon
640878282d
network: handle damage tilt 2023-05-26 14:31:18 +02:00
Bixilon
1e45098f8f
reduce memory allocations even more
They are less, but those are the major ones and performance should be a lot better than before. Hopefully no bugs sneaked in :)
2023-05-26 04:15:53 +02:00
Bixilon
06789e9b82
use kotlin-glm 0.9.9.1-7
This is a drastic performance update, minosoft should be a lot faster but also memory allocation rate is WAY lower.
2023-05-26 03:49:31 +02:00
Bixilon
b97da5fc47
debug menu: show memory allocation rate
Yep, 80MB/s is pretty bad, ik
2023-05-26 03:26:10 +02:00
Bixilon
d870067a00
use kotlin K2
I know, using beta versions is not ideal.
2023-05-25 20:25:50 +02:00
Bixilon
8d27cf69d7
bump dependencies 2023-05-25 20:10:38 +02:00
Bixilon
f5fe58c1a4
Merge branch 'fix/offset_world_coordinates'
Closes #108, GH-13
2023-05-25 19:58:27 +02:00
Bixilon
47f6dd7e05
abstract world border area
Sooooo much cleaner now
2023-05-25 19:49:22 +02:00
Bixilon
802dc48a07
improve world border mesh code 2023-05-25 19:30:24 +02:00
Bixilon
17374f7756
render world border (again)
With position offset and all fixes included
2023-05-25 19:08:06 +02:00
Bixilon
f1d6ce0bd5
limit world border to max distance 2023-05-25 18:57:50 +02:00
Bixilon
f3fab7dad8
fix some world border bugs 2023-05-25 18:34:06 +02:00
Bixilon
3f30134896
log shader code on error 2023-05-25 16:03:19 +02:00
Bixilon
4496d8f92d
network 1.20-pre6
No changes -/-
2023-05-25 15:35:40 +02:00
Bixilon
d13f57bd1a
git/gradle: set dirty status correctly 2023-05-25 15:35:11 +02:00
Bixilon
b1dde655f7
profiles: print message on profile save 2023-05-25 15:34:09 +02:00
Bixilon
29838bd5d3
world border: replace diameter with radius 2023-05-25 15:25:08 +02:00
Bixilon
753aed8650
audio: use doubles internally 2023-05-25 14:30:02 +02:00
Bixilon
3d8ba64e12
audio: use doubles internally 2023-05-25 14:29:18 +02:00
Bixilon
d2501ec3a1
gradle: log current os 2023-05-25 13:42:02 +02:00
Bixilon
8758c46759
improve world border appearance 2023-05-24 21:53:06 +02:00
Bixilon
a3deac5df0
world border: remove camera offset
This breaks it even harder…
2023-05-24 19:42:39 +02:00
Bixilon
592b22db76
fix target handler tests 2023-05-24 19:27:15 +02:00
Bixilon
71efb16e58
fix block outline rendering (high coordinates)
drawVoxelShape already takes doubles, so it is already offset.
2023-05-24 19:21:22 +02:00
Bixilon
155b83d5b7
improve world offset calculation 2023-05-23 21:00:39 +02:00
Bixilon
5b4da9c4f1
profiles: print message on profile save 2023-05-23 20:48:43 +02:00
Bixilon
cb121b115b
entity renderer: use camera world offset 2023-05-23 20:42:32 +02:00
Bixilon
544b3a3407
chunk border, block outline: use polygon offset 2023-05-23 20:08:09 +02:00
Bixilon
c32f3c173a
restore command stack on error
This should fix some errors with broken signature on commands
2023-05-23 19:53:34 +02:00
Bixilon
6e2cebf7a6
restore command stack on error
This should fix some errors with broken signature on commands
2023-05-23 19:39:08 +02:00
Bixilon
553084744f
rendering: use position offset more, fixes 2023-05-23 19:33:31 +02:00
Bixilon
4794d1cf61
rendering: use position offset 2023-05-23 19:33:31 +02:00
Bixilon
1556fed1e4
wip position offsetting, GH-13 and #108 2023-05-23 19:33:31 +02:00
Bixilon
955442f424
fix some command tests 2023-05-23 17:05:56 +02:00
Bixilon
517cf93681
command tests: properly validate stack 2023-05-23 16:58:03 +02:00
Bixilon
60906788cd
fix language files
Due to recent changes
2023-05-23 16:53:00 +02:00
Bixilon
6554754f27
chat: fix other language tests 2023-05-23 16:52:44 +02:00
Bixilon
8dce570862
chat: fix indexed translations index 2023-05-23 16:47:37 +02:00