69901 Commits

Author SHA1 Message Date
Filippos Karapetis
fdf09a6385 LAB: Some simplification of the mouse handling code 2015-12-23 21:34:08 +01:00
Filippos Karapetis
361aab82dc LAB: Fix regression in left click handling
A regression of 326d9b5872177a1fea3fe24048286bd7c66242d8
2015-12-23 21:34:07 +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
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
f932f39214 LAB: reduce a variable scope, remove useless code 2015-12-23 21:34:07 +01:00
Strangerke
eb6854e2c7 LAB: Add a short delay when changing screen so that the text is readable when changing screens 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
83126e84ee LAB: Make the use of nullptr consistent through the engine 2015-12-23 21:34:06 +01:00
Strangerke
9c7e372a21 LAB: make takeItem use Common::Point, some refactoring 2015-12-23 21:34:06 +01:00
Strangerke
dd06c83280 LAB: Make more use of kButton enum 2015-12-23 21:34:06 +01:00
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