Commit Graph

50 Commits

Author SHA1 Message Date
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Paul Gilbert
72d0d84be2 LAB: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Filippos Karapetis
afa75b7047 LAB: Separate the interface from the event manager 2016-01-15 21:03:57 +02:00
Filippos Karapetis
924d43b7aa LAB: Better separation of the event and interface code 2016-01-14 23:41:35 +02:00
Filippos Karapetis
38df43fe55 LAB: Prevent excessive screen updates when checking for events 2016-01-11 01:50:10 +02:00
Filippos Karapetis
31d47d6be2 LAB: Bugfixes for the lowres DOS version
The lowres DOS version should be working properly now
2016-01-08 02:01:28 +02:00
Torbjörn Andersson
a330d993ae LAB: Use cursor manager to set, show and hide the cursor
While not strictly necessary, without this the debug console will
mess up the cursor on closing, because it doesn't know what cursor
to restore.
2016-01-06 11:19:53 +01:00
Filippos Karapetis
f6e42a7282 LAB: Simulate events by setting an unused key 2015-12-28 01:59:17 +02:00
Filippos Karapetis
a7959a4ed4 LAB: Remove superfluous mouse show/hide calls
Our mouse cursor is drawn in a separate layer, so we can draw on the
screen without needing to hide it beforehand
2015-12-27 22:50:09 +02:00
Strangerke
e06252cda5 LAB: Init the mouse in the center of the screen 2015-12-27 11:30:56 +01:00
Strangerke
a8d7a9bb7c LAB: Remove unused function in EventManager 2015-12-26 14:58:02 +01:00
Filippos Karapetis
dc08713249 LAB: The 'z' key is unused 2015-12-26 13:03:01 +02:00
Filippos Karapetis
b2fad340b5 LAB: More cleanup of the keyboard handling code 2015-12-24 18:25:16 +02:00
Filippos Karapetis
9c749c7d2e LAB: Start to untangle the mess in the event code 2015-12-24 18:12:57 +02:00
Filippos Karapetis
29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke
34b59256fc LAB: Replace g_system by _system 2015-12-23 21:43:16 +01:00
Filippos Karapetis
333d553716 LAB: Add a console, with two new commands (scene and scene_resources) 2015-12-23 21:43:16 +01:00
Strangerke
10baf6b9a2 LAB: Finish moving function comments to header 2015-12-23 21:35:33 +01:00
Strangerke
164b9d5a66 LAB: Use Common:KeyCode in keyPress() and getNextChar() 2015-12-23 21:35:30 +01:00
Strangerke
df1376983d LAB: Simplify code related to _keyBuf handling 2015-12-23 21:35:29 +01:00
Filippos Karapetis
567ed6a57a LAB: Formatting 2015-12-23 21:35:29 +01:00
Filippos Karapetis
361aab82dc LAB: Fix regression in left click handling
A regression of 326d9b5872177a1fea3fe24048286bd7c66242d8
2015-12-23 21:34:07 +01:00
Filippos Karapetis
8b16ccbea1 LAB: Get rid of mouseButton() 2015-12-23 21:34:07 +01:00
Filippos Karapetis
09539d76ac LAB: Remove superfluous function 2015-12-23 21:34:07 +01:00
Filippos Karapetis
5aef1367e2 LAB: Remove useless checks, and clean up the mouse processing code 2015-12-23 21:34:07 +01:00
Filippos Karapetis
005e077551 LAB: Some renames 2015-12-23 21:34:07 +01:00
Strangerke
83126e84ee LAB: Make the use of nullptr consistent through the engine 2015-12-23 21:34:06 +01:00
Strangerke
2b91bf2f34 LAB: Some renaming in EventMan 2015-12-23 21:34:03 +01:00
Filippos Karapetis
2332fb617c LAB: Rename gadget to button 2015-12-23 21:34:03 +01:00
Strangerke
7c1401264c LAB: Remove interface.h, get rid of a lot of useless defines 2015-12-23 21:34:02 +01:00
Filippos Karapetis
aad3b063b3 LAB: The mouse cursor data is constant 2015-12-23 21:34:01 +01:00
Eugene Sandulenko
c42629674b LAB: Code naming, reduced variable scope 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
c062dee369 LAB: Optimized dependency on common headers 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
9015cf72a3 LAB: Reduced header dependency: interface.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
66f2935a22 LAB: Reduced header dependency: dispman.h, eventman.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
8e9798a0bc LAB: Reduce header intra-dependency. Reduced image.h dependency 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Filippos Karapetis
6230fcbeb9 LAB: Simplify the journal and map gadget handling 2015-12-23 21:33:55 +01:00
Filippos Karapetis
0b2bf45a09 LAB: Simplify the gadget enabling/disabling code 2015-12-23 21:33:55 +01:00
Strangerke
2d0fab7f4c LAB: Use // for comments 2015-12-23 21:33:55 +01:00
Strangerke
ae056a767b LAB: Use doxygen format for function comments 2015-12-23 21:33:55 +01:00
Strangerke
3a1ee64761 LAB: Review spacing 2015-12-23 21:33:55 +01:00
Filippos Karapetis
6bba608fc0 LAB: Get rid of _numHidden 2015-12-23 21:33:53 +01:00
Filippos Karapetis
5ccc0fd7c6 LAB: Clean up checkGadgetHit() a bit 2015-12-23 21:33:53 +01:00
Strangerke
895d29c1ae LAB: Some more renaming, remove useless variables 2015-12-23 21:33:52 +01:00
Filippos Karapetis
62c4acc6b3 LAB: Change the gadget lists to use Common::List 2015-12-23 21:33:52 +01:00
Strangerke
ef99d82d13 LAB: Move more functions to DisplayMan 2015-12-23 21:33:51 +01:00
Strangerke
733fbe4c62 LAB: Start working on a separate DisplayMan class 2015-12-23 21:33:50 +01:00
Eugene Sandulenko
adbb0ce0c5 LAB: Renamed mouse.* to eventman.* 2015-12-23 21:33:47 +01:00