aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/lua-script.cpp
AgeCommit message (Collapse)Author
2019-09-03HDB: Add executeFile to LuaScriptNipun Garg
It executes additional files in the current Lua environment
2019-09-03HDB: Refer to the Lua error handlerEugene Sandulenko
2019-09-03HDB: Added more debugging facilitiesEugene Sandulenko
2019-09-03HDB: Move debugging facilities earlier in the codeEugene Sandulenko
2019-09-03HDB: Fix warningsEugene Sandulenko
2019-09-03JANITORIAL: Whitespace fixesEugene Sandulenko
2019-09-03HDB: Added quick & dirty Lua tracingEugene Sandulenko
2019-09-03HDB: Add init() to load the GLOBAL_LUA codeNipun Garg
2019-09-03HDB: Remove the char *name arg from initScriptNipun Garg
2019-09-03HDB: Load GLOBAL_LUA in initScriptNipun Garg
2019-09-03HDB: Modify stripComments to sanitizeScriptNipun Garg
Lua 5.0 introduced new syntax for upvalues so the old code needs to be preprocessed first.
2019-09-03HDB: Add stubs for the Lua extensionsNipun Garg
2019-09-03HDB: Change comments from /**/ to #if 0 ... #endifNipun Garg
2019-09-03HDB: Add *g_hdb to access the subsystemsNipun Garg
2019-09-03HDB: Add stripComments() to strip C-style commentsNipun Garg
There are a few C-style comments present in the Lua files
2019-09-03HDB: Add LuaScript::initScriptNipun Garg
It creates a new Lua environment whenever a new Lua script is loaded
2019-09-03HDB: Add _systemInit check to LuaScriptNipun Garg
2019-09-03HDB: Add the LuaScript class to integrate LuaNipun Garg
It creates lua_State (s), initializes them and executes Lua files in them