diff options
Diffstat (limited to 'engines/wintermute/Base/BKeyboardState.h')
-rw-r--r-- | engines/wintermute/Base/BKeyboardState.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/BKeyboardState.h b/engines/wintermute/Base/BKeyboardState.h index 29844e5d09..84bbab5339 100644 --- a/engines/wintermute/Base/BKeyboardState.h +++ b/engines/wintermute/Base/BKeyboardState.h @@ -50,7 +50,7 @@ public: DECLARE_PERSISTENT(CBKeyboardState, CBScriptable)
CBKeyboardState(CBGame *inGame);
virtual ~CBKeyboardState();
- ERRORCODE readKey(Common::Event *event);
+ bool readKey(Common::Event *event);
void handleKeyPress(Common::Event *event);
void handleKeyRelease(Common::Event *event);
@@ -60,8 +60,8 @@ public: // 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();
private:
|