aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BBase.cpp')
-rw-r--r--engines/wintermute/Base/BBase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BBase.cpp b/engines/wintermute/Base/BBase.cpp
index bdfcfccdd5..63fddba489 100644
--- a/engines/wintermute/Base/BBase.cpp
+++ b/engines/wintermute/Base/BBase.cpp
@@ -65,7 +65,7 @@ const char *CBBase::getEditorProp(const char *propName, const char *initVal) {
//////////////////////////////////////////////////////////////////////////
-ERRORCODE CBBase::setEditorProp(const char *propName, const char *propValue) {
+bool CBBase::setEditorProp(const char *propName, const char *propValue) {
if (propName == NULL) return STATUS_FAILED;
if (propValue == NULL) {
@@ -84,7 +84,7 @@ TOKEN_DEF(NAME)
TOKEN_DEF(VALUE)
TOKEN_DEF_END
//////////////////////////////////////////////////////////////////////////
-ERRORCODE CBBase::parseEditorProperty(byte *buffer, bool complete) {
+bool CBBase::parseEditorProperty(byte *buffer, bool complete) {
TOKEN_TABLE_START(commands)
TOKEN_TABLE(EDITOR_PROPERTY)
TOKEN_TABLE(NAME)
@@ -159,7 +159,7 @@ ERRORCODE CBBase::parseEditorProperty(byte *buffer, bool complete) {
//////////////////////////////////////////////////////////////////////////
-ERRORCODE CBBase::saveAsText(CBDynBuffer *buffer, int indent) {
+bool CBBase::saveAsText(CBDynBuffer *buffer, int indent) {
_editorPropsIter = _editorProps.begin();
while (_editorPropsIter != _editorProps.end()) {
buffer->putTextIndent(indent, "EDITOR_PROPERTY\n");