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
a01f068969
LAB: Merge transitions in dispman
2015-12-23 21:34:01 +01:00
Strangerke
f47d41930f
LAB: Review LabEngine definition, make private a lot of members
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
0c0b2da235
LAB: Move some defines which are only used in the tile puzzle
2015-12-23 21:34:00 +01:00
Filippos Karapetis
4fb53ad170
LAB: Some renames, simplified saveGame() and loadGame()
2015-12-23 21:34:00 +01:00
Filippos Karapetis
7d4e71d29e
LAB: Change the map floor showing code, when changing floors
...
This greatly simplifies the code that shows a floor when an arrow is
pressed. Also, it changes the behavior of the arrows to show all of
the visited floors, instead of a specific subset. I believe that this
makes the map better, more usable and less confusing than the original
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
b77f726469
LAB: Reduce some variable scopes, some renaming
2015-12-23 21:34:00 +01:00
Filippos Karapetis
e0d546a4eb
LAB: Remove extra whitespace
2015-12-23 21:34:00 +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
9f7ad4b5f2
LAB: Fix crash when closing the map
2015-12-23 21:34:00 +01:00
Eugene Sandulenko
165c0b3b49
LAB: More vars renaming
2015-12-23 21:34:00 +01:00
Filippos Karapetis
9c94d140db
LAB: Simplify bitmap flags
2015-12-23 21:34:00 +01:00
Strangerke
67b3960968
LAB: Remove some useless use of g_lab
2015-12-23 21:33:59 +01:00
Strangerke
f59ceebad9
LAB: Move readBlock to the utility class
2015-12-23 21:33:59 +01:00
Filippos Karapetis
e7a0e05301
LAB: Merge playDiff() into readDiff()
2015-12-23 21:33:59 +01:00
Strangerke
b586f76f94
LAB: Review struct definitions in processroom
2015-12-23 21:33:59 +01:00
Strangerke
8e88d31025
LAB: Move processroom functions to LabEngine
2015-12-23 21:33:59 +01:00
Strangerke
4a9286ef27
LAB: Move getWord to DisplayMan
2015-12-23 21:33:59 +01:00
Strangerke
2d90f8a08d
LAB: Move map function to LabEngine class, some renaming
2015-12-23 21:33:59 +01:00
Strangerke
1e9ee6ef4a
LAB: Some refactoring and renaming in map.cpp
2015-12-23 21:33:59 +01:00
Strangerke
72c08cfc8c
LAB: Move mapScale functions to the utility class
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
0af299d3c7
LAB: Move saveRestoreGame() to saveload.cpp
2015-12-23 21:33:58 +01:00
Eugene Sandulenko
c42629674b
LAB: Code naming, reduced variable scope
2015-12-23 21:33:58 +01:00
Filippos Karapetis
23f73c3244
LAB: Fix regression when scrolling tiles
...
A regression of 28991ed1224ed3d0dbaf345a065a0bf79fa70ea9
2015-12-23 21:33:58 +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
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
c062dee369
LAB: Optimized dependency on common headers
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
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
b1585b2c62
LAB: Reduced header dependency: savegame.h
2015-12-23 21:33:57 +01:00
Eugene Sandulenko
bb80b6d46b
LAB: Rename labfun.h to savegame.h
2015-12-23 21:33:57 +01:00
Eugene Sandulenko
a53045626d
LAB: Moved direction defines to lab.h
2015-12-23 21:33:57 +01:00
Eugene Sandulenko
d2cf293e4a
LAB: More intra-header dependency reduction
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
Filippos Karapetis
151e27f4b1
LAB: Fix regression in setCurClose(). Fixes closeups
...
A regression from 78e8896ce7583fbd1feee8e3e9c1aca0f11c2392
2015-12-23 21:33:56 +01:00
Filippos Karapetis
53de3143f6
LAB: Cleanup doGoForward()
2015-12-23 21:33:56 +01:00