41788 Commits

Author SHA1 Message Date
Strangerke
137e12bf95 LAB: Fix regression in intro 2015-12-23 21:35:33 +01:00
Strangerke
10baf6b9a2 LAB: Finish moving function comments to header 2015-12-23 21:35:33 +01:00
Strangerke
46f792d82d LAB: Delete some more variables in LabEngine destructor 2015-12-23 21:35:33 +01:00
Strangerke
6aad3aebd9 LAB: Move some more comments to header files 2015-12-23 21:35:33 +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
9b6851c1a7 LAB: Safeguard: Set some variables to null pointer after deleting them 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
2eeb027604 LAB: Revert previous commit as suggested by wjp 2015-12-23 21:35:32 +01:00
Strangerke
eba44d3094 LAB: Close _curBitmap before deleting it 2015-12-23 21:35:32 +01:00
Strangerke
b53735ba06 LAB: Constify some parameters 2015-12-23 21:35:32 +01:00
Strangerke
2edd0c5142 LAB: Remove a couple of useless calls to c_Str() 2015-12-23 21:35:32 +01:00
Strangerke
cff1f99b26 LAB: Set a default to the second parameter of readPict 2015-12-23 21:35:32 +01:00
Strangerke
4dfc428bac LAB: Some cleanup and refactoring 2015-12-23 21:35:32 +01:00
Strangerke
cc039ef113 LAB: Fix crash in intro 2015-12-23 21:35:32 +01:00
Strangerke
feeaf09486 LAB: Use rectScale in two other places 2015-12-23 21:35:32 +01:00
Strangerke
6981d750ea LAB: Fix a bug pointed out by wjp in getObject 2015-12-23 21:35:31 +01:00
Strangerke
7e047b45b7 LAB: Fix a delete[] pointed out by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke
af8f87d55d LAB: Fix compilation for non-MSVC compilers 2015-12-23 21:35:31 +01:00
Strangerke
baa638fe2e LAB: Remove useless call to c_str 2015-12-23 21:35:31 +01:00
Strangerke
ae9c2fea51 LAB: Replace char* by Common::String in several functions 2015-12-23 21:35:31 +01:00
Strangerke
a4d3bda5c1 LAB: Use an array of Common::Strings instead of bytes in Action 2015-12-23 21:35:31 +01:00
Strangerke
a41f9076c5 LAB: Fix malloc pointed by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke
a4266d2109 LAB: Better handling of the Trial check in the puzzle 2015-12-23 21:35:31 +01:00
Strangerke
08a035f0e5 LAB: Fix loop in flooVisited 2015-12-23 21:35:31 +01:00
Strangerke
c6e5232fa3 LAB: Fix bug identified by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke
eaa6f3bd01 LAB: Fix some GCC warnings 2015-12-23 21:35:30 +01:00
Strangerke
28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Strangerke
ee4e67a731 LAB: Move and improve function comments to header in DispMan 2015-12-23 21:35:30 +01:00
Strangerke
b9326e3850 LAB: Refactor some DispMan functions to use Common::String 2015-12-23 21:35:30 +01:00
Strangerke
a2097d2a2e LAB: Get rid of strcat by using Common::String 2015-12-23 21:35:30 +01:00
Strangerke
d827faf156 LAB: Rename a parameter for consistency with other function definitions 2015-12-23 21:35:30 +01:00
Strangerke
2981ccc243 LAB: get rid of the last strcpy 2015-12-23 21:35:30 +01:00
Strangerke
1d9e3cd561 LAB: Remove useless variable 2015-12-23 21:35:30 +01:00
Strangerke
3fcd3c1526 LAB: Avoid memory leaks with fonts 2015-12-23 21:35:30 +01:00
Strangerke
7f5826cfcb LAB: Fix check of ending animation, some renaming 2015-12-23 21:35:30 +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
2a80c8066c LAB: Plug all the remaining resource-related memory leaks 2015-12-23 21:35:29 +01:00
Filippos Karapetis
406710bac6 LAB: Plug a memory leak in the sound effects code 2015-12-23 21:35:29 +01:00
Filippos Karapetis
11d16bb34f LAB: Remove some leftover MSVC memory leak tester code 2015-12-23 21:35:29 +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
eb70efc900 LAB: Simplify decIncInv() 2015-12-23 21:34:10 +01:00
Filippos Karapetis
f1bb844e90 LAB: Fix a memory leak in the Image class 2015-12-23 21:34:10 +01:00
Filippos Karapetis
5c480485d4 LAB: Simplify the Amiga music flags 2015-12-23 21:34:10 +01:00
Filippos Karapetis
4d5856a95e LAB: Handle the music encoding of the Amiga version 2015-12-23 21:34:10 +01:00
Filippos Karapetis
70396e6fba LAB: Handle some differences in the intro of the Amiga version 2015-12-23 21:34:10 +01:00
Strangerke
5c360b4021 LAB: Remove dead code 2015-12-23 21:34:09 +01:00
Strangerke
b3b3c0cfd5 LAB: Remove parameters from processMainButton and performAction 2015-12-23 21:34:09 +01:00
D G Turner
a7afc80e18 LAB: Avoid variable shadowing compiler warning. 2015-12-23 21:34:09 +01:00