diff options
author | Paul Gilbert | 2014-03-02 23:09:17 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-03-02 23:09:17 -0500 |
commit | 3a842a079c668e9dfc52a6056119d4932e8ef56d (patch) | |
tree | 5f74efaaf79b8c20c1494b1494493d6c39b0511c /engines/mads/events.h | |
parent | a0996b7384e5c3321af97347613120d2f90ab64e (diff) | |
download | scummvm-rg350-3a842a079c668e9dfc52a6056119d4932e8ef56d.tar.gz scummvm-rg350-3a842a079c668e9dfc52a6056119d4932e8ef56d.tar.bz2 scummvm-rg350-3a842a079c668e9dfc52a6056119d4932e8ef56d.zip |
MADS: Bulk of implementation of ScreenObjects::check
Diffstat (limited to 'engines/mads/events.h')
-rw-r--r-- | engines/mads/events.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/engines/mads/events.h b/engines/mads/events.h index c4fb8786cb..0a6913b38e 100644 --- a/engines/mads/events.h +++ b/engines/mads/events.h @@ -42,10 +42,7 @@ private: uint32 _gameCounter; uint32 _priorFrameTime; Common::Point _mousePos; - int _vCC; - int _vD4; - int _vD8; - int _vD2; + Common::Point _currentPos; /** * Updates the cursor image when the current cursor changes @@ -59,8 +56,15 @@ private: public: SpriteAsset *_cursorSprites; bool _mouseClicked; + bool _mouseReleased; + byte _mouseButtons; bool _keyPressed; uint32 _currentTimer; + int _vCC; + int _vD2; + int _vD4; + int _vD6; + int _vD8; public: /** * Constructor @@ -118,6 +122,11 @@ public: Common::Point mousePos() const { return _mousePos; } /** + * Return the current mouse position + */ + Common::Point currentPos() const { return _currentPos; } + + /** * Delay for a given number of frames */ void delay(int amount); |