261 Commits

Author SHA1 Message Date
MihailRis
c33a92abd6 fix block.set in headless mode & fix: vctest does not cleanup worlds 2024-12-29 22:41:11 +03:00
MihailRis
ab5a62c3aa add new block.get_AXIS functions overloads & add rotation support to base:falling_block 2024-12-29 21:48:36 +03:00
MihailRis
72394181c7 add unpack function documentation 2024-12-27 09:58:02 +03:00
MihailRis
0af0e8a58d update byteutil 2024-12-27 09:25:09 +03:00
MihailRis
cca153b66b add byteutil library 2024-12-27 08:33:52 +03:00
MihailRis
13c36f4629 feat: player.delete() function and update documentation 2024-12-26 05:47:18 +03:00
MihailRis
c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis
ed7dc1f901 feat: add app.save_world() function and update documentation 2024-12-25 15:15:11 +03:00
MihailRis
96577ee041 add input.add_callback("key:...") support 2024-12-25 14:08:22 +03:00
MihailRis
5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis
ad6a6666da rename test library to app & rename app.name to app.script 2024-12-25 06:06:55 +03:00
MihailRis
e153e1fbd7 add player.is_loading_chunks, .set_loading_chunks 2024-12-24 10:35:09 +03:00
MihailRis
272e41de50 disable writing to read-only entry points 2024-12-24 08:13:08 +03:00
MihailRis
bc4aea67c9 add file.is_writeable 2024-12-24 08:08:44 +03:00
MihailRis
22d207ba28 add player.set_selected_slot, inventory.find_by_item 2024-12-23 12:24:29 +03:00
MihailRis
1149d5869c Merge branch 'main' into headless-mode 2024-12-22 02:33:12 +03:00
MihailRis
4ce2f3edca add new Bytearray:append overloads 2024-12-22 02:14:04 +03:00
MihailRis
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
5e55e20ec4 add test.quit, test.reopen_world 2024-12-18 02:25:28 +03:00
MihailRis
48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57:00 +03:00
MihailRis
1c18c02092 move Chunks from Level to Player 2024-12-17 19:40:00 +03:00
MihailRis
b7664b4188 move Lighting instance to ChunksController 2024-12-17 05:13:49 +03:00
MihailRis
c5049d0e24 performance test again 2024-12-17 02:05:52 +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
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
9ec8788838 add player.create, test.set_setting, test.sleep_until, world.count_chunks 2024-12-12 15:54:56 +03:00
MihailRis
b05c2fc911 fix 'timeit' in headless mode 2024-12-11 14:08:24 +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
5ffc054d75 refactor 2024-12-09 01:12:41 +03:00
MihailRis
59402b6607 add 'test' library 2024-12-07 22:16:50 +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
MihailRis
467b4ad043 add gui.escape_markup 2024-12-06 20:25:21 +03:00
MihailRis
16698cc68b add gui.clear_markup(...) 2024-12-06 20:13:45 +03:00
MihailRis
65f208fc61 add textbox.syntax, textbox.markup, label.markup properties 2024-12-06 19:56:38 +03:00
MihailRis
d0fbbeecbe fix random fatal error in socket:recv 2024-12-04 23:32:59 +03:00
MihailRis
2fa78b7b21 fix random fatal error in socket:recv 2024-12-04 23:32:22 +03:00
MihailRis
36edad039c add string socket:send overload 2024-12-04 12:05:10 +03:00
REDxEYE
57e9cade7b Potential nullptr access fix 2024-12-02 21:27:37 +03:00
REDxEYE
ad81e64461 Add EXTRLE16+GZIP combo for chunk compression 2024-12-02 21:26:44 +03:00
REDxEYE
49defaeb3b Add api to serialize and deserialize chunk to bytes 2024-12-02 02:33:38 +03:00
MihailRis
21c76c1b0d add socket:get_address, serversocket:get_port 2024-11-30 22:32:14 +03:00