124 Commits

Author SHA1 Message Date
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
MihailRis
e57b0eca15 uinode:add method fix + gui.reindex(document_name) 2024-04-03 18:59:58 +03:00
MihailRis
15b11d52ad fix 2024-03-22 19:45:12 +03:00
MihailRis
9df82ec0de minor refactor 2024-03-22 19:40:47 +03:00
MihailRis
c7bc4bb463 post-runnables 2024-03-21 01:40:07 +03:00
MihailRis
f2c26aed19 double event handlers calls fix 2024-03-19 13:22:35 +03:00
MihailRis
ce687a67a3 world.lua: on_world_tick event 2024-03-15 00:38:44 +03:00
InfiniteCoder
fcb420c4c7 Event queue 2024-03-07 22:33:08 +03:00
MihailRis
b947a089d3 fix 2024-03-05 23:35:09 +03:00
MihailRis
c6b06f04d8 items: on_use event 2024-03-05 22:21:24 +03:00
InfiniteCoder
0157213a56 One step closer to multiplayer 2024-03-02 22:59:31 +03:00
MihailRis
fcb396344c auto lua modules removal on quit 2024-02-21 11:20:53 +03:00
MihailRis
60902e69ba block coords passing to on_open 2024-02-19 03:43:01 +03:00
MihailRis
dabf42162c added hud.lua script 2024-02-18 12:45:37 +03:00
MihailRis
af7c828d73 block ui test 2024-02-16 14:45:46 +03:00
MihailRis
11bb9e5926 misc hud-related updates 2024-02-15 14:43:03 +03:00
MihailRis
98a6c825b1 warning fix 2024-02-14 01:23:14 +03:00
MihailRis
c6bd52eed2 gui: more xml and lua support 2024-02-14 00:31:45 +03:00
MihailRis
ef0d4d69e4 auto document variable in ui-document lua script 2024-02-13 20:54:33 +03:00
MihailRis
05589b721e lua: gui library (WIP) 2024-02-13 18:16:18 +03:00
MihailRis
302b649634 ui scripting related fixes 2024-02-13 14:36:10 +03:00
MihailRis
2de5f5c646 ui callbacks update 2024-02-12 19:59:58 +03:00