diff options
author | Nipun Garg | 2019-07-05 00:06:28 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:11 +0200 |
commit | bcbe095ef8d172680318632c5d20ccf78b9c0e80 (patch) | |
tree | d1ea6c296573fcfead2b33dfe896a7a8a4005357 /engines | |
parent | d356756e6d2fd0802919987e120b4f55973e6a5d (diff) | |
download | scummvm-rg350-bcbe095ef8d172680318632c5d20ccf78b9c0e80.tar.gz scummvm-rg350-bcbe095ef8d172680318632c5d20ccf78b9c0e80.tar.bz2 scummvm-rg350-bcbe095ef8d172680318632c5d20ccf78b9c0e80.zip |
HDB: Commet out non-compiling code
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-bots.cpp | 6 | ||||
-rw-r--r-- | engines/hdb/ai-init.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/ai.h | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index 2ce54b1f18..f0b6f35aa2 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -1268,6 +1268,10 @@ 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; @@ -1356,6 +1360,8 @@ void aiDiverterDraw(AIEntity *e, int mx, int my) { } e->movedownFrames++; } +#endif + void aiMeerkatDraw(AIEntity *e, int mx, int my) { warning("STUB: AI: aiMeerkatDraw required"); diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index d6e2b3fb78..5e40823ab7 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -772,6 +772,7 @@ 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; @@ -784,6 +785,7 @@ bool AI::init() { // laser beam gfxLaserbeamUD[0] = gfxLaserbeamUD[1] = gfxLaserbeamLR[0] = gfxLaserbeamLR[1] = NULL; +#endif _dummyPlayer.type = AI_GUY; _dummyLaser.type = AI_LASERBEAM; @@ -847,6 +849,7 @@ void AI::restartSystem() { memset(_clubLeftGfx, NULL, kMaxAnimFrames * sizeof(Tile *)); memset(_clubRightGfx, NULL, kMaxAnimFrames * sizeof(Tile *)); +#if 0 int i; if (icepSnowballGfxDown) { icepSnowballGfxDown->free(); @@ -920,6 +923,7 @@ 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 908bd51a65..e7cfd08281 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -766,6 +766,7 @@ 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 @@ -786,6 +787,7 @@ extern Tile *gfxLaserbeamUDBottom[4]; extern Tile *gfxLaserbeamLR[4]; extern Tile *gfxLaserbeamLRLeft[4]; extern Tile *gfxLaserbeamLRRight[4]; +#endif class AI { public: |