2612 Commits

Author SHA1 Message Date
MihailRis
c5049d0e24 performance test again 2024-12-17 02:05:52 +03:00
MihailRis
7ca91020e3 add docs to remaining public blocks_agent functions 2024-12-17 00:04:52 +03:00
MihailRis
6ed0bc3e7e add docs to some blocks_agent functions 2024-12-16 23:56:52 +03:00
MihailRis
5030a65bc1 add docs to some blocks_agent functions 2024-12-16 23:43:01 +03:00
MihailRis
fb3f201dfc move setRotation, checkReplaceability, raycast logic to the blocks_agent 2024-12-16 23:32:52 +03:00
MihailRis
c7c2fe29d2 move seekOrigin logic to the blocks_agent 2024-12-16 22:37:55 +03:00
MihailRis
87c19d69dc move block set logic to the blocks_agent 2024-12-16 20:46:06 +03:00
MihailRis
6157f8193d add blocks_agent templates & remove block.get_slow 2024-12-16 11:26:57 +03:00
MihailRis
e713412a6d rename ChunksStorage to GlobalChunks 2024-12-14 18:58:51 +03:00
MihailRis
12c10d1ad1
Add Windows build with Clang (#411)
after 72 commits and 24 hours
2024-12-14 03:09:25 +03:00
MihailRis
76559cc9ac Revert "test"
This reverts commit 251aca7abc13e269c1593745ce8ee08c7ccb1933.
2024-12-13 08:02:26 +03:00
MihailRis
251aca7abc test 2024-12-13 07:33:55 +03:00
MihailRis
bf43fd71bf update libblock 2024-12-13 07:16:13 +03:00
MihailRis
e0b3425eff migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
MihailRis
53cc8d3c7b add core.blank 2024-12-12 23:40:57 +03:00
MihailRis
086c20c370 cache block.index, block.name, item.index, item.name 2024-12-12 20:28:41 +03:00
MihailRis
913f942adb add platform::get_process_id 2024-12-12 16:37:06 +03:00
MihailRis
9ec8788838 add player.create, test.set_setting, test.sleep_until, world.count_chunks 2024-12-12 15:54:56 +03:00
MihailRis
8a5042f2a2 fix msvc build 2024-12-12 02:54:56 +03:00
MihailRis
7e92a16016 fix weak_ptr leak 2024-12-12 02:40:59 +03:00
MihailRis
863146cf6b move PlayerController to LevelScreen 2024-12-11 23:42:59 +03:00
MihailRis
c1a7b7545a change components on_render call timing 2024-12-11 21:07:38 +03:00
MihailRis
0d071ab014 fix camera-related bugs 2024-12-11 20:42:59 +03:00
MihailRis
436bfd24ba update ChunksStorage 2024-12-11 16:30:19 +03:00
MihailRis
91fa2838d6 reduce 'corrupted block detected ...' spam if chunk data is corrupted 2024-12-11 15:23:16 +03:00
MihailRis
cfc16679cb add test.open_world 2024-12-11 14:49:52 +03:00
MihailRis
b05c2fc911 fix 'timeit' in headless mode 2024-12-11 14:08:24 +03:00
MihailRis
c67f158e62 remove default player from headless mode 2024-12-11 00:31:08 +03:00
MihailRis
3c2eb30a29 add test.reconfig_packs & fix world.get_total_time() & enable level controller 2024-12-10 20:14:18 +03:00
MihailRis
d3f74b56fa add test.close_world(bool) 2024-12-10 19:14:51 +03:00
MihailRis
9b4dd8f65e refactor & add test.new_world 2024-12-10 18:41:39 +03:00
MihailRis
5ffc054d75 refactor 2024-12-09 01:12:41 +03:00
MihailRis
5fe5c6b27a fix player tick rate 2024-12-08 15:38:03 +03:00
MihailRis
eaffc0cb57 Merge branch 'main' into headless-mode 2024-12-08 01:39:45 +03:00
MihailRis
59402b6607 add 'test' library 2024-12-07 22:16:50 +03:00
MihailRis
92fb19ba5e fix item.properties 2024-12-07 20:42:10 +03:00
MihailRis
4318b50c2f
Merge pull request #404 from RichardTry/patch-2
Fix neighbour chunk update
2024-12-07 19:03:59 +03:00
Richard Try
f6d5735f14
Fix neighbour chunk update
+1 for x axis is missed in getChunk()
2024-12-07 18:57:16 +03:00
MihailRis
5e8805f241 add vctest (WIP) 2024-12-07 15:49:23 +03:00
Richard Try
42439de3d6
AreaMap2D getHeight fix
Fix typo and return sizeY.
2024-12-07 05:42:47 +03:00
MihailRis
d9bd60f473 update windows and macos workflows & add engine version to log 2024-12-07 02:45:51 +03:00
MihailRis
d2fbb83d78 disable extra locale reload in headless mode 2024-12-07 02:25:42 +03:00
MihailRis
d1f92c21d0 fix on_block_interact & fix segfault after engine finished 2024-12-07 02:10:36 +03:00
MihailRis
ee1a170376 add headless mode (engine initialization and finalization) 2024-12-07 01:12:27 +03:00
MihailRis
1ab3707343 update locale log messages 2024-12-07 00:52:40 +03:00
MihailRis
27acc1d8b1 rename voxel_engine.cpp to main.cpp 2024-12-07 00:12:42 +03:00
MihailRis
3e01a399f9 refactor 2024-12-07 00:04:56 +03:00
MihailRis
61b73bfabd
Merge pull request #400 from MihailRis/syntax-hightlighting
Text Formatting
2024-12-06 22:21:16 +03:00
MihailRis
dc3b166c9d
Merge pull request #395 from REDxEYE/serialize_chunk_lua_api
Add api to serialize and deserialize chunk to bytes
2024-12-06 22:20:34 +03:00
MihailRis
3156e40c17 update console.execute output on parsing error 2024-12-06 21:31:27 +03:00