aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-18 16:17:53 +0530
committerEugene Sandulenko2019-09-03 17:16:47 +0200
commit6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb (patch)
tree8ff45bbf7a32696806cc9c798dcfd20adb6f7baf
parent35b2c26032f5c7dfd02032f6bc53145d391c4aef (diff)
downloadscummvm-rg350-6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb.tar.gz
scummvm-rg350-6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb.tar.bz2
scummvm-rg350-6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb.zip
HDB: Complete stubs: cineWait + cineWaitUntilDone
-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 3bfc30d7c8..f6b80519a3 100644
--- a/engines/hdb/lua-script.cpp
+++ b/engines/hdb/lua-script.cpp
@@ -153,12 +153,17 @@ static int cineMoveCamera(lua_State *L) {
}
static int cineWait(lua_State *L) {
- warning("STUB: CINE WAIT");
+ double seconds = lua_tonumber(L, 1);
+
+ g_hdb->_lua->checkParameters("cineWait", 1);
+
+ lua_pop(L, 1);
+ g_hdb->_ai->cineWait((int) seconds);
return 0;
}
static int cineWaitUntilDone(lua_State *L) {
- warning("STUB: CINE WAIT UNTIL DONE");
+ g_hdb->_ai->cineWaitUntilDone();
return 0;
}