aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/ai-bots.cpp5
-rw-r--r--engines/hdb/ai-init.cpp4
-rw-r--r--engines/hdb/ai.h2
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: