diff options
author | Nipun Garg | 2019-07-05 02:37:18 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:11 +0200 |
commit | 0751cedb08e9c357bfa6f696fa749ebc303b7cfa (patch) | |
tree | 67a13c10d12794a26fbed90010a31e613b94a16d | |
parent | 60eb04f83341f6f45ed8b17b72c8ab1fe650bf6c (diff) | |
download | scummvm-rg350-0751cedb08e9c357bfa6f696fa749ebc303b7cfa.tar.gz scummvm-rg350-0751cedb08e9c357bfa6f696fa749ebc303b7cfa.tar.bz2 scummvm-rg350-0751cedb08e9c357bfa6f696fa749ebc303b7cfa.zip |
HDB: Remove '#if 0' conditionals
-rw-r--r-- | engines/hdb/ai-bots.cpp | 5 | ||||
-rw-r--r-- | engines/hdb/ai-init.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/ai.h | 2 |
3 files changed, 0 insertions, 11 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index 32d4587265..689c7af68f 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -1280,10 +1280,6 @@ void aiDiverterAction(AIEntity *e) { } void aiDiverterDraw(AIEntity *e, int mx, int my) { -} - -#if 0 -void aiDiverterDraw(AIEntity *e, int mx, int my) { int i; if (!e->value1 && !e->value2) return; @@ -1372,7 +1368,6 @@ void aiDiverterDraw(AIEntity *e, int mx, int my) { } e->movedownFrames++; } -#endif void aiMeerkatInit(AIEntity *e) { e->state = STATE_NONE; diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index 5e40823ab7..d6e2b3fb78 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -772,7 +772,6 @@ bool AI::init() { _kcHolderBlackOff = g_hdb->_gfx->getTileIndex("anim_t32_kcholder_black_off1"); _kcHolderBlackOn = g_hdb->_gfx->getTileIndex("t32_kcholder_black_on"); -#if 0 // icepuff snowball icepSnowballGfxDown = icepSnowballGfxLeft = icepSnowballGfxRight = NULL; @@ -785,7 +784,6 @@ bool AI::init() { // laser beam gfxLaserbeamUD[0] = gfxLaserbeamUD[1] = gfxLaserbeamLR[0] = gfxLaserbeamLR[1] = NULL; -#endif _dummyPlayer.type = AI_GUY; _dummyLaser.type = AI_LASERBEAM; @@ -849,7 +847,6 @@ void AI::restartSystem() { memset(_clubLeftGfx, NULL, kMaxAnimFrames * sizeof(Tile *)); memset(_clubRightGfx, NULL, kMaxAnimFrames * sizeof(Tile *)); -#if 0 int i; if (icepSnowballGfxDown) { icepSnowballGfxDown->free(); @@ -923,7 +920,6 @@ void AI::restartSystem() { gfxLaserbeamLRRight[i] = NULL; } } -#endif // Clear the Action list memset(_actions, 0, sizeof(_actions)); diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index f7d42e6089..05a5a2d903 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -774,7 +774,6 @@ struct CineBlit { } #define spawnBlocking(x, y, level) g_hdb->_ai->spawn(AI_NONE, DIR_NONE, x, y, NULL, NULL, NULL, DIR_NONE, level, 0, 0, 0) -#if 0 extern Picture *icepSnowballGfxDown; // ICEPUFF's snowball moving down extern Picture *icepSnowballGfxLeft; // ICEPUFF's snowball moving left extern Picture *icepSnowballGfxRight; // ICEPUFF's snowball moving right @@ -795,7 +794,6 @@ extern Tile *gfxLaserbeamUDBottom[4]; extern Tile *gfxLaserbeamLR[4]; extern Tile *gfxLaserbeamLRLeft[4]; extern Tile *gfxLaserbeamLRRight[4]; -#endif class AI { public: |