aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-27 00:27:23 +0200
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commit3f01af23cfad61bfe142c2b1b490d6d1ccd9895b (patch)
tree0eb72a8b594ef5c2f9e749d6a3b9806912305ba8 /engines/hdb
parent8d4168ca58d99ff99a2080641910d53cdfbd1ab8 (diff)
downloadscummvm-rg350-3f01af23cfad61bfe142c2b1b490d6d1ccd9895b.tar.gz
scummvm-rg350-3f01af23cfad61bfe142c2b1b490d6d1ccd9895b.tar.bz2
scummvm-rg350-3f01af23cfad61bfe142c2b1b490d6d1ccd9895b.zip
HDB: Added several Lua global values
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/lua-script.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 780b55a9b4..cbed8b5259 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -701,9 +701,14 @@ struct VarInit {
// For AI States, to be implemented
struct NumberInit {
int value;
- char *luaName;
+ const char *luaName;
} luaGlobalValues[] = {
- {NULL, NULL}
+ { DIR_NONE, "DIR_NONE" },
+ { DIR_DOWN, "DIR_DOWN" },
+ { DIR_UP, "DIR_UP" },
+ { DIR_LEFT, "DIR_LEFT" },
+ { DIR_RIGHT, "DIR_RIGHT" },
+ { NULL, NULL }
};
struct FuncInit {