aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/lua-script.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-02 00:48:38 +0200
committerEugene Sandulenko2019-09-03 17:17:07 +0200
commit362cb060f3a70bf21218c17c148a84abbd685989 (patch)
treecca194fad462b0624a997e1ac1bd529a3a89a3ff /engines/hdb/lua-script.cpp
parente31e9dbae17ab707fd50b7a29bdbdf0889fe1811 (diff)
downloadscummvm-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.cpp18
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;
}