aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.h
diff options
context:
space:
mode:
authorColin Snover2017-09-25 20:51:10 -0500
committerColin Snover2017-09-27 20:27:33 -0500
commit9a8070da3c533dd4885e8044051a5e1a9caac9bb (patch)
treef2ade382b357b7f9e66b7cae288023820ca670b6 /engines/sci/graphics/frameout.h
parentc88d5519c2e2672ce7faabfa52f36af4a8706cba (diff)
downloadscummvm-rg350-9a8070da3c533dd4885e8044051a5e1a9caac9bb.tar.gz
scummvm-rg350-9a8070da3c533dd4885e8044051a5e1a9caac9bb.tar.bz2
scummvm-rg350-9a8070da3c533dd4885e8044051a5e1a9caac9bb.zip
SCI: Do some clean-up of event handling system
Convert macros and vars to enums, rename keyboard events in preparation for adding key up events, clean up unnecessary nested conditionals, add TODOs for potential future work.
Diffstat (limited to 'engines/sci/graphics/frameout.h')
-rw-r--r--engines/sci/graphics/frameout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h
index cd48c78fdd..a7b529fe90 100644
--- a/engines/sci/graphics/frameout.h
+++ b/engines/sci/graphics/frameout.h
@@ -394,7 +394,7 @@ private:
// position is rendered instead of whatever position it was at the last
// time kGetEvent was called. Without this, the mouse appears stuck
// during loops that do not make calls to kGetEvent, like transitions.
- g_sci->getEventManager()->getSciEvent(SCI_EVENT_PEEK);
+ g_sci->getEventManager()->getSciEvent(kSciEventPeek);
}
/**