diff options
-rw-r--r-- | engines/wintermute/ad/ad_response_box.cpp | 5 | ||||
-rw-r--r-- | engines/wintermute/ad/ad_scene.cpp | 3 | ||||
-rw-r--r-- | engines/wintermute/wintermute.cpp | 1 | ||||
-rw-r--r-- | engines/wintermute/wintermute.h | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/engines/wintermute/ad/ad_response_box.cpp b/engines/wintermute/ad/ad_response_box.cpp index e321f1cd93..5f2a1dc825 100644 --- a/engines/wintermute/ad/ad_response_box.cpp +++ b/engines/wintermute/ad/ad_response_box.cpp @@ -42,6 +42,7 @@ #include "engines/wintermute/base/base_file_manager.h"
#include "engines/wintermute/utils/utils.h"
#include "engines/wintermute/platform_osystem.h"
+#include "engines/wintermute/wintermute.h"
#include "common/str.h"
namespace WinterMute {
@@ -610,7 +611,7 @@ bool AdResponseBox::weedResponses() { }
break;
default:
- warning("AdResponseBox::WeedResponses - Unhandled enum");
+ debugC(kWinterMuteDebugGeneral, "AdResponseBox::WeedResponses - Unhandled enum");
break;
}
}
@@ -640,7 +641,7 @@ bool AdResponseBox::handleResponse(AdResponse *response) { adGame->addGameResponse(response->_iD);
break;
default:
- warning("AdResponseBox::HandleResponse - Unhandled enum");
+ debugC(kWinterMuteDebugGeneral, "AdResponseBox::HandleResponse - Unhandled enum");
}
return STATUS_OK;
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp index b84c4c2dca..d99b6b7fb8 100644 --- a/engines/wintermute/ad/ad_scene.cpp +++ b/engines/wintermute/ad/ad_scene.cpp @@ -57,6 +57,7 @@ #include "engines/wintermute/base/scriptables/script.h"
#include "engines/wintermute/ui/ui_window.h"
#include "engines/wintermute/utils/utils.h"
+#include "engines/wintermute/wintermute.h"
#include <limits.h>
namespace WinterMute {
@@ -2936,7 +2937,7 @@ bool AdScene::getSceneObjects(BaseArray<AdObject *> &objects, bool interactiveOn }
break;
default:
- warning("AdScene::GetSceneObjects - Unhandled enum");
+ debugC(kWinterMuteDebugGeneral, "AdScene::GetSceneObjects - Unhandled enum");
break;
}
}
diff --git a/engines/wintermute/wintermute.cpp b/engines/wintermute/wintermute.cpp index e363c7bd54..186d80d446 100644 --- a/engines/wintermute/wintermute.cpp +++ b/engines/wintermute/wintermute.cpp @@ -67,6 +67,7 @@ WinterMuteEngine::WinterMuteEngine(OSystem *syst, const ADGameDescription *desc) DebugMan.addDebugChannel(kWinterMuteDebugFont, "font", "Text-drawing-related messages"); DebugMan.addDebugChannel(kWinterMuteDebugFileAccess, "file-access", "Non-critical problems like missing files"); DebugMan.addDebugChannel(kWinterMuteDebugAudio, "audio", "audio-playback-related issues"); + DebugMan.addDebugChannel(kWinterMuteDebugGeneral, "general", "various issues not covered by any of the above"); _game = NULL; } diff --git a/engines/wintermute/wintermute.h b/engines/wintermute/wintermute.h index a0292c17ec..8607c50e25 100644 --- a/engines/wintermute/wintermute.h +++ b/engines/wintermute/wintermute.h @@ -38,7 +38,8 @@ enum { kWinterMuteDebugSaveGame = 1 << 1, kWinterMuteDebugFont = 1 << 2, // next new channel must be 1 << 2 (4) kWinterMuteDebugFileAccess = 1 << 3, // the current limitation is 32 debug channels (1 << 31 is the last one) - kWinterMuteDebugAudio = 1 << 4 + kWinterMuteDebugAudio = 1 << 4, + kWinterMuteDebugGeneral = 1 << 5 }; class WinterMuteEngine : public Engine { |