Commit Graph

131 Commits

Author SHA1 Message Date
Eugene Sandulenko
cbf4c876e5 LAB: Turned another if chain into switch 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
1120958dac LAB: Removed useless condition 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
5848a20af2 LAB: Turned another chain of ifs into a switch statement 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
abb3e233bf LAB: More code simplification 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
ee73e5ca15 LAB: Simplified code 2015-12-23 21:34:04 +01:00
Eugene Sandulenko
a7d5ae6b4b LAB: Converted ifs into switch() 2015-12-23 21:34:04 +01:00
Strangerke
ad54a75b85 LAB: Add _vm to Image class 2015-12-23 21:34:03 +01:00
Strangerke
2b91bf2f34 LAB: Some renaming in EventMan 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
Filippos Karapetis
c883769adc LAB: Move the LAB2 teaser screen in a separate function 2015-12-23 21:34:03 +01:00
Filippos Karapetis
0dcfd74b84 LAB: Simplify fromCrumbs() 2015-12-23 21:34:02 +01:00
Filippos Karapetis
577b60d785 LAB: Move getMsg to the event manager 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
Filippos Karapetis
cd85e5dd34 LAB: Remove unneeded static 2015-12-23 21:34:01 +01:00
Filippos Karapetis
452c20ab8a LAB: Get rid of the rest of the custom time delay functions 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
Strangerke
7bb45a8eaa LAB: Move timing functions to the utility class 2015-12-23 21:34:01 +01:00
Filippos Karapetis
4fb53ad170 LAB: Some renames, simplified saveGame() and loadGame() 2015-12-23 21:34:00 +01:00
Filippos Karapetis
46a25b93ab LAB: Rewrite some code using switch statements 2015-12-23 21:34:00 +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
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
23bbd70aac LAB: Reduced variables scope 2015-12-23 21:33:58 +01:00
Eugene Sandulenko
c1fc1687fc LAB: Code naming standards 2015-12-23 21:33:58 +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
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
Eugene Sandulenko
eccb852749 LAB: Removed unnecessary includes 2015-12-23 21:33:56 +01:00
Filippos Karapetis
c9ca5a0dd0 LAB: Remove unused return values 2015-12-23 21:33:56 +01:00
Strangerke
2d0fab7f4c LAB: Use // for comments 2015-12-23 21:33:55 +01:00
Strangerke
ae056a767b LAB: Use doxygen format for function 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
5bc48cbbdd LAB: Move utility functions to a separate 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
1e11090edc LAB: Remove useless return 2015-12-23 21:33:53 +01:00
Filippos Karapetis
9cc30c3c6d LAB: Clean up processArrow() 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
Strangerke
895d29c1ae LAB: Some more renaming, remove useless variables 2015-12-23 21:33:52 +01:00
Strangerke
2611b62d5e LAB: Rename parse types 2015-12-23 21:33:52 +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
a9dc3a9302 LAB: Remove some useless uses of g_lab 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