81 Commits

Author SHA1 Message Date
Strangerke
5b3380c6e6 LAB: Initialize some variables in constructor 2015-12-24 07:47:46 +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
34b59256fc LAB: Replace g_system by _system 2015-12-23 21:43:16 +01:00
Filippos Karapetis
f7395ba0ab LAB: Rewrite the action message functionality (_doNotShowMessage) 2015-12-23 21:43:16 +01:00
Filippos Karapetis
333d553716 LAB: Add a console, with two new commands (scene and scene_resources) 2015-12-23 21:43:16 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
02b606e375 LAB: Avoid to delete _screenImage->_imageData, which causes a crash 2015-12-23 21:35:34 +01:00
Strangerke
46f792d82d LAB: Delete some more variables in LabEngine destructor 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
Filippos Karapetis
567ed6a57a LAB: Formatting 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
Strangerke
21e6f40301 LAB: Fix a regression related to random number generation, some renaming 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
Filippos Karapetis
99e09b2ca2 LAB: Merge the different X image maps 2015-12-23 21:34:03 +01:00
Filippos Karapetis
2e09975086 LAB: Simplify the LabEngine destructor 2015-12-23 21:34:03 +01:00
Filippos Karapetis
e994c90d9b LAB: Simplify the crumb wait time code 2015-12-23 21:34:03 +01:00
Filippos Karapetis
2332fb617c LAB: Rename gadget to button 2015-12-23 21:34:03 +01:00
Strangerke
aef304a83b LAB: Some renaming and refactoring in special.cpp 2015-12-23 21:34:01 +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
Filippos Karapetis
8f5c91ee07 LAB: Move all the tile puzzle related functionality into its own class 2015-12-23 21:34:00 +01:00
Strangerke
2d90f8a08d LAB: Move map function to LabEngine class, some renaming 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
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
Eugene Sandulenko
eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Eugene Sandulenko
d2a540ea55 LAB: Rename graphics.* to dispman.* 2015-12-23 21:33:56 +01:00
Strangerke
5bc48cbbdd LAB: Move utility functions to a separate class 2015-12-23 21:33:54 +01:00
Filippos Karapetis
b6397c0af7 LAB: Use the correct bitmap buffer in the Anim class 2015-12-23 21:33:54 +01:00
Filippos Karapetis
0e886461d0 LAB: Replace some uses of malloc() with new 2015-12-23 21:33:53 +01:00
Filippos Karapetis
62c4acc6b3 LAB: Change the gadget lists to use Common::List 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
785772e86f LAB: Move fade functions to DisplayMan, some renaming 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
fa966938c8 LAB: Remove vga.cpp 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
c42973604c LAB: Split the tile puzzle related functions into a separate file 2015-12-23 21:33:51 +01:00
Filippos Karapetis
ea6d4579e2 LAB: Merge all of the different image drawing functions 2015-12-23 21:33:51 +01:00
Filippos Karapetis
eb0a52e7fb LAB: Remove some superfluous initialization code 2015-12-23 21:33:50 +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
d376fd8dd0 LAB: Get rid of g_lab in several LabEngine and DisplayMan functions 2015-12-23 21:33:50 +01:00
Strangerke
f7321fa278 LAB: Make more functions member of LabEngine class 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