Commit Graph
7 Commits
Author SHA1 Message Date
Nipun Garg b8a4fa2902 HDB: Add stubs for the Lua extensions 2019-09-03 17:16:43 +02:00
Nipun Garg bcd4de2c7e HDB: Change comments from /**/ to #if 0 ... #endif 2019-09-03 17:16:43 +02:00
Nipun Garg 79ebe8927e HDB: Add *g_hdb to access the subsystems 2019-09-03 17:16:42 +02:00
Nipun Garg 4b8f7f339e HDB: Add stripComments() to strip C-style comments
There are a few C-style comments present in the
Lua files
2019-09-03 17:16:42 +02:00
Nipun Garg bc638cf251 HDB: Add LuaScript::initScript
It creates a new Lua environment whenever a new
Lua script is loaded
2019-09-03 17:16:42 +02:00
Nipun Garg 0ad5f7e180 HDB: Add _systemInit check to LuaScript 2019-09-03 17:16:42 +02:00
Nipun Garg f88b1d0d6a HDB: Add the LuaScript class to integrate Lua
It creates lua_State (s), initializes them and
executes Lua files in them
2019-09-03 17:16:42 +02:00