diff options
author | Nipun Garg | 2019-06-18 16:13:57 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:47 +0200 |
commit | 21af74993a09dc59ca647cb240e9882bffe2ff59 (patch) | |
tree | 6f9eb76c37055e5bba60cae9870a594848d228a2 | |
parent | dafe1b6a16ff9f187e983a4c61b1f23c60ae5cb7 (diff) | |
download | scummvm-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.cpp | 10 |
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; } |