819 Commits

Author SHA1 Message Date
MihailRis
c5fa6935a6 add metadata to chunk data used in world.get/set_chunk_data 2025-01-12 01:47:07 +03:00
MihailRis
077de25acc refactor 2025-01-11 23:38:43 +03:00
MihailRis
fe210708e5 fix 2025-01-11 23:03:19 +03:00
MihailRis
7b962841d6 fix world.set_chunk_data & rid of extra memory allocations in world.get_chunk_data 2025-01-11 18:50:45 +03:00
MihailRis
653d1d20d4 add app.is_content_loaded() 2025-01-09 18:53:25 +03:00
MihailRis
e0440b263e fix world deletion & fix segfault on attempt to reset content when world is open 2025-01-08 19:15:58 +03:00
MihailRis
96b904e61f add network.post 2025-01-08 17:02:07 +03:00
MihailRis
dbf366eca3 fixes 2025-01-07 23:49:09 +03:00
MihailRis
df9c301f58 update input.add_callback(...) 2025-01-07 22:15:27 +03:00
MihailRis
e7555448cf fix lua stack manipulations 2025-01-07 20:57:38 +03:00
MihailRis
13de581b4b add socket:available() --> int 2025-01-07 18:44:40 +03:00
MihailRis
e94b70fd3a fix 2025-01-07 06:45:12 +03:00
MihailRis
e2bc168914 add app.reset_content() 2025-01-06 20:10:24 +03:00
MihailRis
d65da966d2 add app.load_content 2025-01-06 16:54:03 +03:00
MihailRis
ab24187b49 fix windows build 2025-01-06 16:22:05 +03:00
MihailRis
0a1a16299e move menu pages loader to Lua & add gui.load_document, file.ext(), file.prefix() & add core:gui_util module 2025-01-06 16:07:16 +03:00
MihailRis
5a34e8d522 update gui.confirm 2025-01-06 00:41:57 +03:00
MihailRis
136c35591c add file.name(), file.stem() & add 'path' to pack info & add start_coroutine() 2025-01-05 22:44:32 +03:00
MihailRis
bd9018dafe add pack.assemble(...), app.config_packs(...) 2025-01-03 23:51:36 +03:00
MihailRis
3187243a7d minor refactor 2025-01-03 13:50:25 +03:00
MihailRis
a3d35cd10f add gui.alert & critical fixes 2025-01-02 21:59:18 +03:00
MihailRis
b9ff1db086 feat: key pressed event interception & 'owner' input.add_callback third argument 2025-01-02 20:51:43 +03:00
MihailRis
7fce735ca1 add gui.confirm(...) 2025-01-02 16:53:28 +03:00
MihailRis
e2f6c263e7 update pack.get_info 2025-01-02 11:45:28 +03:00
MihailRis
e976b2078e fix pack.get_info in headless mode 2025-01-02 11:41:56 +03:00
MihailRis
af592b6e7d add pack.get_info(table) overload 2025-01-02 00:11:09 +03:00
MihailRis
06943525c4 fix 2024-12-31 10:29:30 +03:00
MihailRis
03a3062940 fix error handling in events and runnables 2024-12-31 10:25:26 +03:00
MihailRis
cb9690ebc7 add 'cursor' ui property 2024-12-30 21:41:05 +03:00
MihailRis
10f0bd0290 refactor 2024-12-30 17:25:51 +03:00
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
45807fdcb1 fix on_block_common 2024-12-29 21:20:21 +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
d6ccdf9871 add new Bytearray:insert overloads 2024-12-22 02:27:00 +03:00
MihailRis
4ce2f3edca add new Bytearray:append overloads 2024-12-22 02:14:04 +03:00
MihailRis
4363883728 add 'on_breaking', 'on_block_breaking' events 2024-12-21 14:09:17 +03:00