aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/input
diff options
context:
space:
mode:
authorFilippos Karapetis2011-01-23 14:49:50 +0000
committerFilippos Karapetis2011-01-23 14:49:50 +0000
commit00a0f8d15df8f241741e4a9a68a71641715ae062 (patch)
treed40be8437f7ca54dab9c77145bf72550bc5a3150 /engines/sword25/input
parent411d41d3d0a3e4d14187d4a980c25c0a2e41ad9c (diff)
downloadscummvm-rg350-00a0f8d15df8f241741e4a9a68a71641715ae062.tar.gz
scummvm-rg350-00a0f8d15df8f241741e4a9a68a71641715ae062.tar.bz2
scummvm-rg350-00a0f8d15df8f241741e4a9a68a71641715ae062.zip
SWORD25: Removed the custom log class and replaced it with warning/error/debugC calls
svn-id: r55462
Diffstat (limited to 'engines/sword25/input')
-rw-r--r--engines/sword25/input/inputengine.cpp8
-rw-r--r--engines/sword25/input/inputengine_script.cpp2
2 files changed, 4 insertions, 6 deletions
diff --git a/engines/sword25/input/inputengine.cpp b/engines/sword25/input/inputengine.cpp
index 82d5cad588..58b40a940d 100644
--- a/engines/sword25/input/inputengine.cpp
+++ b/engines/sword25/input/inputengine.cpp
@@ -32,12 +32,12 @@
*
*/
-#define BS_LOG_PREFIX "INPUTENGINE"
-
#include "common/algorithm.h"
#include "common/events.h"
#include "common/system.h"
#include "common/util.h"
+
+#include "sword25/sword25.h"
#include "sword25/kernel/kernel.h"
#include "sword25/kernel/inputpersistenceblock.h"
#include "sword25/kernel/outputpersistenceblock.h"
@@ -70,9 +70,9 @@ InputEngine::InputEngine(Kernel *pKernel) :
_rightMouseState[1] = false;
if (!registerScriptBindings())
- BS_LOG_ERRORLN("Script bindings could not be registered.");
+ error("Script bindings could not be registered.");
else
- BS_LOGLN("Script bindings registered.");
+ debugC(kDebugScript, "Script bindings registered.");
}
InputEngine::~InputEngine() {
diff --git a/engines/sword25/input/inputengine_script.cpp b/engines/sword25/input/inputengine_script.cpp
index 2f16a21377..5ce93bab82 100644
--- a/engines/sword25/input/inputengine_script.cpp
+++ b/engines/sword25/input/inputengine_script.cpp
@@ -42,8 +42,6 @@
#include "sword25/input/inputengine.h"
-#define BS_LOG_PREFIX "INPUTENGINE"
-
namespace Sword25 {
static void theCharacterCallback(int character);