aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_keyboard_state.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-21 21:01:47 +0200
committerEinar Johan Trøan Sømåen2012-07-21 21:01:47 +0200
commitb5a07fef8ebf29f7f44b15d9b34799c7e115fdad (patch)
tree76599c7b51aa6ad0447cb6ff6847f9eba54a679a /engines/wintermute/base/base_keyboard_state.h
parent2e82471240804df65acdf51c43ea044cbb81ae68 (diff)
downloadscummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.tar.gz
scummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.tar.bz2
scummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.zip
WINTERMUTE: Get rid of the C-prefix for class-definitions.
Diffstat (limited to 'engines/wintermute/base/base_keyboard_state.h')
-rw-r--r--engines/wintermute/base/base_keyboard_state.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/wintermute/base/base_keyboard_state.h b/engines/wintermute/base/base_keyboard_state.h
index bdf268c601..8c4b1afb59 100644
--- a/engines/wintermute/base/base_keyboard_state.h
+++ b/engines/wintermute/base/base_keyboard_state.h
@@ -37,7 +37,7 @@
namespace WinterMute {
-class CBKeyboardState : public CBScriptable {
+class BaseKeyboardState : public BaseScriptable {
public:
uint32 _currentKeyData;
uint32 _currentCharCode;
@@ -47,9 +47,9 @@ public:
bool _currentAlt;
bool _currentControl;
- DECLARE_PERSISTENT(CBKeyboardState, CBScriptable)
- CBKeyboardState(CBGame *inGame);
- virtual ~CBKeyboardState();
+ DECLARE_PERSISTENT(BaseKeyboardState, BaseScriptable)
+ BaseKeyboardState(BaseGame *inGame);
+ virtual ~BaseKeyboardState();
bool readKey(Common::Event *event);
void handleKeyPress(Common::Event *event);
@@ -59,9 +59,9 @@ public:
static bool isAltDown();
// scripting interface
- virtual CScValue *scGetProperty(const char *name);
- virtual bool scSetProperty(const char *name, CScValue *value);
- virtual bool scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
+ virtual ScValue *scGetProperty(const char *name);
+ virtual bool scSetProperty(const char *name, ScValue *value);
+ virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name);
virtual const char *scToString();
private: