aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/saveload.cpp
AgeCommit message (Collapse)Author
2016-04-11DRASCULA: Fix typo in variable nameThierry Crozat
2016-04-11DRASCULA: Fix random crash when loading pendulum scene savegameThierry Crozat
When saving from the pendulum scene the curX and curY values are negative while the curWidth and curHeight values are unset. This causes random crashes as we may do an array out of bound access when enterRoom() is called at the end of the load.
2016-04-11DRASCULA: Rename variable to clarify its meaningThierry Crozat
2016-04-11DRASCULA: Improve loading savegames in Pendulum sceneThierry Crozat
The previous fix only fixed the incomplete state when loading from the launcher. Now this is fixed when loading from the game as well. It also fixes loading a savegame from the first stage of the pendulum scene (when the protagonist is not visible) to any other scene in chapter 6. The protagonist was not made visible again when loading the savegame.
2014-02-18DRASCULA: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-19DRASCULA: Some renaming. Also, get rid of some extraneous globalsFilippos Karapetis
This removes the superfluous talkHeight, talkWidth and timeDiff variables. It also changes _loadedDifferentChapter to be a boolean
2013-04-24DRASCULA: Remove dead codeWillem Jan Palenstijn
2013-01-04DRASCULA: Properly set the game play time when loading a saved gameFilippos Karapetis
2013-01-04Oops, fix save converter messageFilippos Karapetis
2013-01-04DRASCULA: Add advanced savegame functionalityFilippos Karapetis
This cleans up the save/load code and resolves multiple issues with the original save/load screen. Save game timestamps and thumbnails are now implemented, together with the ability to load a game from the launcher. F7 is now mapped to the ScummVM load dialog, and F10 to the save dialog (if the user has selected to use the ScummVM save screen).
2011-11-02DRASCULA: Fix warningsEugene Sandulenko
2011-08-24DRASCULA: Separated the save name syncing code, and added a TODOFilippos Karapetis
2011-06-02DRASCULA: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-01-28DRASCULA: Fixed Code to allow Quit/RTL Function and avoid Memory Leakage.David Turner
A memory leakage was traced down to a failure to call the engine destructor. This was due to the engine directly calling OSystem quit() i.e. _system->quit(), rather than just allowing engine::run() to return. Have removed this code and implemented the changes required to allow graceful Quit/RTL to occur. svn-id: r55583
2010-10-15DRASCULA: Fix some code analysis warnings (bug #3087830)Eugene Sandulenko
svn-id: r53473
2010-09-21DRASCULA: Fix invalid memory access on inventory screenTorbjörn Andersson
When clicking outside of all inventory objects, the whichObject() function would return 43, which is an invalid inventoryObjects[] index. I think that's what caused it to crash for me. There are a few other inventoryObjects[]-related changes as well. svn-id: r52843
2009-05-19COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are ↵Max Horn
deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses) svn-id: r40725
2009-05-13Normalized types for several variables. FormattingEugene Sandulenko
svn-id: r40521
2009-05-12Replace verb numbers with constants in selectVerb() callEugene Sandulenko
svn-id: r40476
2008-12-03Make sure that savegame names are 0-terminatedFilippos Karapetis
svn-id: r35220
2008-12-03Simplify line reading with the simpler readLine(), instead of readLine_NEWFilippos Karapetis
svn-id: r35216
2008-12-03readLine_OLD -> readLine_NEWFilippos Karapetis
svn-id: r35213
2008-09-16Removed the confirmation speech when a game is saved - it's "99.als" instead ↵Filippos Karapetis
of "s99.als", but the main problem is that it's not translated in the English version and it's in Spanish (plus it's creepy and annoying...) svn-id: r34573
2008-09-11- The game's cursor is now handled via ScummVM's cursor manager, instead of ↵Filippos Karapetis
the game itself (this means that there might be regressions where the cursor is visible when it shouldn't be) - Removed the textSurface pointer, which was used in the Spanish version. Non-Spanish versions of the game hold the font data in the tableSurface buffer (which contains picture 96). The font data for Spanish versions is in picture 974. Now both versions load their font data from the tableSurface buffer - hay_que_load -> loadedDifferentChapter - Merged withoutVerb() and selectVerb() This is a big change, it might lead to regressions! svn-id: r34488
2008-09-03Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; ↵Max Horn
added a new alternate SeekableReadStream::readLine() instead svn-id: r34315
2008-08-26Simplified several calls to copyBackground()Filippos Karapetis
svn-id: r34181
2008-08-10hint the backend to show the VKKostas Nakos
svn-id: r33756
2008-06-10Pressing enter when entering the name of a save game should save that gameFilippos Karapetis
svn-id: r32661
2008-06-10drawSurface1 -> bgSurfaceFilippos Karapetis
svn-id: r32644
2008-06-07Shuffled around more code. Now the files look more manageable.Eugene Sandulenko
svn-id: r32599