diff options
Diffstat (limited to 'engines/sword25/input')
-rw-r--r-- | engines/sword25/input/inputengine.cpp | 8 | ||||
-rw-r--r-- | engines/sword25/input/inputengine_script.cpp | 2 |
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); |