Commit graph

62 commits

Author SHA1 Message Date
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
Eugene Sandulenko
c320e6d0ae LAB: Move inventory to LabEngine class 2015-12-23 21:33:49 +01:00
Eugene Sandulenko
646c29d5a3 LAB: Renames and moved vars to classes 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
5c246e4189 LAB: Remove leftover after rebase/merge 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
d1e8e6dfbd LAB: Fix bug during initialization 2015-12-23 21:33:48 +01:00
Eugene Sandulenko
44e098b06d LAB: More renames 2015-12-23 21:33:47 +01:00
Eugene Sandulenko
38ed7f930f LAB: Renames and moved static variables to class 2015-12-23 21:33:47 +01:00
Eugene Sandulenko
69bdfae235 LAB: Plug memory leak 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
6b24481358 LAB: Move functions related to keyboard events to Event 2015-12-23 21:33:46 +01:00
Strangerke
d656aa4859 LAB: Introduce the Anim class (WIP) 2015-12-23 21:33:46 +01:00
Eugene Sandulenko
3f33ad277d LAB: More renames 2015-12-23 21:33:46 +01:00
Strangerke
6395095b83 LAB: Move crumb variables to main class 2015-12-23 21:33:44 +01:00
Strangerke
6cee2eb2be LAB: Move RoomNum to main engine class 2015-12-23 21:33:44 +01:00
Strangerke
d0c6c73036 LAB: Rename _music, delete it in engine destructor 2015-12-23 21:33:44 +01:00
Strangerke
05f54b7fe0 LAB: Make _music a member of LabEngine instead of a global 2015-12-23 21:33:44 +01:00
Strangerke
771e558d90 LAB: Move the global variable g_resource to the main engine class 2015-12-23 21:33:44 +01:00
Strangerke
0c84355f4a LAB: Move IsHiRes to main engine class 2015-12-23 21:33:43 +01:00
Strangerke
d96484d81c LAB: Move mouse code in separate class, move some functions to LabEngine. (WIP) 2015-12-23 21:33:43 +01:00
Strangerke
c485d9e8a6 LAB: Some rework related to the mouse code 2015-12-23 21:33:43 +01:00