diff options
author | Nipun Garg | 2019-07-06 02:03:43 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:13 +0200 |
commit | f6a3eac4972bd64c4e2c81c801a4924d892aeddd (patch) | |
tree | 13451b9592e3f6321c274c7a0950dfaf9225de9e /engines | |
parent | 373106f896908c32060c13c3e084b16a0033c61a (diff) | |
download | scummvm-rg350-f6a3eac4972bd64c4e2c81c801a4924d892aeddd.tar.gz scummvm-rg350-f6a3eac4972bd64c4e2c81c801a4924d892aeddd.tar.bz2 scummvm-rg350-f6a3eac4972bd64c4e2c81c801a4924d892aeddd.zip |
HDB: Add cineStartMap() Lua function
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/lua-script.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 49915d66cb..0c713ec036 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -173,7 +173,14 @@ static int cineFadeOutWhite(lua_State *L) { } static int cineStartMap(lua_State *L) { - warning("STUB: CINE START MAP"); + const char *mapName = lua_tostring(L, 1); + + g_hdb->_lua->checkParameters("cineStartMap", 1); + + lua_pop(L, 1); + + g_hdb->_ai->cineStartMap(mapName); + return 0; } |