Commit graph

82 commits

Author SHA1 Message Date
Strangerke
28c74aed05 LAB: More work on the comments 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
7f5826cfcb LAB: Fix check of ending animation, some renaming 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
Strangerke
9c7e372a21 LAB: make takeItem use Common::Point, some refactoring 2015-12-23 21:34:06 +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
21e6f40301 LAB: Fix a regression related to random number generation, some renaming 2015-12-23 21:34:04 +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
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
Strangerke
47368c157e LAB: Review Music declaration, some refactoring and renaming 2015-12-23 21:34:02 +01:00
Filippos Karapetis
1b0a7db0b6 LAB: Get rid of getTime(), readBlock() and getRandom()
Also, simplify some time-related functions
2015-12-23 21:34:01 +01:00
Strangerke
7bb45a8eaa LAB: Move timing functions to the utility class 2015-12-23 21:34:01 +01:00
Strangerke
8e88d31025 LAB: Move processroom functions to LabEngine 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
9af853b6ab LAB: Reduced last reducable header: anim.h 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
5fad5cece3 LAB: Reduced header dependency: labsets.h, utils.h 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
53de3143f6 LAB: Cleanup doGoForward() 2015-12-23 21:33:56 +01:00
Strangerke
2d0fab7f4c LAB: Use // for comments 2015-12-23 21:33:55 +01:00
Strangerke
3a1ee64761 LAB: Review spacing 2015-12-23 21:33:55 +01:00
Filippos Karapetis
00d61638ac LAB: Merge parsetypes.h and parsefun.h into processroom.h 2015-12-23 21:33:54 +01:00
Strangerke
dcefb696ed LAB: Remove more extern variables 2015-12-23 21:33:54 +01:00
Strangerke
8059277928 LAB: remove some useless forward references and includes 2015-12-23 21:33:54 +01:00
Strangerke
5bc48cbbdd LAB: Move utility functions to a separate class 2015-12-23 21:33:54 +01:00
Filippos Karapetis
75c9d0b585 LAB: Fix spelling 2015-12-23 21:33:53 +01:00
Filippos Karapetis
9cc30c3c6d LAB: Clean up processArrow() 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
2611b62d5e LAB: Rename parse types 2015-12-23 21:33:52 +01:00
Strangerke
803dbcee90 LAB: Move _rooms to LabEngine, some renaming 2015-12-23 21:33:52 +01:00
Strangerke
b3269dc80d LAB: Move readMusic to the Music class 2015-12-23 21:33:52 +01:00
Strangerke
438e7a24f5 LAB: Get rid of some global variables 2015-12-23 21:33:51 +01:00
Strangerke
ef99d82d13 LAB: Move more functions to DisplayMan 2015-12-23 21:33:51 +01:00
Filippos Karapetis
a182a6af1a LAB: Rewrite picture handling and get rid of the memory manager 2015-12-23 21:33:50 +01:00
Strangerke
733fbe4c62 LAB: Start working on a separate DisplayMan class 2015-12-23 21:33:50 +01:00
Eugene Sandulenko
c320e6d0ae LAB: Move inventory to LabEngine class 2015-12-23 21:33:49 +01:00
Eugene Sandulenko
58e16e2cd7 LAB: More renames and C++'ify 2015-12-23 21:33:49 +01:00
Filippos Karapetis
f76f0d957a LAB: Merge room views into an array 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
3b40199ab6 LAB: Move doActions() to LabEngine class 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
4424463f06 LAB: Moved CPtr to engine class 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
646c29d5a3 LAB: Renames and moved vars to classes 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
44e098b06d LAB: More renames 2015-12-23 21:33:47 +01:00
Strangerke
8fa64824a2 LAB: Some renaming, move a couple of variables to game engine 2015-12-23 21:33:47 +01:00
Strangerke
2fb0250e0c LAB: Renaming of Anim 2015-12-23 21:33:46 +01:00