summaryrefslogtreecommitdiffstats
path: root/src/app/app.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-09-19 21:23:42 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-09-19 21:23:42 +0200
commit10c9d92cd2581448d76548efb20957a7a1c24478 (patch)
tree5f039656bc78cd2a882b872548c340de8ea5263c /src/app/app.h
parent51884cef8e015bccbe1fa96dc56dc2f32439ccc5 (diff)
downloadcolobot-10c9d92cd2581448d76548efb20957a7a1c24478.tar.gz
colobot-10c9d92cd2581448d76548efb20957a7a1c24478.tar.bz2
colobot-10c9d92cd2581448d76548efb20957a7a1c24478.zip
Mouse wheel events, motion vectors
- added mouse wheel events - added motion vectors to CRobotMain - other minor changes in event.h
Diffstat (limited to 'src/app/app.h')
-rw-r--r--src/app/app.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/app/app.h b/src/app/app.h
index 8429e0e..33be5a5 100644
--- a/src/app/app.h
+++ b/src/app/app.h
@@ -112,7 +112,7 @@ struct ApplicationPrivate;
* \section Creation Creation of other main objects
*
* The class creates the only instance of CInstanceManager, CEventQueue, CEngine,
- * CRobotMain and CSound classes.
+ * CRobotMain and CSoundInterface classes.
*
* \section Window Window management
*
@@ -241,7 +241,7 @@ public:
//! Returns whether the mouse button is pressed
bool GetMouseButtonState(int index);
- //! Resets tracked key states, modifiers and motion vectors
+ //! Resets tracked key states and modifiers
void ResetKeyStates();
//! Management of the grab mode for input (keyboard & mouse)
@@ -307,7 +307,7 @@ protected:
//! Graphics device
Gfx::CDevice* m_device;
//! Sound subsystem
- CSoundInterface* m_sound;
+ CSoundInterface* m_sound;
//! Main class of the proper game engine
CRobotMain* m_robotMain;
@@ -357,11 +357,6 @@ protected:
//! Current state of mouse buttons (mask of button indexes)
unsigned int m_mouseButtonsState;
- //! Motion vector set by keyboard
- Math::Vector m_keyMotion;
- //! Motion vector set by joystick
- Math::Vector m_joyMotion;
-
//! Current system mouse position
Math::Point m_systemMousePos;