diff options
author | Nipun Garg | 2019-08-19 13:41:58 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:34 +0200 |
commit | 0ca9c2fbccab01e06f9fa637a50dfae8b34599b7 (patch) | |
tree | c89dfee9220d4cd02f0ddc4188a760fc326b049f /engines | |
parent | 1e25bf5fbe79e025a59fe6ad902c8c21546f524b (diff) | |
download | scummvm-rg350-0ca9c2fbccab01e06f9fa637a50dfae8b34599b7.tar.gz scummvm-rg350-0ca9c2fbccab01e06f9fa637a50dfae8b34599b7.tar.bz2 scummvm-rg350-0ca9c2fbccab01e06f9fa637a50dfae8b34599b7.zip |
HDB: Remove unnecessary warnings
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai-bots.cpp | 12 | ||||
-rw-r--r-- | engines/hdb/ai-cinematic.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/ai-lists.cpp | 1 | ||||
-rw-r--r-- | engines/hdb/ai-player.cpp | 3 |
5 files changed, 5 insertions, 17 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index 8e06e94b20..33a15c08dd 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -114,7 +114,6 @@ void aiOmniBotAction(AIEntity *e) { } break; case DIR_NONE: - warning("aiOmniBotAction: DIR_NONE found"); break; } @@ -450,7 +449,7 @@ void aiRightBotFindGoal(AIEntity *e) { case DIR_LEFT: e->dir = DIR_UP; break; case DIR_RIGHT: e->dir = DIR_DOWN; break; case DIR_NONE: - warning("aiRightBotFindGoal: DIR_NONE found"); + break; } } else if (!bg && !e1) { switch (e->dir) { @@ -459,7 +458,7 @@ void aiRightBotFindGoal(AIEntity *e) { case DIR_LEFT: e->dir = DIR_DOWN; break; case DIR_RIGHT: e->dir = DIR_UP; break; case DIR_NONE: - warning("aiRightBotFindGoal: DIR_NONE found"); + break; } } else { switch (e->dir) { @@ -484,7 +483,7 @@ void aiRightBotFindGoal(AIEntity *e) { xv = -1; break; case DIR_NONE: - warning("aiRightBotFindGoal: DIR_NONE found"); + break; } sx += xv; sy += yv; @@ -507,7 +506,6 @@ void aiRightBotFindGoal(AIEntity *e) { e->state = STATE_MOVERIGHT; break; case DIR_NONE: - warning("aiRightBotFindGoal: DIR_NONE found"); break; } @@ -692,7 +690,6 @@ void aiRailRiderAction(AIEntity *e) { case DIR_LEFT: e->xVel = -1; e->yVel = 0; break; case DIR_RIGHT: e->xVel = 1; e->yVel = 0; break; case DIR_NONE: - warning("aiRailRiderAction: DIR_NONE found"); break; } } @@ -824,7 +821,6 @@ void aiRailRiderOnAction(AIEntity *e) { g_hdb->_ai->setEntityGoal(p, e->tileX, e->tileY + 1); break; case DIR_NONE: - warning("aiRailRiderOnAction: DIR_NOW found"); break; } g_hdb->_ai->setPlayerInvisible(false); @@ -1135,7 +1131,6 @@ void aiFourFirerAction(AIEntity *e) { } break; case DIR_NONE: - warning("aiFourFirerAction: DIR_NONE found"); break; } @@ -1246,7 +1241,6 @@ void aiDeadEyeAction(AIEntity *e) { nuts = true; break; case DIR_NONE: - warning("aiDeadEyeAction: DIR_NONE found"); break; } diff --git a/engines/hdb/ai-cinematic.cpp b/engines/hdb/ai-cinematic.cpp index d2ce89a6cd..5678ad459b 100644 --- a/engines/hdb/ai-cinematic.cpp +++ b/engines/hdb/ai-cinematic.cpp @@ -281,7 +281,7 @@ void AI::processCines() { e->state = STATE_STANDRIGHT; break; default: - warning("AI-CINEMATIC: processCines: DIR_NONE"); + break; } } else warning("Can't find %s to ENTITYFACE", _cine[i]->title); diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 137df1c4e9..7b2f148796 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -1842,7 +1842,6 @@ void AI::animGrabbing() { _player->draw = _getGfx[DIR_RIGHT]; break; default: - warning("AI-FUNCS: animGrabbing: DIR_NONE found"); break; } @@ -1951,7 +1950,6 @@ bool AI::findPath(AIEntity *e) { xv = 1; break; case DIR_NONE: - warning("findPath: DIR_NONE found"); break; } @@ -2294,7 +2292,7 @@ void AI::lookAtXY(int x, int y) { _player->draw = _getGfx[DIR_RIGHT]; break; default: - warning("AI-FUNCS: lookAtXY: DIR_NONE"); + break; } } diff --git a/engines/hdb/ai-lists.cpp b/engines/hdb/ai-lists.cpp index 638d351fe0..fd6a0fd9c9 100644 --- a/engines/hdb/ai-lists.cpp +++ b/engines/hdb/ai-lists.cpp @@ -748,7 +748,6 @@ bool AI::checkTeleportList(AIEntity *e, int x, int y) { setEntityGoal(e, e->tileX + 1, e->tileY); break; case DIR_NONE: - warning("checkTeleporterList: DIR_NONE found"); break; } diff --git a/engines/hdb/ai-player.cpp b/engines/hdb/ai-player.cpp index b93133f506..46d9dfc74b 100644 --- a/engines/hdb/ai-player.cpp +++ b/engines/hdb/ai-player.cpp @@ -55,7 +55,6 @@ void aiPlayerInit(AIEntity *e) { e->state = STATE_STANDRIGHT; break; case DIR_NONE: - warning("AI-PLAYER: aiPlayerInit: DIR_NONE found"); break; } @@ -435,7 +434,6 @@ void aiPlayerDraw(AIEntity *e, int mx, int my) { g_hdb->_ai->_clubRightGfx[e->animFrame]->drawMasked(e->x + e->drawXOff - mx, e->y + e->drawYOff - my); break; default: - warning("AI-PLAYER: aiPlayerDraw: Unintended State"); break; } @@ -459,7 +457,6 @@ void aiPlayerDraw(AIEntity *e, int mx, int my) { g_hdb->_ai->_stunLightningGfx[frame]->drawMasked(e->x + 64 - mx, e->y - my); break; case DIR_NONE: - warning("AI-PLAYER: aiPlayerDraw: DIR_NONE found"); break; } |