aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorMax Horn2007-03-17 19:02:05 +0000
committerMax Horn2007-03-17 19:02:05 +0000
commited54ea9155961d8ca5d5fb3c7777fc57a29f2751 (patch)
tree467b926af11cd4129ba003d04ba01de044c7a6df /engines/cine
parentf272d1957084098c5b53975ad3501074f6971af8 (diff)
downloadscummvm-rg350-ed54ea9155961d8ca5d5fb3c7777fc57a29f2751.tar.gz
scummvm-rg350-ed54ea9155961d8ca5d5fb3c7777fc57a29f2751.tar.bz2
scummvm-rg350-ed54ea9155961d8ca5d5fb3c7777fc57a29f2751.zip
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
svn-id: r26180
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/main_loop.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/cine/main_loop.cpp b/engines/cine/main_loop.cpp
index aeb7dede17..b1816eae9c 100644
--- a/engines/cine/main_loop.cpp
+++ b/engines/cine/main_loop.cpp
@@ -46,25 +46,25 @@ uint16 mouseUpdateStatus;
uint16 dummyU16;
void manageEvents(int count) {
- OSystem::Event event;
+ Common::Event event;
Common::EventManager *eventMan = g_system->getEventManager();
while (eventMan->pollEvent(event)) {
switch (event.type) {
- case OSystem::EVENT_LBUTTONDOWN:
+ case Common::EVENT_LBUTTONDOWN:
mouseLeft = 1;
break;
- case OSystem::EVENT_RBUTTONDOWN:
+ case Common::EVENT_RBUTTONDOWN:
mouseRight = 1;
break;
- case OSystem::EVENT_MOUSEMOVE:
+ case Common::EVENT_MOUSEMOVE:
mouseData.X = event.mouse.x;
mouseData.Y = event.mouse.y;
break;
- case OSystem::EVENT_QUIT:
+ case Common::EVENT_QUIT:
g_system->quit();
break;
- case OSystem::EVENT_KEYDOWN:
+ case Common::EVENT_KEYDOWN:
switch (event.kbd.keycode) {
case '\n':
case '\r':