Commit Graph
102 Commits
Author SHA1 Message Date
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 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 7e047b45b7 LAB: Fix a delete[] pointed out by eriktorbjorn 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 eaa6f3bd01 LAB: Fix some GCC warnings 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 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
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
D G Turner a7afc80e18 LAB: Avoid variable shadowing compiler warning. 2015-12-23 21:34:09 +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 f452834f70 LAB: Remove unused variables in DIFFHeader and BitMap 2015-12-23 21:34:08 +01:00
Filippos Karapetis bc25b6be55 LAB: Change the graphics and audio code to use Common::File directly 2015-12-23 21:34:08 +01:00
Filippos Karapetis 318dc59382 LAB: Make setUpScreens() a bit easier to read 2015-12-23 21:34:08 +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
Strangerke f932f39214 LAB: reduce a variable scope, remove useless code 2015-12-23 21:34:07 +01:00
Strangerke 83126e84ee LAB: Make the use of nullptr consistent through the engine 2015-12-23 21:34:06 +01:00
Strangerke 3f1bb66959 LAB: Fix memory leak 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 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 21e6f40301 LAB: Fix a regression related to random number generation, some renaming 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 ad54a75b85 LAB: Add _vm to Image class 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
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
Strangerke aef304a83b LAB: Some renaming and refactoring in special.cpp 2015-12-23 21:34:01 +01:00
Strangerke a01f068969 LAB: Merge transitions in dispman 2015-12-23 21:34:01 +01:00
Filippos Karapetis aa7ec3654d LAB: Refactor readPictToMem()
This fixes crashes in the teleporter and the journal, and plugs several
memory leaks
2015-12-23 21:34:00 +01:00
Filippos Karapetis 9c94d140db LAB: Simplify bitmap flags 2015-12-23 21:34:00 +01:00
Strangerke 4a9286ef27 LAB: Move getWord to DisplayMan 2015-12-23 21:33:59 +01:00
Filippos Karapetis f137e1af15 LAB: Use a local buffer for moving tiles in the tile puzzle
This fixes the crash when a tile is moved
2015-12-23 21:33:58 +01:00
Eugene Sandulenko cf020db741 LAB: Converted DisplayMan::_dispBitMap to a pointer. 2015-12-23 21:33:58 +01:00
Eugene Sandulenko 9015cf72a3 LAB: Reduced header dependency: interface.h 2015-12-23 21:33:57 +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 5fad5cece3 LAB: Reduced header dependency: labsets.h, utils.h 2015-12-23 21:33:57 +01:00
Eugene Sandulenko 8e9798a0bc LAB: Reduce header intra-dependency. Reduced image.h dependency 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