diff options
author | Strangerke | 2012-12-11 01:53:50 +0100 |
---|---|---|
committer | Strangerke | 2012-12-11 01:53:50 +0100 |
commit | 299fbfc7c7558cd8275b86ef746ba73ea5ecbee2 (patch) | |
tree | 49b1ae4820e3f98c208500339223de75b0d3ea2f /engines/hopkins/events.h | |
parent | af667771a918370988cc656412e2ddea3d1d44a3 (diff) | |
download | scummvm-rg350-299fbfc7c7558cd8275b86ef746ba73ea5ecbee2.tar.gz scummvm-rg350-299fbfc7c7558cd8275b86ef746ba73ea5ecbee2.tar.bz2 scummvm-rg350-299fbfc7c7558cd8275b86ef746ba73ea5ecbee2.zip |
HOPKINS: Start renaming EventsManager functions
Diffstat (limited to 'engines/hopkins/events.h')
-rw-r--r-- | engines/hopkins/events.h | 62 |
1 files changed, 22 insertions, 40 deletions
diff --git a/engines/hopkins/events.h b/engines/hopkins/events.h index 94ce87f8a1..fef8c2a4c2 100644 --- a/engines/hopkins/events.h +++ b/engines/hopkins/events.h @@ -45,44 +45,41 @@ private: void checkForNextFrameCounter(); void updateCursor(); public: - bool souris_flag; - bool mouse_linux; - int souris_sizex, souris_sizey; - int ofset_souris_x, ofset_souris_y; - int start_x, start_y; - int souris_x, souris_y; - bool CASSE; - int OLD_ICONE; + bool _mouseFl; + bool _mouseLinuxFl; + int _mouseSizeX, _mouseSizeY; + Common::Point _mouseOffset; + Common::Point _startPos; + Common::Point _mousePos; + bool _breakoutFl; + int _oldIconId; int souris_n; int souris_bb; int souris_b; - byte *pointeur_souris; + byte *_mouseCursor; uint32 _gameCounter; uint32 lItCounter; uint32 _priorCounterTime; uint32 _priorFrameTime; - bool ESC_KEY; - bool NOESC; - DIALOG_KEY GAME_KEY; + bool _escKeyFl; + bool _disableEscKeyFl; + DIALOG_KEY _gameKey; int btsouris; - byte *Bufferobjet; - bool keyState[256]; + byte *_objectBuf; + bool _keyState[256]; public: EventsManager(); ~EventsManager(); void setParent(HopkinsEngine *vm); - void INSTALL_SOURIS(); - void souris_on(); - void souris_xy(int xp, int yp); - void souris_max(); - int XMOUSE(); - int YMOUSE(); - int BMOUSE(); - void MOUSE_ON(); - void MOUSE_ON1(); - void MOUSE_OFF(); - void CHANGE_MOUSE(int id); + void setMouseOn(); + void setMouseXY(int xp, int yp); + int getMouseX(); + int getMouseY(); + int getMouseButton(); + void mouseOn(); + void mouseOff(); + void changeMouseCursor(int id); void CONTROLE_MES(); void delay(int delay); @@ -93,21 +90,6 @@ public: * @return Keypress, or -1 if game quit was requested */ int keywin(); - - /** - * Unused by engine - */ - void videkey() { } - - /** - * Unused by engine - */ - void CASSE_SOURIS_ON() { } - - /** - * Unused by engine - */ - void CASSE_SOURIS_OFF() { } }; } // End of namespace Hopkins |