summaryrefslogtreecommitdiffstats
path: root/src/common/event_ids.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-09-22 00:38:17 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-09-22 00:38:17 +0200
commit0ff419560d5a567afaa0294968cc1f5b5e6b597b (patch)
tree03edeac0b7850348b9b910e0d39dd88a477afd75 /src/common/event_ids.h
parent15ff1d512b9e103396144bec1cd8004ecf4f7f9c (diff)
downloadcolobot-0ff419560d5a567afaa0294968cc1f5b5e6b597b.tar.gz
colobot-0ff419560d5a567afaa0294968cc1f5b5e6b597b.tar.bz2
colobot-0ff419560d5a567afaa0294968cc1f5b5e6b597b.zip
Event fixes & refactoring
- added new state tracking to Event - removed old fields from Event - fixed some issues with Events and fps counter
Diffstat (limited to 'src/common/event_ids.h')
-rw-r--r--src/common/event_ids.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/event_ids.h b/src/common/event_ids.h
index 9cbbf94..b6c646c 100644
--- a/src/common/event_ids.h
+++ b/src/common/event_ids.h
@@ -60,10 +60,16 @@ enum EventType
//! Event sent after releasing a joystick button
EVENT_JOY_BUTTON_UP = 14,
+
+ /* Events sent/received in game and user interface */
+
EVENT_UPDINTERFACE = 20,
EVENT_WIN = 30,
EVENT_LOST = 31,
+ //! CEdit focus
+ EVENT_FOCUS = 35,
+
EVENT_BUTTON_OK = 40,
EVENT_BUTTON_CANCEL = 41,
EVENT_BUTTON_NEXT = 42,