1002 Commits

Author SHA1 Message Date
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
30a8ddf2d3 fix app.* functions & update 'world' test 2025-01-01 18:25:30 +03:00
MihailRis
17dcbe98ab fix clang-check warnings 2025-01-01 16:06:44 +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
b4abecc764 refactor 2024-12-24 11:31:54 +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
6a8afe2795 fix 2024-12-23 14:01:35 +03:00
MihailRis
3d33de502d move 'player.noclip' and 'player.flight' handlers to Lua 2024-12-23 13:51:12 +03:00
MihailRis
9164edf971 move 'player.pick' binding handler to Lua 2024-12-23 12:37:26 +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
MihailRis
c3f22c6854 rename 2024-12-21 13:11:23 +03:00
MihailRis
17161e5981 fix: on_player_tick not called 2024-12-21 12:55:47 +03:00
MihailRis
008e11b4b7 fix ServerMainloop timer 2024-12-19 02:29:41 +03:00
MihailRis
8a4f1e16f3 refactor PlayerController 2024-12-19 00:38:41 +03:00
MihailRis
1cd85b6f77 implement player ticks in headless mode & prevent on_player_tick call if player chunk does not exists 2024-12-18 23:31:26 +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
fa1646a9bd add '--script', '--version' command line arguments 2024-12-18 00:48:29 +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