aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/control.cpp
AgeCommit message (Collapse)Author
2019-09-15SWORD1: Remove Fixed Sized Buffer Usage from Savegame Name CodeD G Turner
2017-09-22SWORD1: Fix leaking the save thumbnail MemoryWriteStreamDynamic bufferBastien Bouclet
2017-07-08SWORD1: Only write config in in-game menu when they are changedThierry Crozat
The in-game menu contains not only subtitles and volume settings, but also load and save game options. Every time the menu was opened it would write the subtitles and audio volumes to the ConfMan resulting in toggling on overriding global options for this game, which was a but strange when it was previously using global options and we only wanted to load a game. So now the settings are written to ConfMan from the in-game menu only when they are actually changed.
2017-07-08SWORD1: Use booleans for _systemVars speech and subtitles flagsThierry Crozat
The were defined as uint8 and the code was inconsistent in the way they were handled, for example setting them to 1 in some places and to true in others. It was working but relying on implicit conversions both ways between 1 and true.
2017-07-08SWORD1: Add thumbnail when saving from game panelThierry Crozat
This fixes bug #9908 SWORD1: Picture previews black when saving in game
2016-11-29ALL: save file => saved gameBen Castricum
2016-09-18ALL: Homogeneize use of 'saved game' in messagesThierry Crozat
2014-02-18SWORD1: Make GPL headers consistent in themselves.Johannes Schickel
2013-04-22SWORD1: Remove dead codeWillem Jan Palenstijn
2012-10-06SWORD1: Enable American ("Circle of Blood") panelTorbjörn Andersson
If the language is explicitly set to American English, use the American version of the panel for the main control panel. In all other aspects, American English will behave as British English, so it shouldn't break anything.
2011-09-07SWORD1: Made code conform a bit better to our formatting guidelines.Johannes Schickel
Most is automatically converted via astyle + some manual fixes, hopefully I did not miss anything astyle messed up...
2011-06-13I18N: Make many more GUI MessageDialog strings translatableThierry Crozat
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-02-15SWORD1: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-10-29SWORD1: Switch to the new play time counting of the Engine class.Johannes Schickel
svn-id: r53924
2010-08-02GRAPHICS: Renamed skipThumbnailHeader to skipThumbnail.Johannes Schickel
svn-id: r51668
2010-03-18COMMON: Get rid of Common::StringListMax Horn
svn-id: r48287
2009-11-02Changed foo(void) to foo() in almost all non-backend source filesMax Horn
svn-id: r45616
2009-10-20Fixed regression introduced when adding support for looping background sounds.Torbjörn Andersson
A.k.a. "I played through the whole game looking for regressions, and missed the one at the intro cutscene?!" svn-id: r45290
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-10-01Fix free/delete/delete[] mismatches. Patch by salty-horseWillem Jan Palenstijn
svn-id: r44512
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-13Fixed bug #2847910, "Loss of background audio loop". It would probably be safeTorbjörn Andersson
to backport this to the 1.0 branch, but I'm not 100% sure, and it's getting pretty late here. (On the other hand, the missing sound effects are pretty faint, at least in the cases I've seen, so we haven't been missing much. That's probably why it's gone unnoticed until now.) svn-id: r44073
2009-07-29SWORD1 & SWORD2: Replaced ioFailed by err+eosMax Horn
svn-id: r42912
2009-05-29Changed SaveFileManager methods to take Common::String params (instead of ↵Max Horn
char pointers) svn-id: r41000
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
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-19Correct translation error.Travis Howell
svn-id: r40718
2009-03-30SWORD1: Commit of parentheses patch from salty-horse. (from -devel "Enabling ↵Johannes Schickel
-Wparentheses in the Makefile"). svn-id: r39762
2009-03-10Fix GMM loading disabled after loading savegame from ScummVM menuFabio Battaglia
svn-id: r39296
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
2009-03-04sword1: removed custom checks for thumbnails, using graphics/thumbnail.h ↵Fabio Battaglia
functions instead svn-id: r39130
2009-03-04sword1: enable thumbnails when saving through GMMFabio Battaglia
svn-id: r39121
2009-03-03Cleaned up some commentsFabio Battaglia
svn-id: r39090
2009-03-02Add playtime feature support to sword1Fabio Battaglia
svn-id: r39083
2009-02-28Patch #2638336: Broken Sword PSX SupportEugene Sandulenko
svn-id: r38956
2009-01-30Avoid using g_engine if possibleMax Horn
svn-id: r36149
2009-01-21Clear the list of savegames before re-populating it. Otherwise, even save namesTorbjörn Andersson
that have been entered before cancelling the dialog will remain in it. svn-id: r35987
2009-01-21Don't allow the nul character in savegame names, since that terminates theTorbjörn Andersson
string. This happens, for instance, when pressing the Shift key. (I usually start my savegame names with an upper-case letter, and I couldn't understand why it didn't seem to register any of my keypresses.) svn-id: r35986
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-11-18Reverted to old behavior: save games for sword1 can be shared again across ↵Filippos Karapetis
all versions (since they're exactly the same) - they're now named sword1.* and no longer named after the game ID svn-id: r35112
2008-11-18Applied a slightly modified version of my patch #2307224 - "BS1: Save/load ↵Filippos Karapetis
overhaul" svn-id: r35111
2008-11-10Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.Vicent Marti
Massive cleanup. svn-id: r34983
2008-10-20I believe this fixes bug #2162345 ("BS1: Can't overwrite savegame"), but I'dTorbjörn Andersson
really appreciate it if someone would test it further, in case I missed something. (Broken Sword 1 stores the names of the savegames in a separate file, and that has to be in sync with the individual savegame files. In my experience, that sort of thing can really attract bugs...) svn-id: r34828
2008-09-30Renamed Engine::quit to Engine::shouldQuit (previously, it was easily ↵Max Horn
confused with Engine::quitGame); also cleaned up engine.h a bit svn-id: r34700
2008-08-15Fixes for Sword1 engine loading from launcherChristopher Page
svn-id: r33915
2008-07-13SWORD1 works with the new GMM implementationChristopher Page
svn-id: r33043