aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/ScValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/scriptables/ScValue.h')
-rw-r--r--engines/wintermute/Base/scriptables/ScValue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/wintermute/Base/scriptables/ScValue.h b/engines/wintermute/Base/scriptables/ScValue.h
index 2f946dffc5..3410111d71 100644
--- a/engines/wintermute/Base/scriptables/ScValue.h
+++ b/engines/wintermute/Base/scriptables/ScValue.h
@@ -43,7 +43,7 @@ class CBScriptable;
class CScValue : public CBBase, public IWmeDebugProp {
public:
- ERRORCODE dbgSendVariables(IWmeDebugClient *client, EWmeDebuggerVariableType type, CScScript *script, unsigned int scopeID);
+ bool dbgSendVariables(IWmeDebugClient *client, EWmeDebuggerVariableType type, CScScript *script, unsigned int scopeID);
static int compare(CScValue *val1, CScValue *val2);
static int compareStrict(CScValue *val1, CScValue *val2);
@@ -52,7 +52,7 @@ public:
DECLARE_PERSISTENT(CScValue, CBBase)
bool _isConstVar;
- ERRORCODE saveAsText(CBDynBuffer *buffer, int indent);
+ bool saveAsText(CBDynBuffer *buffer, int indent);
void setValue(CScValue *val);
bool _persistent;
bool propExists(const char *name);
@@ -65,7 +65,7 @@ public:
const char *getString();
void *getMemBuffer();
CBScriptable *getNative();
- ERRORCODE deleteProp(const char *name);
+ bool deleteProp(const char *name);
void deleteProps();
void CleanProps(bool includingNatives);
void setBool(bool val);
@@ -84,7 +84,7 @@ public:
bool isFloat();
bool isInt();
bool isObject();
- ERRORCODE setProp(const char *name, CScValue *val, bool copyWhole = false, bool setAsConst = false);
+ bool setProp(const char *name, CScValue *val, bool copyWhole = false, bool setAsConst = false);
CScValue *getProp(const char *name);
CBScriptable *_valNative;
CScValue *_valRef;