Commit Graph
86814 Commits
Author SHA1 Message Date
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
Filippos Karapetis 90e221a570 LAB: Plug a memory leak 2015-12-23 21:33:56 +01:00
Filippos Karapetis c9ca5a0dd0 LAB: Remove unused return values 2015-12-23 21:33:56 +01:00
Filippos Karapetis ff6dfee221 LAB: Initialize the game interface correctly after saving/loading 2015-12-23 21:33:56 +01:00
Filippos Karapetis 4340295fbf LAB: Rename floor defines 2015-12-23 21:33:56 +01:00
Filippos Karapetis c4ca8223b7 LAB: Plug a memory leak in freeButtonList() 2015-12-23 21:33:56 +01:00
Filippos Karapetis 6230fcbeb9 LAB: Simplify the journal and map gadget handling 2015-12-23 21:33:55 +01:00
Filippos Karapetis 0b2bf45a09 LAB: Simplify the gadget enabling/disabling code 2015-12-23 21:33:55 +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