Commit Graph

130 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Adrian Frühwirth
c4edac23b2 LAB: Fix UB (use of deallocated memory) 2018-05-05 17:54:46 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis
afa75b7047 LAB: Separate the interface from the event manager 2016-01-15 21:03:57 +02:00
Filippos Karapetis
ce5f8f32cb LAB: Clean up the event loops of special game screens 2016-01-14 23:41:32 +02:00
Filippos Karapetis
4f0985c2de LAB: Hide the mouse cursor while fading when closing the map 2016-01-14 23:41:31 +02:00
Filippos Karapetis
49a45a21ce LAB: The parameter of doMap() isn't needed 2016-01-14 23:41:27 +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
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Strangerke
2bad773046 LAB: Use an enum for special room ids 2015-12-27 01:05:43 +01:00
Willem Jan Palenstijn
e4fbcabbc9 LAB: Fix map
Regression from be1fd471be.
2015-12-26 17:07:28 +01:00
Filippos Karapetis
e231c6753b LAB: Update music after drawing the map rooms 2015-12-26 12:43:18 +02:00
Filippos Karapetis
0b9126f774 LAB: Remove superfluous sound effect stopping code 2015-12-26 12:42:45 +02:00
Strangerke
c191efa623 LAB: Remove the 3rd parameter of drawMap (always false) 2015-12-24 18:55:10 +01:00
Filippos Karapetis
a5553b3197 Use Common::Keycode and enums in interface buttons 2015-12-24 19:12:02 +02:00
Filippos Karapetis
6ad6632070 LAB: Remove excess delay in map 2015-12-24 13:07:53 +02:00
Filippos Karapetis
7216bddd56 LAB: Merge setPen() into rectFill() 2015-12-24 12:08:51 +02:00
Strangerke
0bf89c1eec LAB: Cleanup the way shouldQuit is called 2015-12-24 01:21:40 +01:00
Filippos Karapetis
7c33862a09 LAB: The second parameter of fade() is always 0 2015-12-24 00:44:16 +02:00
Filippos Karapetis
70ec11d260 LAB: Change the direction and map door defines into enums 2015-12-23 22:59:59 +02:00
Filippos Karapetis
29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
be1fd471be LAB: better fix of loadMapData, taking into account the other loops on _maps 2015-12-23 21:35:33 +01:00
Strangerke
fa222f0ca8 LAB: Make string check more readable, remove a useless c_str() 2015-12-23 21:35:32 +01:00
Strangerke
08a035f0e5 LAB: Fix loop in flooVisited 2015-12-23 21:35:31 +01:00
Strangerke
28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Filippos Karapetis
3e8eaa2c35 LAB: Use Common::String for strings, removing a ton of memory leaks
Also, add a method to properly free room views
2015-12-23 21:35:27 +01:00
Filippos Karapetis
12572a9c4b LAB: Merge enableButton() and disableButton() 2015-12-23 21:34:08 +01:00
Strangerke
15889e6fd2 LAB: Make processMap a bit more readable by using Rects 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
Strangerke
540173de36 LAB: constify 2 variables in drawMap 2015-12-23 21:34:07 +01:00
Strangerke
25509777aa LAB: Get rid of flowTextScaled 2015-12-23 21:34:07 +01:00
Strangerke
054a7a1e19 LAB: Use Common::Rect in functions related to flowText (WIP) 2015-12-23 21:34:07 +01:00
Filippos Karapetis
605c2e553b LAB: Use common keycodes instead of direct keycode values 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
eab6682929 LAB: Add some checks to quit the game quickly when closing ScummVM 2015-12-23 21:34:06 +01:00
Strangerke
69294eccb0 LAB: Some renaming in DisplayMan 2015-12-23 21:34:05 +01:00
Eugene Sandulenko
aa718e4c84 LAB: Variable rename 2015-12-23 21:34:04 +01:00
Strangerke
ad54a75b85 LAB: Add _vm to Image class 2015-12-23 21:34:03 +01:00
Filippos Karapetis
99e09b2ca2 LAB: Merge the different X image maps 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
40b16afcab LAB: Get rid of _unstoppableSoundEffect
_loopSoundEffect is used for the exact same purpose
2015-12-23 21:34:02 +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
Strangerke
47368c157e LAB: Review Music declaration, some refactoring and renaming 2015-12-23 21:34:02 +01:00
Filippos Karapetis
7d4e71d29e LAB: Change the map floor showing code, when changing floors
This greatly simplifies the code that shows a floor when an arrow is
pressed. Also, it changes the behavior of the arrows to show all of
the visited floors, instead of a specific subset. I believe that this
makes the map better, more usable and less confusing than the original
2015-12-23 21:34:00 +01:00
Filippos Karapetis
9f7ad4b5f2 LAB: Fix crash when closing the map 2015-12-23 21:34:00 +01:00