diff options
author | Eugene Sandulenko | 2019-07-02 00:48:38 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:07 +0200 |
commit | 362cb060f3a70bf21218c17c148a84abbd685989 (patch) | |
tree | cca194fad462b0624a997e1ac1bd529a3a89a3ff /engines/hdb/lua-script.cpp | |
parent | e31e9dbae17ab707fd50b7a29bdbdf0889fe1811 (diff) | |
download | scummvm-rg350-362cb060f3a70bf21218c17c148a84abbd685989.tar.gz scummvm-rg350-362cb060f3a70bf21218c17c148a84abbd685989.tar.bz2 scummvm-rg350-362cb060f3a70bf21218c17c148a84abbd685989.zip |
HDB: Rename _drawMan -> _gfx
Diffstat (limited to 'engines/hdb/lua-script.cpp')
-rw-r--r-- | engines/hdb/lua-script.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/hdb/lua-script.cpp b/engines/hdb/lua-script.cpp index 94fcf9e1ba..4b1086805a 100644 --- a/engines/hdb/lua-script.cpp +++ b/engines/hdb/lua-script.cpp @@ -361,8 +361,8 @@ static int cineSetForeground(lua_State *L) { g_hdb->_lua->checkParameters("cineSetForeground", 3); lua_pop(L, 3); - int index = g_hdb->_drawMan->getTileIndex(tileName); - g_hdb->_drawMan->getTile(index); + int index = g_hdb->_gfx->getTileIndex(tileName); + g_hdb->_gfx->getTile(index); g_hdb->_ai->cineSetForeground((int)x, (int)y, index); return 0; } @@ -375,8 +375,8 @@ static int cineSetBackground(lua_State *L) { g_hdb->_lua->checkParameters("cineSetBackground", 3); lua_pop(L, 3); - int index = g_hdb->_drawMan->getTileIndex(tileName); - g_hdb->_drawMan->getTile(index); + int index = g_hdb->_gfx->getTileIndex(tileName); + g_hdb->_gfx->getTile(index); g_hdb->_ai->cineSetBackground((int)x, (int)y, index); return 0; } @@ -613,8 +613,8 @@ static int setForeground(lua_State *L) { g_hdb->_lua->checkParameters("setForeground", 3); lua_pop(L, 3); - int index = g_hdb->_drawMan->getTileIndex(tileName); - g_hdb->_drawMan->getTile(index); + int index = g_hdb->_gfx->getTileIndex(tileName); + g_hdb->_gfx->getTile(index); g_hdb->_map->setMapFGTileIndex((int)x, (int)y, index); g_hdb->_map->addFGTileAnimation((int)x, (int)y); return 0; @@ -628,8 +628,8 @@ static int setBackground(lua_State *L) { g_hdb->_lua->checkParameters("setBackground", 3); lua_pop(L, 3); - int index = g_hdb->_drawMan->getTileIndex(tileName); - g_hdb->_drawMan->getTile(index); + int index = g_hdb->_gfx->getTileIndex(tileName); + g_hdb->_gfx->getTile(index); g_hdb->_map->setMapBGTileIndex((int)x, (int)y, index); g_hdb->_map->addBGTileAnimation((int)x, (int)y); return 0; @@ -986,7 +986,7 @@ static int setPointerState(lua_State *L) { lua_pop(L, 1); - g_hdb->_drawMan->setPointerState((int)value); + g_hdb->_gfx->setPointerState((int)value); return 0; } |