Skip to content

Commit

Permalink
LASTEXPRESS: Switch some warnings to debug console output
Browse files Browse the repository at this point in the history
  • Loading branch information
Templier committed Jul 27, 2012
1 parent 8545991 commit 552e8d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion engines/lastexpress/data/animation.cpp
Expand Up @@ -248,7 +248,7 @@ void Animation::processChunkAudio(Common::SeekableReadStream *in, const Chunk &c
// Read Snd header
uint32 header1 = in->readUint32LE();
uint16 header2 = in->readUint16LE();
warning("Start ADPCM: %d, %d", header1, header2);
debugC(4, kLastExpressDebugSound, "Start ADPCM: %d, %d", header1, header2);
size -= 6;
}

Expand Down
10 changes: 5 additions & 5 deletions engines/lastexpress/game/action.cpp
Expand Up @@ -1739,14 +1739,14 @@ CursorStyle Action::getCursor(const SceneHotspot &hotspot) const {
return kCursorBackward;

case SceneHotspot::kActionKnockOnDoor:
warning("================================= DOOR %03d =================================", object);
debugC(2, kLastExpressDebugScenes, "================================= DOOR %03d =================================", object);
if (object >= kObjectMax)
return kCursorNormal;
else
return (CursorStyle)getObjects()->get(object).cursor;

case SceneHotspot::kAction12:
warning("================================= OBJECT %03d =================================", object);
debugC(2, kLastExpressDebugScenes, "================================= OBJECT %03d =================================", object);
if (object >= kObjectMax)
return kCursorNormal;

Expand All @@ -1756,7 +1756,7 @@ CursorStyle Action::getCursor(const SceneHotspot &hotspot) const {
return kCursorNormal;

case SceneHotspot::kActionPickItem:
warning("================================= ITEM %03d =================================", object);
debugC(2, kLastExpressDebugScenes, "================================= ITEM %03d =================================", object);
if (object >= kObjectCompartmentA)
return kCursorNormal;

Expand All @@ -1767,7 +1767,7 @@ CursorStyle Action::getCursor(const SceneHotspot &hotspot) const {
return kCursorNormal;

case SceneHotspot::kActionDropItem:
warning("================================= ITEM %03d =================================", object);
debugC(2, kLastExpressDebugScenes, "================================= ITEM %03d =================================", object);
if (object >= kObjectCompartmentA)
return kCursorNormal;

Expand Down Expand Up @@ -1884,7 +1884,7 @@ CursorStyle Action::getCursor(const SceneHotspot &hotspot) const {
// Handle compartment action
case SceneHotspot::kActionCompartment:
case SceneHotspot::kActionExitCompartment:
warning("================================= DOOR %03d =================================", object);
debugC(2, kLastExpressDebugScenes, "================================= DOOR %03d =================================", object);
if (object >= kObjectMax)
return kCursorNormal;

Expand Down

0 comments on commit 552e8d4

Please sign in to comment.