198 Commits

Author SHA1 Message Date
MihailRis
5626163f17 fix: wrong environment used in modules imported by require(...) 2025-10-06 19:06:15 +03:00
MihailRis
b863d47d7f add 'on_block_tick' event 2025-09-14 23:57:45 +03:00
MihailRis
ca1b761c8c Merge branch 'dev' into pathfinding 2025-08-19 19:47:10 +03:00
MihailRis
c8d760e83e update project script methods, replace project script with project client script 2025-08-18 21:20:18 +03:00
MihailRis
53ce219127 add 'is_new' argument to on_world_open 2025-08-15 23:48:04 +03:00
MihailRis
5583734bc2 refactor 2025-08-09 22:43:06 +03:00
MihailRis
3eae377024 refactor Entities 2025-08-09 21:19:01 +03:00
MihailRis
bfbfe59f9b add gui.root & add 'app' library to project scripts 2025-08-08 21:36:53 +03:00
MihailRis
0a02d3fbec add on_screen_change project script event & fix UIDocument::rebuildIndices & move menu background to project script 2025-08-07 22:14:52 +03:00
MihailRis
f6be6689aa feat: passing args to component in entity definition 2025-08-06 23:34:00 +03:00
MihailRis
9e8acac783 minor refactor 2025-08-01 22:00:29 +03:00
MihailRis
b28aa71845 add Schedule class & add time.schedule.world schedule group 2025-08-01 21:36:54 +03:00
MihailRis
1bd3463488 fix "cannot resume dead coroutine" for servers 2025-07-26 17:08:45 +03:00
MihailRis
8e8cabf2d1 add data argument to container:add(...) 2025-04-24 22:42:15 +03:00
MihailRis
61af8ba943 fix incomplete content reset 2025-04-19 22:17:58 +03:00
MihailRis
9e28b783fd make BlockMaterial serializable 2025-04-13 20:52:03 +03:00
MihailRis
e442402e43 refactor Engine 2025-04-02 15:01:24 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
MihailRis
bbe5688a53 fix entities.spawn in coroutines 2025-03-27 08:50:42 +03:00
MihailRis
6fb14ee0a4 feat: reloading hud scripts 2025-03-15 21:12:19 +03:00
MihailRis
f9998f0a93 feat: world script reloading 2025-03-14 17:07:10 +03:00
MihailRis
1bb25e99c6 add core.capture_output 2025-03-13 22:05:14 +03:00
MihailRis
e48216da40 experimental optimize canvas:set_data using ffi 2025-03-08 18:04:10 +03:00
MihailRis
e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
b12982655d fix gui.alert 2025-01-21 09:39:06 +03:00
MihailRis
f2101f6504 add entity:set_enabled(...) 2025-01-21 05:31:07 +03:00
MihailRis
80128a4190 add on_inventory_open and on_inventory_closed events 2025-01-12 17:14:01 +03:00
MihailRis
22c7cb8398 add on_chunk_present and on_chunk_remove events 2025-01-12 05:41:42 +03:00
MihailRis
dbf366eca3 fixes 2025-01-07 23:49:09 +03:00
MihailRis
45807fdcb1 fix on_block_common 2024-12-29 21:20:21 +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
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
d745a34657 refactor 2024-12-18 04:13:33 +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
5e8805f241 add vctest (WIP) 2024-12-07 15:49:23 +03:00
MihailRis
d1f92c21d0 fix on_block_interact & fix segfault after engine finished 2024-12-07 02:10:36 +03:00
MihailRis
32ba027fac replace getContentPacks with getAllContentPacks in global events emitting 2024-11-27 12:12:20 +03:00
MihailRis
3933baccd2 remove double world.lua run in 'core' 2024-11-27 10:55:55 +03:00
MihailRis
b3ac1bd8f4 update base:drop component 2024-11-26 11:01:29 +03:00
MihailRis
f095edda7a Merge branch 'main' into user-properties 2024-11-24 12:58:09 +03:00
MihailRis
1a00a91b60 fix: commands repository not reset before world open 2024-11-24 12:54:05 +03:00
MihailRis
f2e7a54180 add on_replaced block event and on_block_replaced world event 2024-11-22 12:31:45 +03:00
MihailRis
cd630463b3 add block.properties, item.properties (experimental) 2024-11-22 11:08:36 +03:00
MihailRis
8543be87df add block.materials table 2024-11-22 09:36:48 +03:00
MihailRis
a641099d36 feat: load block and item scripts after content load 2024-11-22 08:56:59 +03:00
MihailRis
61b1aa8e3d add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00