74 Commits

Author SHA1 Message Date
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Strangerke
2f03bc7776 LAB: Add a workaround to load the right file in rooms 121 & 122 (Dos and Windows) 2016-01-25 00:35:38 +01:00
Strangerke
fb34336863 LAB: Do not crash the DOS version in case of missing file as some files are known to be missing in the original 2016-01-25 00:21:28 +01:00
Strangerke
78b9a903ad LAB: Add a workaround for DOS version using long filenames 2016-01-24 13:34:37 +01:00
Filippos Karapetis
ad1aac46ce LAB: Remove superfluous calls to updateEvents()
These are leftovers, as updateEvents() was called to fill in the music
buffer
2016-01-14 23:41:36 +02:00
Filippos Karapetis
e8d1100fec LAB: Allow the game to be launched from the GAME folder
The FONTS folder is pretty much useless, so if a user points ScummVM
to the GAME folder, handle the game files properly
2016-01-14 23:41:34 +02:00
Torbjörn Andersson
9ec9bca25b LAB: Fix small getFont() memory leak 2015-12-28 11:05:36 +01:00
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Filippos Karapetis
c9b103b2db LAB: Use friendlier names for lists 2015-12-25 14:12:05 +02:00
Willem Jan Palenstijn
ad182f1f69 LAB: Make readAction consistent with the other read functions 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
1a1525a155 LAB: Avoid manual memory management of ViewData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
cd3ebf687c LAB: Avoid manual memory management of RuleList 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn
b614ccc2e8 LAB: Avoid manual memory management in Action lists 2015-12-24 17:42:40 +01: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
2f1506edec LAB: Replace do..while by while statements in resource 2015-12-23 21:43:16 +01:00
Filippos Karapetis
ced5b677f6 LAB: Add enums for action types, rule types ad rule actions 2015-12-23 21:35:35 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
7380ddf400 LAB: Change RuleList to a Common::List<Rule> as suggested by wjp 2015-12-23 21:35:34 +01:00
Strangerke
db99a31acc LAB: Fix stupid regression 2015-12-23 21:35:34 +01:00
Strangerke
0823ebb36f LAB: Reduce the use of redirections in Resource 2015-12-23 21:35:34 +01:00
Strangerke
26c48305b5 LAB: Add a couple of safeguards 2015-12-23 21:35:34 +01:00
Strangerke
e88d09d2ec LAB: Fix delete in previous commit 2015-12-23 21:35:33 +01:00
Strangerke
df05be466e LAB: Fix readString when encrypted strings are stored with a wrong size and multiple \0 2015-12-23 21:35:33 +01:00
Strangerke
b53735ba06 LAB: Constify some parameters 2015-12-23 21:35:32 +01:00
Strangerke
af8f87d55d LAB: Fix compilation for non-MSVC compilers 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
a41f9076c5 LAB: Fix malloc pointed by eriktorbjorn 2015-12-23 21:35:31 +01:00
Strangerke
7f5826cfcb LAB: Fix check of ending animation, some renaming 2015-12-23 21:35:30 +01:00
Filippos Karapetis
2a80c8066c LAB: Plug all the remaining resource-related memory leaks 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
c5528a631d LAB: Handle some differences of the Amiga version
The Amiga version is still not working, as the CONTROL and INV files
are missing, and the format of the font files is different
2015-12-23 21:34:09 +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
52d0243eff LAB: Fix the coding style of a some if/else statements 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
Filippos Karapetis
1524e20ef1 LAB: Simplify the room doors array 2015-12-23 21:34:03 +01:00
Strangerke
67b3960968 LAB: Remove some useless use of g_lab 2015-12-23 21:33:59 +01:00
Strangerke
199fa254f9 LAB: Rename CloseDataPtr pointers, some refactoring 2015-12-23 21:33:59 +01:00
Eugene Sandulenko
e5f753749f LAB: Reduced dependency on processroom.h. Yay! 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
66f2935a22 LAB: Reduced header dependency: dispman.h, eventman.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
9a9b752c0e LAB: More header dependency redux 2015-12-23 21:33:57 +01:00
Eugene Sandulenko
d8e01fe23a LAB: Reduce header dependency from music.h 2015-12-23 21:33:56 +01:00
Eugene Sandulenko
eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Filippos Karapetis
0e886461d0 LAB: Replace some uses of malloc() with new 2015-12-23 21:33:53 +01:00
Filippos Karapetis
87201cfed2 LAB: Rename and clean up some of the scene transition code 2015-12-23 21:33:53 +01:00
Strangerke
5636181b78 LAB: Move text functions to DisplayMan, some renaming 2015-12-23 21:33:52 +01:00
Eugene Sandulenko
d264621832 LAB: Fix compilation 2015-12-23 21:33:52 +01:00