377 Commits

Author SHA1 Message Date
Strangerke
de6de51e8b LAB: More use of Common::KEYCODEs 2015-12-23 21:34:06 +01:00
Strangerke
802a0d09dc LAB: Use Common::KEYCODE in several places 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
3f1bb66959 LAB: Fix memory leak 2015-12-23 21:34:06 +01:00
Strangerke
b42ed683b8 LAB: Fix the style of some if/else statements 2015-12-23 21:34:06 +01:00
Strangerke
6193626f7c LAB: Fix two deletes 2015-12-23 21:34:06 +01:00
Strangerke
fbff6313b5 LAB: Initialize a variable. This should fix a Valgrind warning. 2015-12-23 21:34:06 +01:00
Strangerke
75d1a3a22a LAB: Fix freePict as pointed by eriktorbjorn 2015-12-23 21:34:05 +01:00
Strangerke
f791d690b2 LAB: Use Common::Rect in a couple of position checks to make it a bit more readable 2015-12-23 21:34:05 +01:00
Strangerke
e71f28d0ba LAB: Reorder mouse position check in processMonitor in order to avoid duplicate checks 2015-12-23 21:34:05 +01:00
Filippos Karapetis
2cfac1c4b0 LAB: Fix compilation 2015-12-23 21:34:05 +01:00
Filippos Karapetis
b661f2f8e6 LAB: Use enums for the interface buttons 2015-12-23 21:34:05 +01:00
Filippos Karapetis
521652e436 LAB: Move some code from fromCrumbs() into separate functions
This makes this huge function a bit easier to read and understand
2015-12-23 21:34:05 +01:00
Strangerke
69294eccb0 LAB: Some renaming in DisplayMan 2015-12-23 21:34:05 +01:00
Strangerke
e0de03463e LAB: Use strlen to compute text length instead of a difference between start and end address. Some refactoring. 2015-12-23 21:34:05 +01:00
Strangerke
52d0243eff LAB: Fix the coding style of a some if/else statements 2015-12-23 21:34:05 +01:00
Eugene Sandulenko
acaece288f LAB: More variable scope redux 2015-12-23 21:34:05 +01:00
Eugene Sandulenko
167d9c48a3 LAB: Reduced scope of a few more variables 2015-12-23 21:34:05 +01:00
Strangerke
1d027704e0 LAB: Fix mouse cursor after save/load 2015-12-23 21:34:05 +01:00
Strangerke
21e6f40301 LAB: Fix a regression related to random number generation, some renaming 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
cbf4c876e5 LAB: Turned another if chain into switch 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
1120958dac LAB: Removed useless condition 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
5848a20af2 LAB: Turned another chain of ifs into a switch statement 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
abb3e233bf LAB: More code simplification 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
ee73e5ca15 LAB: Simplified code 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
a7d5ae6b4b LAB: Converted ifs into switch() 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
79eec20361 LAB: Reduced variable scope. Renames 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
aa718e4c84 LAB: Variable rename 2015-12-23 21:34:04 +01:00
Strangerke
5d240e3493 LAB; Fix a couple of typos in game description 2015-12-23 21:34:04 +01:00
Strangerke
a784e2bd5c LAB: Finally get rid of g_lab 2015-12-23 21:34:03 +01:00
Strangerke
974740d307 LAB: Some renaming in LabEngine 2015-12-23 21:34:03 +01:00
Strangerke
ad54a75b85 LAB: Add _vm to Image class 2015-12-23 21:34:03 +01:00
Strangerke
2b91bf2f34 LAB: Some renaming in EventMan 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
2e09975086 LAB: Simplify the LabEngine destructor 2015-12-23 21:34:03 +01:00
Filippos Karapetis
e994c90d9b LAB: Simplify the crumb wait time code 2015-12-23 21:34:03 +01:00
Strangerke
f0e345a1a2 LAB: Make some functions and variables private 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
1524e20ef1 LAB: Simplify the room doors array 2015-12-23 21:34:03 +01:00
Filippos Karapetis
c883769adc LAB: Move the LAB2 teaser screen in a separate function 2015-12-23 21:34:03 +01:00
Filippos Karapetis
231dda2ba9 LAB: Fix regression in animation code in looping animations
This fixes Daedalus' flight animation in the ending cutscene
2015-12-23 21:34:02 +01:00
Filippos Karapetis
dffaffdd09 LAB: Simplify calls to initMusic() 2015-12-23 21:34:02 +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
ceb5ef18e5 LAB: Get rid of a superfluous global variable 2015-12-23 21:34:02 +01:00
Filippos Karapetis
ff43ec7e86 LAB: Now that timing works correctly, disable some annoying delays 2015-12-23 21:34:02 +01:00
Filippos Karapetis
0dcfd74b84 LAB: Simplify fromCrumbs() 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
7efd471a92 LAB: check header define names, rename a parameter of processMonitor() 2015-12-23 21:34:02 +01:00