aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-player.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/ai-player.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/ai-player.cpp')
-rw-r--r--engines/hdb/ai-player.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp
index 100f186fef..6c8ff006b7 100644
--- a/engines/hdb/ai-player.cpp
+++ b/engines/hdb/ai-player.cpp
@@ -106,22 +106,22 @@ void aiPlayerInit2(AIEntity *e) {
g_hdb->_ai->_slugAttackGfx[3]->load(g_hdb->_fileMan->findFirstData("slug_shot4", TYPE_PIC));
int32 size = g_hdb->_fileMan->getLength("shock_spark_sit01", TYPE_TILE32);
- g_hdb->_ai->_stunLightningGfx[0] = g_hdb->_drawMan->getTileGfx("shock_spark_sit01", size);
+ g_hdb->_ai->_stunLightningGfx[0] = g_hdb->_gfx->getTileGfx("shock_spark_sit01", size);
size = g_hdb->_fileMan->getLength("shock_spark_sit02", TYPE_TILE32);
- g_hdb->_ai->_stunLightningGfx[1] = g_hdb->_drawMan->getTileGfx("shock_spark_sit02", size);
+ g_hdb->_ai->_stunLightningGfx[1] = g_hdb->_gfx->getTileGfx("shock_spark_sit02", size);
size = g_hdb->_fileMan->getLength("shock_spark_sit03", TYPE_TILE32);
- g_hdb->_ai->_stunLightningGfx[2] = g_hdb->_drawMan->getTileGfx("shock_spark_sit03", size);
+ g_hdb->_ai->_stunLightningGfx[2] = g_hdb->_gfx->getTileGfx("shock_spark_sit03", size);
size = g_hdb->_fileMan->getLength("shock_spark_sit04", TYPE_TILE32);
- g_hdb->_ai->_stunLightningGfx[3] = g_hdb->_drawMan->getTileGfx("shock_spark_sit04", size);
+ g_hdb->_ai->_stunLightningGfx[3] = g_hdb->_gfx->getTileGfx("shock_spark_sit04", size);
size = g_hdb->_fileMan->getLength("starstun_sit01", TYPE_TILE32);
- g_hdb->_ai->_stunnedGfx[0] = g_hdb->_drawMan->getTileGfx("starstun_sit01", size);
+ g_hdb->_ai->_stunnedGfx[0] = g_hdb->_gfx->getTileGfx("starstun_sit01", size);
size = g_hdb->_fileMan->getLength("starstun_sit02", TYPE_TILE32);
- g_hdb->_ai->_stunnedGfx[1] = g_hdb->_drawMan->getTileGfx("starstun_sit02", size);
+ g_hdb->_ai->_stunnedGfx[1] = g_hdb->_gfx->getTileGfx("starstun_sit02", size);
size = g_hdb->_fileMan->getLength("starstun_sit03", TYPE_TILE32);
- g_hdb->_ai->_stunnedGfx[2] = g_hdb->_drawMan->getTileGfx("starstun_sit03", size);
+ g_hdb->_ai->_stunnedGfx[2] = g_hdb->_gfx->getTileGfx("starstun_sit03", size);
size = g_hdb->_fileMan->getLength("starstun_sit04", TYPE_TILE32);
- g_hdb->_ai->_stunnedGfx[3] = g_hdb->_drawMan->getTileGfx("starstun_sit04", size);
+ g_hdb->_ai->_stunnedGfx[3] = g_hdb->_gfx->getTileGfx("starstun_sit04", size);
}
e->draw = g_hdb->_ai->getStandFrameDir(e);
@@ -409,8 +409,8 @@ void aiPlayerAction(AIEntity *e) {
g_hdb->_ai->animateEntity(e);
} else {
// Sometimes the fading stays black
- if (!g_hdb->_ai->cinematicsActive() && g_hdb->_drawMan->isFadeStaying())
- g_hdb->_drawMan->turnOffFade();
+ if (!g_hdb->_ai->cinematicsActive() && g_hdb->_gfx->isFadeStaying())
+ g_hdb->_gfx->turnOffFade();
// Did we just fall down a PLUMMET?
bgFlags = g_hdb->_map->getMapBGTileFlags(e->tileX, e->tileY);