Commit graph

35 commits

Author SHA1 Message Date
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
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
9c94d140db LAB: Simplify bitmap flags 2015-12-23 21:34:00 +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
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
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
Strangerke
2d0fab7f4c LAB: Use // for comments 2015-12-23 21:33:55 +01:00
Filippos Karapetis
21fc36bfad LAB: Get rid of _isBM 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
Strangerke
dcefb696ed LAB: Remove more extern variables 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
320e658cb1 LAB: Get rid of the intermediate display bitmap pointer 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
156ad539ff LAB: Move readSound() into the Music class 2015-12-23 21:33:53 +01:00
Filippos Karapetis
4f1a8f9fa4 LAB: Merge the uniffMemory() code into unDiff() 2015-12-23 21:33:53 +01:00
Strangerke
f3a24ff593 LAB: Some refactoring, remove dead code and a useless return value 2015-12-23 21:33:53 +01:00
Filippos Karapetis
2eb430dcff LAB: Simplify the calling code of playSoundEffect() 2015-12-23 21:33:52 +01:00
Filippos Karapetis
0f41d8894c LAB: Simplify usage of the DIFF file buffer 2015-12-23 21:33:52 +01:00
Strangerke
ef99d82d13 LAB: Move more functions to DisplayMan 2015-12-23 21:33:51 +01:00
Filippos Karapetis
9ba30835a2 LAB: Refactor the remaining functions in labfile.cpp 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
733fbe4c62 LAB: Start working on a separate DisplayMan class 2015-12-23 21:33:50 +01:00
Strangerke
53d92be11f LAB: remove the use of g_lab in Anim 2015-12-23 21:33:46 +01:00
Strangerke
2fb0250e0c LAB: Renaming of Anim 2015-12-23 21:33:46 +01:00
Strangerke
7651ac7388 LAB: Get rid of readdiff.cpp 2015-12-23 21:33:46 +01:00
Strangerke
d656aa4859 LAB: Introduce the Anim class (WIP) 2015-12-23 21:33:46 +01:00