diff options
Diffstat (limited to 'engines/wintermute/UI/UIEntity.h')
-rw-r--r-- | engines/wintermute/UI/UIEntity.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/wintermute/UI/UIEntity.h b/engines/wintermute/UI/UIEntity.h index bef73b5e05..b0711838a5 100644 --- a/engines/wintermute/UI/UIEntity.h +++ b/engines/wintermute/UI/UIEntity.h @@ -38,18 +38,18 @@ public: DECLARE_PERSISTENT(CUIEntity, CUIObject)
CUIEntity(CBGame *inGame);
virtual ~CUIEntity();
- ERRORCODE loadFile(const char *filename);
- ERRORCODE loadBuffer(byte *buffer, bool complete);
- virtual ERRORCODE saveAsText(CBDynBuffer *buffer, int indent);
+ bool loadFile(const char *filename);
+ bool loadBuffer(byte *buffer, bool complete);
+ virtual bool saveAsText(CBDynBuffer *buffer, int indent);
- virtual ERRORCODE display(int offsetX = 0, int offsetY = 0);
+ virtual bool display(int offsetX = 0, int offsetY = 0);
CAdEntity *_entity;
- ERRORCODE setEntity(const char *filename);
+ bool setEntity(const char *filename);
// scripting interface
virtual CScValue *scGetProperty(const char *name);
- virtual ERRORCODE scSetProperty(const char *name, CScValue *value);
- virtual ERRORCODE scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
+ virtual bool scSetProperty(const char *name, CScValue *value);
+ virtual bool scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
virtual const char *scToString();
};
|