diff options
author | Nipun Garg | 2019-06-18 16:17:53 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:47 +0200 |
commit | 6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb (patch) | |
tree | 8ff45bbf7a32696806cc9c798dcfd20adb6f7baf /engines | |
parent | 35b2c26032f5c7dfd02032f6bc53145d391c4aef (diff) | |
download | scummvm-rg350-6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb.tar.gz scummvm-rg350-6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb.tar.bz2 scummvm-rg350-6a7d3a05d5e870f289ab099fd20c50e3b4ad13bb.zip |
HDB: Complete stubs: cineWait + cineWaitUntilDone
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/lua-script.cpp | 9 |
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; } |