aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BDebugger.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BDebugger.h')
-rw-r--r--engines/wintermute/Base/BDebugger.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/wintermute/Base/BDebugger.h b/engines/wintermute/Base/BDebugger.h
index a3da66cc9f..548519b0a0 100644
--- a/engines/wintermute/Base/BDebugger.h
+++ b/engines/wintermute/Base/BDebugger.h
@@ -45,26 +45,26 @@ public:
// initialization
bool _enabled;
- ERRORCODE initialize();
- ERRORCODE shutdown();
+ bool initialize();
+ bool shutdown();
// internal interface
- ERRORCODE onGameInit();
- ERRORCODE onGameShutdown();
- ERRORCODE onGameTick();
- ERRORCODE onLog(unsigned int errorCode, const char *text);
- ERRORCODE onScriptInit(CScScript *script);
- ERRORCODE onScriptEventThreadInit(CScScript *script, CScScript *parentScript, const char *name);
- ERRORCODE onScriptMethodThreadInit(CScScript *script, CScScript *parentScript, const char *name);
-
- ERRORCODE onScriptShutdown(CScScript *script);
- ERRORCODE onScriptChangeLine(CScScript *script, int line);
- ERRORCODE onScriptChangeScope(CScScript *script, CScValue *scope);
- ERRORCODE onScriptShutdownScope(CScScript *script, CScValue *scope);
- ERRORCODE onVariableInit(EWmeDebuggerVariableType type, CScScript *script, CScValue *scope, CScValue *var, const char *variableName);
- ERRORCODE onVariableChangeValue(CScValue *var, CScValue *value);
-
- ERRORCODE onScriptHitBreakpoint(CScScript *script);
+ bool onGameInit();
+ bool onGameShutdown();
+ bool onGameTick();
+ bool onLog(unsigned int errorCode, const char *text);
+ bool onScriptInit(CScScript *script);
+ bool onScriptEventThreadInit(CScScript *script, CScScript *parentScript, const char *name);
+ bool onScriptMethodThreadInit(CScScript *script, CScScript *parentScript, const char *name);
+
+ bool onScriptShutdown(CScScript *script);
+ bool onScriptChangeLine(CScScript *script, int line);
+ bool onScriptChangeScope(CScScript *script, CScValue *scope);
+ bool onScriptShutdownScope(CScScript *script, CScValue *scope);
+ bool onVariableInit(EWmeDebuggerVariableType type, CScScript *script, CScValue *scope, CScValue *var, const char *variableName);
+ bool onVariableChangeValue(CScValue *var, CScValue *value);
+
+ bool onScriptHitBreakpoint(CScScript *script);
// IWmeDebugServer interface
virtual bool attachClient(IWmeDebugClient *client);