Commit Graph
49 Commits
Author SHA1 Message Date
Filippos Karapetis eb97c05ccc LAB: Merge all the different scene restoring code after saving/loading 2016-02-08 00:19:05 +02:00
Filippos Karapetis b61ade788e LAB: Call checkRoomMusic() when changing a room 2016-01-14 23:41:33 +02:00
Filippos Karapetis cd2520b795 LAB: Get rid of setDirection()
A leftover from code restructuring
2016-01-14 23:41:30 +02:00
Filippos Karapetis 463f889447 LAB: Rename the members of the CrumbData struct
This helps to distinguish them from the LabEngine variables
2016-01-14 23:41:29 +02:00
Filippos Karapetis 4548cbddb5 LAB: Add support for loading games from the launcher 2015-12-27 23:07:41 +02:00
Filippos Karapetis c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Filippos Karapetis 3215d14e82 LAB: Rename TilePuzzle to SpecialLocks, to better reflect its purpose
This class handles two different special locks, the tile puzzle and
the combination door
2015-12-27 01:42:45 +02:00
Willem Jan Palenstijn 01d99d213d LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 14:18:44 +01:00
Strangerke 3740560153 LAB: Use constant for breadcrumbs-related loops 2015-12-25 02:18:07 +01:00
Strangerke 9e048bc207 LAB: Stop adding useless garbage at the end of the savegames 2015-12-24 08:03:04 +01:00
Strangerke 0bf89c1eec LAB: Cleanup the way shouldQuit is called 2015-12-24 01:21:40 +01:00
Filippos Karapetis 29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke 34b59256fc LAB: Replace g_system by _system 2015-12-23 21:43:16 +01:00
Strangerke 6aad3aebd9 LAB: Move some more comments to header files 2015-12-23 21:35:33 +01:00
Strangerke b53735ba06 LAB: Constify some parameters 2015-12-23 21:35:32 +01:00
Strangerke cff1f99b26 LAB: Set a default to the second parameter of readPict 2015-12-23 21:35:32 +01:00
D G Turner 9048d08a05 LAB: Correct compiler warning in savegame code. 2015-12-23 21:34:09 +01:00
Strangerke 691d9e7e2e LAB: Fix memory leaks in savegame code 2015-12-23 21:34:09 +01:00
Eugene Sandulenko 167d9c48a3 LAB: Reduced scope of a few more variables 2015-12-23 21:34:05 +01:00
Strangerke 1d027704e0 LAB: Fix mouse cursor after save/load 2015-12-23 21:34:05 +01:00
Strangerke a784e2bd5c LAB: Finally get rid of g_lab 2015-12-23 21:34:03 +01:00
Filippos Karapetis 4fb53ad170 LAB: Some renames, simplified saveGame() and loadGame() 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 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 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 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
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 2611b62d5e LAB: Rename parse types 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 f48cf343c2 LAB: Move doNotes and doWestPaper to LabEngine, remove some useless defines 2015-12-23 21:33:51 +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 646c29d5a3 LAB: Renames and moved vars to classes 2015-12-23 21:33:48 +01:00
Strangerke 8fa64824a2 LAB: Some renaming, move a couple of variables to game engine 2015-12-23 21:33:47 +01:00
Strangerke f817c1de2e LAB: Get rid of stddefines 2015-12-23 21:33:45 +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
Filippos Karapetis b1eb345f80 LAB: Move some static variables to the top. Some cleanup 2015-12-15 00:05:02 +01:00
Filippos Karapetis 5bc37fd878 LAB: Fix loading of saved games 2015-12-15 00:05:02 +01:00
Filippos Karapetis 0a71969018 LAB: Rewrite the save/load system
The two different save/load dialogs from the original have been dropped
and replaced with the ScummVM save/load dialogs. The whole save/load
code has been rewritten to be endian safe and use our common code. The
original save format has not been preserved. The current implementation
crashes when loading, but it's a good start
2015-12-15 00:05:02 +01:00
Eugene Sandulenko cb8f843296 LAB: Objectify LabSets 2015-12-15 00:05:02 +01:00
Eugene Sandulenko 8ca14d1d64 LAB: Initial code 2015-12-15 00:05:02 +01:00