aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-18 16:13:57 +0530
committerEugene Sandulenko2019-09-03 17:16:47 +0200
commit21af74993a09dc59ca647cb240e9882bffe2ff59 (patch)
tree6f9eb76c37055e5bba60cae9870a594848d228a2
parentdafe1b6a16ff9f187e983a4c61b1f23c60ae5cb7 (diff)
downloadscummvm-rg350-21af74993a09dc59ca647cb240e9882bffe2ff59.tar.gz
scummvm-rg350-21af74993a09dc59ca647cb240e9882bffe2ff59.tar.bz2
scummvm-rg350-21af74993a09dc59ca647cb240e9882bffe2ff59.zip
HDB: Fill out the cineStart stub in lua-script.cpp
-rw-r--r--engines/hdb/lua-script.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp
index 87a72d5eb9..f2d3956727 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -69,7 +69,15 @@ bool LuaScript::init() {
*/
static int cineStart(lua_State *L) {
- warning("STUB: START CINE");
+ double abortable = lua_tonumber(L, 1);
+ char *abortFunc = (char *) lua_tostring(L, 2);
+
+ g_hdb->_lua->checkParameters("cineStart", 2);
+
+ lua_pop(L, 2);
+
+ g_hdb->_ai->cineStart((bool)abortable, abortFunc);
+
return 0;
}