Commit graph

62 commits

Author SHA1 Message Date
Filippos Karapetis
a5553b3197 Use Common::Keycode and enums in interface buttons 2015-12-24 19:12:02 +02:00
Filippos Karapetis
c0f3131fbe LAB: Reorganize the code a bit in getMsg() 2015-12-24 18:30:41 +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
52c7fcbfe5 LAB: Rename overlayRect() to checkerboardEffect() 2015-12-23 21:43:17 +01:00
Strangerke
34b59256fc LAB: Replace g_system by _system 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
Filippos Karapetis
12572a9c4b LAB: Merge enableButton() and disableButton() 2015-12-23 21:34:08 +01:00
Filippos Karapetis
832d87e0bf LAB: Use Common::Point in IntuiMessage 2015-12-23 21:34:08 +01:00
Filippos Karapetis
b6bed0aed7 LAB: Simplify mouse button handling 2015-12-23 21:34:08 +01:00
Filippos Karapetis
fdf09a6385 LAB: Some simplification of the mouse handling code 2015-12-23 21:34:08 +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
005e077551 LAB: Some renames 2015-12-23 21:34:07 +01:00
Strangerke
5ed11d721c LAB: Verify the appropriate use of parenthesis in if statements 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
Filippos Karapetis
577b60d785 LAB: Move getMsg to the event manager 2015-12-23 21:34:02 +01:00
Strangerke
7c1401264c LAB: Remove interface.h, get rid of a lot of useless defines 2015-12-23 21:34:02 +01:00
Strangerke
c837e67070 LAB: Move interface functions to EventMan 2015-12-23 21:34:02 +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
5fad5cece3 LAB: Reduced header dependency: labsets.h, utils.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
c4ca8223b7 LAB: Plug a memory leak in freeButtonList() 2015-12-23 21:33:56 +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
Strangerke
9cc70b6f03 LAB: Some more refactoring and renaming 2015-12-23 21:33:55 +01:00
Strangerke
dcefb696ed LAB: Remove more extern variables 2015-12-23 21:33:54 +01:00
Strangerke
5bc48cbbdd LAB: Move utility functions to a separate class 2015-12-23 21:33:54 +01:00
Filippos Karapetis
0e886461d0 LAB: Replace some uses of malloc() with new 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
Filippos Karapetis
1913a61f30 LAB: Some renaming and cleanup 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
adbb0ce0c5 LAB: Renamed mouse.* to eventman.* 2015-12-23 21:33:47 +01:00
Eugene Sandulenko
88ede5d2d5 LAB: Rename Image class members 2015-12-23 21:33:47 +01:00
Strangerke
8fa64824a2 LAB: Some renaming, move a couple of variables to game engine 2015-12-23 21:33:47 +01:00
Strangerke
6b24481358 LAB: Move functions related to keyboard events to Event 2015-12-23 21:33:46 +01:00
Strangerke
66bf888558 LAB: Rework and renaming in the Event class 2015-12-23 21:33:46 +01:00
Eugene Sandulenko
148d64eceb LAB: Put Image into a separate class. Leaks memory for now 2015-12-23 21:33:46 +01:00
Strangerke
f817c1de2e LAB: Get rid of stddefines 2015-12-23 21:33:45 +01:00
Eugene Sandulenko
6d4b71e2ce LAB: Renames in vga.cpp 2015-12-23 21:33:45 +01:00
Strangerke
d96484d81c LAB: Move mouse code in separate class, move some functions to LabEngine. (WIP) 2015-12-23 21:33:43 +01:00