diff options
author | Strangerke | 2012-06-05 00:02:15 +0200 |
---|---|---|
committer | Strangerke | 2012-06-05 00:02:15 +0200 |
commit | 014330a538244b0e33bcf230cc5e84c28977f096 (patch) | |
tree | 0f7fb247729088b9cf4a77c8a2a9864a552cbff0 /engines/tony/input.h | |
parent | 7b547a78cc08627dfedd6a08a3e1afb58d8193fd (diff) | |
download | scummvm-rg350-014330a538244b0e33bcf230cc5e84c28977f096.tar.gz scummvm-rg350-014330a538244b0e33bcf230cc5e84c28977f096.tar.bz2 scummvm-rg350-014330a538244b0e33bcf230cc5e84c28977f096.zip |
TONY: Rename variables and functions in input.h
Diffstat (limited to 'engines/tony/input.h')
-rw-r--r-- | engines/tony/input.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/engines/tony/input.h b/engines/tony/input.h index 524f604ec2..e7e200e1b7 100644 --- a/engines/tony/input.h +++ b/engines/tony/input.h @@ -55,45 +55,45 @@ public: ~RMInput(); // Class initialisation - void Init(/*uint32 hInst*/); + void init(/*uint32 hInst*/); // Closes the class - void Close(void); + void close(void); // Polling (must be performed once per frame) - void Poll(void); + void poll(void); // Reading of the mouse - RMPoint MousePos() { + RMPoint mousePos() { return _mousePos; } // Current status of the mouse buttons - bool MouseLeft(); - bool MouseRight(); + bool mouseLeft(); + bool mouseRight(); // Events of mouse clicks - bool MouseLeftClicked() { + bool mouseLeftClicked() { return _leftClickMouse; } - bool MouseRightClicked() { + bool mouseRightClicked() { return _rightClickMouse; } - bool MouseBothClicked() { + bool mouseBothClicked() { return _leftClickMouse && _rightClickMouse; } - bool MouseLeftReleased() { + bool mouseLeftReleased() { return _leftReleaseMouse; } - bool MouseRightReleased() { + bool mouseRightReleased() { return _rightReleaseMouse; } - bool MouseBothReleased() { + bool mouseBothReleased() { return _leftReleaseMouse && _rightReleaseMouse; } // Returns true if the given key is pressed - bool GetAsyncKeyState(Common::KeyCode kc); + bool getAsyncKeyState(Common::KeyCode kc); }; } // End of namespace Tony |