aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/saveload.cpp
AgeCommit message (Collapse)Author
2013-04-27AGI: Null terminate string. CID 1003890Eugene Sandulenko
2013-04-27AGI: Null terminate string. CID 1003889Eugene Sandulenko
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-06-10GUI: Refactor default savegame description creation.Johannes Schickel
Formerly the GMM, AGI and SCI duplicated the logic for USE_SAVEGAME_TIMESTAMP. Now I added a method to SaveLoadChooser instead, which takes care of this. This might not be the best placement of such a functionality, thus I added a TODO which talks about moving it to a better place.
2012-06-10GUI: Add helper to SaveLoadChooser, which uses the currently active target.Johannes Schickel
This reduces the code duplication in all client code, which formerly duplicated the querying of the plugin, game id etc. and now simply calls the newly added method runModalWithCurrentTarget() on a SaveLoadChooser object.
2012-06-10GUI: Get rid of SaveLoadChooser::setSaveMode.Johannes Schickel
We already pass the title and process button name to the constructor of SaveLoadChooser and then do not offer any way of changing it, thus changing the edit mode of the chooser is kind of pointless and was never actually used. Instead we pass the mode on SaveLoadChooser construction now.
2012-05-03AGI: Proper handling of the cancel button when saving/loadingFilippos Karapetis
2012-03-27AGI: Add played time information to saved gamesFilippos Karapetis
2012-03-27AGI: Use the ScummVM dialogs for saving/loadingFilippos Karapetis
An option has been added to use the original ones, if needed
2012-02-22ALL: Fix some signed/unsigned comparison warnings.Johannes Schickel
2011-12-10AGI: Replace usage of 'goto'.D G Turner
2011-11-02AGI: Fix warningsEugene Sandulenko
2011-09-26AGI: Clean up save/load String usageWillem Jan Palenstijn
2011-09-25AGI: Fix compilationFilippos Karapetis
2011-09-25AGI: Switched to Common::String in the save/load codeFilippos Karapetis
2011-09-25AGI: Rewrite getSavegameFilename() so that it doesn't try to return a ↵Filippos Karapetis
pointer to a local variable
2011-09-25AGI: Replaced odd usage of sprintf() with strcpy()Filippos Karapetis
Fixes an odd bug with savegame names being truncated in MSVC
2011-08-14AGI: Renamed some #defines to our code conventions and moved them to enumsEugene Sandulenko
2011-08-07ALL: Use Graphics::skipThumbnail() where appropriate.Christoph Mallon
2011-06-02AGI: Replace snprintf() usage with Common::String::format()D G Turner
Safer and less portability issues.
2011-06-02ENGINES: Change 2nd param of Engine::saveGameState to Common::StringMax Horn
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-04-14ALL: centre -> centerMax Horn
2011-04-14ALL: colour -> colorMax Horn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-10-03AGI: Properly detect the autosave slot in the save dialogTorbjörn Andersson
Forward-ported from branch. Let's do this the easy way for now, even if I'm not sure why the save dialog shows the autosave slot anyway. svn-id: r52997
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-06-18AGI: Change some #defines to enumsMax Horn
svn-id: r50033
2010-06-15AGI: Fix bug #2960567.Eugene Sandulenko
Bug #2960567: "AGI: Ego partly erased in Load/Save thumbnails". Force screen redraw after confirmation window is closed. svn-id: r49734
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-03Reduce header dependencies for AGI engine.Eugene Sandulenko
svn-id: r46942
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-20AGI: Turn g_tickTimer & g_mouse into members of class AgiEngine resp. AgiBaseMax Horn
svn-id: r45259
2009-10-19AGI: cleanupMax Horn
svn-id: r45256
2009-10-08Introduce a new struct TimeDate, replacing struct tm in client code. May ↵Max Horn
lead to compilation issues in ports, which should be trivial to fix, though svn-id: r44793
2009-09-23Commit modified patch from bug report #2849084 "AGI: Crash when saving ↵Johannes Schickel
fallback-matched game" to fix that bug. svn-id: r44273
2009-08-03Fix for bug #2828333 (AGI: KQ1: Greensleeves always plays):Kari Salminen
- Made all savegame loading in AGI do the same pre-load and post-load stuff. - Moved load/saveGameState from AgiBase to AgiEngine - Added rudimentary error handling to load/saveGameState - Incidentally also fixes the hanging note from bug #2798797. svn-id: r43025
2009-07-22Move functions from agi.cpp to more appropriate files.Eugene Sandulenko
svn-id: r42662
2009-06-06Correct implementation for set.key opcode. Fixes #2605104: "AGI: Manhunter, ↵Eugene Sandulenko
F3 hotkey dosent work", removed number of hacks svn-id: r41259
2009-06-06CleanupEugene Sandulenko
svn-id: r41254
2009-06-06CleanupEugene Sandulenko
svn-id: r41251
2009-06-06Stop abusing game flag.Eugene Sandulenko
svn-id: r41247
2009-06-06Store and compare MD5s in the savesEugene Sandulenko
svn-id: r41245
2009-06-06Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"Eugene Sandulenko
svn-id: r41243
2009-06-06Whitespace fixes and C++ commentsEugene Sandulenko
svn-id: r41239
2009-06-06Decrease number of free memory pages to realistic valueEugene Sandulenko
svn-id: r41238
2009-05-21Proper fix for bug #2537054: "AGI: Using GMM to load causes graphics glitches".Eugene Sandulenko
Save/load via GMM is not allowed in certain situations now. svn-id: r40773
2009-05-19Start of fixing bug #2537054: "AGI: Using GMM to load causes graphics glitches"Eugene Sandulenko
The engine still crashes when load from GMM occured with a text box on screen. svn-id: r40733