145 Commits

Author SHA1 Message Date
MihailRis
c9257ec127 add block.place(...), block.destruct(...) 2024-07-18 08:41:16 +03:00
MihailRis
1b99a48849 update entities.spawn(...) semantics to the docs state 2024-07-17 10:17:20 +03:00
MihailRis
50050dbe40 add entity events: on_attacked, on_used 2024-07-16 14:04:05 +03:00
MihailRis
a36ffaacd9 add entity events: on_aim_on, on_aim_off 2024-07-16 13:42:58 +03:00
MihailRis
54902d7f49 refactor entities events 2024-07-16 13:27:39 +03:00
MihailRis
ea765ffc0c add new world events: on_block_broken, on_block_placed 2024-07-14 01:37:11 +03:00
MihailRis
ca8652ffab add packs resources (WIP) 2024-07-11 10:32:05 +03:00
MihailRis
8edf9440a3 reduce redundancy 2024-07-10 06:51:14 +03:00
MihailRis
c94c2697e7 rename Trigger to Sensor 2024-07-09 07:37:20 +03:00
MihailRis
3cd0261f3b refactor and cleanup player controller 2024-07-08 19:43:13 +03:00
MihailRis
487ba84517 implement player entity 2024-07-08 18:45:35 +03:00
MihailRis
0d230f2449 add entity 'on_render' event 2024-07-07 22:59:15 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
08cc78289d add entity on_save event and SAVED_DATA variable 2024-07-05 18:35:46 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
8f379f2ee7 feat: multiple components per entity support 2024-07-04 19:47:52 +03:00
MihailRis
0082a3444e update component parent environment to the pack environment 2024-07-02 20:01:29 +03:00
MihailRis
1b41a75cf4 add component ARGS variable 2024-07-01 00:17:58 +03:00
MihailRis
5769be8ec8 add triggers 2024-06-30 16:25:08 +03:00
MihailRis
50c714692a add entity event: on_fall 2024-06-30 00:32:02 +03:00
MihailRis
e08bfd071b fix lua stack leak 2024-06-29 22:39:41 +03:00
MihailRis
982c8b132d add on_update event 2024-06-29 22:19:42 +03:00
MihailRis
bb1c0b4b44 fix msvc build 2024-06-29 21:21:41 +03:00
MihailRis
f42cd9e567 fix entity removal 2024-06-29 21:20:12 +03:00
MihailRis
d22948f45c update entity.spawn(...): now returns an Entity instead of id 2024-06-29 21:10:23 +03:00
MihailRis
fc3994446a update entity script semantics 2024-06-29 21:01:30 +03:00
MihailRis
c54be7b2b1 add standard components test 2024-06-28 18:57:40 +03:00
MihailRis
e0e5faa4a8 add entity event: on_grounded 2024-06-28 12:47:45 +03:00
MihailRis
eb2be5e8b6 add entity events: on_spawn, on_despawn 2024-06-28 12:16:31 +03:00
MihailRis
99094d2299 reduce redundancy in scripting.cpp 2024-06-19 16:51:42 +03:00
MihailRis
fe55b94ebd fix: lua setInterval stack overflow 2024-06-12 19:39:31 +03:00
MihailRis
913e5983b1 refactor: complete 'lua' namespace use 2024-06-11 13:51:11 +03:00
MihailRis
90bc86408b refactor: LuaState replaced with lua_engine 2024-06-11 13:18:30 +03:00
MihailRis
0647bc6f90 refactor: 'lua' namespace expansion 2024-06-11 03:37:35 +03:00
MihailRis
7973a9c32b fix: lua coroutines support 2024-06-11 01:52:28 +03:00
MihailRis
4e696520b6 refactor: PlayerController 2024-06-09 16:30:01 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
abf8d4f796 standard command moved to stdcmd.lua 2024-05-16 18:09:00 +03:00
MihailRis
a4c21984d5 dynamic::Value simplified 2024-05-07 18:39:12 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
9ea67deb13 'ifnot' template property + hpp 2024-05-06 00:45:43 +03:00
MihailRis
f02edcf15a scripting.h fix + input library 2024-05-05 00:28:30 +03:00
MihailRis
051f0b8c6a rename 2024-04-23 18:43:02 +03:00
MihailRis
f8f6ffc0c5 process page test 2024-04-23 04:51:00 +03:00
MihailRis
132016d33f missing content report moved to xml 2024-04-22 22:17:06 +03:00
MihailRis
7415726e47 fixes 2024-04-22 19:34:24 +03:00
MihailRis
635e512142 scriptenv? 2024-04-21 15:41:47 +03:00
MihailRis
c8ca56fb8e minor refactor 2024-04-10 19:55:03 +03:00
MihailRis
0c411cf227 debug::Logger 2024-04-04 18:19:19 +03:00