diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-12 23:43:04 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-12 23:43:04 +0200 |
commit | 34d7dcf3be24de04b2b9c64edb2666439b353a5b (patch) | |
tree | 28d389e5f17f05854371b66822bb95adbb1b380c /src/common/global.h | |
parent | 6c21dceb35f7aaf90e54d3c030130e9465f343f3 (diff) | |
download | colobot-34d7dcf3be24de04b2b9c64edb2666439b353a5b.tar.gz colobot-34d7dcf3be24de04b2b9c64edb2666439b353a5b.tar.bz2 colobot-34d7dcf3be24de04b2b9c64edb2666439b353a5b.zip |
Simulation timestamps and input bindings
- added new simulation time calculations in CApplication
- added simulation frame updates
- rewritten old input binding code and input state tracking
Diffstat (limited to 'src/common/global.h')
-rw-r--r-- | src/common/global.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/global.h b/src/common/global.h index acc5b8f..88f753e 100644 --- a/src/common/global.h +++ b/src/common/global.h @@ -84,9 +84,8 @@ enum ResearchType /** * \enum KeyRank * \brief Slots for key assignment of user controls - * - * TODO: refactor */ +// TODO: remove (use the new InputSlot enum from app/app.h) enum KeyRank { KEYRANK_LEFT = 0, @@ -113,6 +112,8 @@ enum KeyRank KEYRANK_AIMUP = 21, KEYRANK_AIMDOWN = 22, KEYRANK_CBOT = 23, + + KEYRANK_MAX }; // TODO: move to CRobotMain |