aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/lua-script.h
diff options
context:
space:
mode:
authorNipun Garg2019-07-10 20:15:08 +0530
committerEugene Sandulenko2019-09-03 17:17:16 +0200
commita8b4749c7eb8ab9471fecc7ab0e7aa20470c1e30 (patch)
treef503e4305c6072cd7818241d4dd9e28285e90b0c /engines/hdb/lua-script.h
parent38bdb36b239fbeb7e6e38adeacd83c8cfb7caa9b (diff)
downloadscummvm-rg350-a8b4749c7eb8ab9471fecc7ab0e7aa20470c1e30.tar.gz
scummvm-rg350-a8b4749c7eb8ab9471fecc7ab0e7aa20470c1e30.tar.bz2
scummvm-rg350-a8b4749c7eb8ab9471fecc7ab0e7aa20470c1e30.zip
HDB: Add Input::assignKey(), LuaScript::isValid()
Diffstat (limited to 'engines/hdb/lua-script.h')
-rw-r--r--engines/hdb/lua-script.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/lua-script.h b/engines/hdb/lua-script.h
index ff061afbc5..5124ac2638 100644
--- a/engines/hdb/lua-script.h
+++ b/engines/hdb/lua-script.h
@@ -80,6 +80,9 @@ public:
const char *getStringOffStack();
void setLuaGlobalValue(const char *name, int value);
+ bool isValid() {
+ return _systemInit;
+ }
private:
lua_State *_state;