aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/control.cpp
AgeCommit message (Collapse)Author
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
2008-06-01Fix bug #1981402: "BS1: grammatical error in the Italian menu"Eugene Sandulenko
svn-id: r32471
2008-01-28Fixed the spaces before tabs.Jordi Vilalta Prat
svn-id: r30667
2008-01-05Fix to remove a tab character from the GPL headerPaul Gilbert
svn-id: r30238
2008-01-01Patch #1733017: "SWORD1: Possible patch for bug #1730183"Eugene Sandulenko
svn-id: r30124
2007-12-28Patch #1857121: Refactoring of the getSavePath methodEugene Sandulenko
svn-id: r30032
2007-11-28Update mouse coordinates onn *all* mouse events, i.e. also after click eventsMax Horn
svn-id: r29657
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-01Removing non-ASCII chars from source codeMax Horn
svn-id: r27818
2007-06-22BS1: Make use of Common::KeySate::reset()Max Horn
svn-id: r27636
2007-06-22Made BS1 track the full KeyState upon KEYDOWN events (this makes it possible ↵Max Horn
to remove to workaround for Mac keyboards) svn-id: r27627
2007-06-22Cleaning up after myself (I blame it on, err, uhh... the Vogons?)Max Horn
svn-id: r27625
2007-06-22Use KEYCODE constants.Torbjörn Andersson
svn-id: r27600
2007-06-16Try to be more robust/paranoid when reading the SAVEGAME.INF file. Apart fromTorbjörn Andersson
being a sensible precaution, it should work around some bugs like #1737801, where the file is obviously corrupted. (Possibly mutilated by some file transfer program.) svn-id: r27484
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-05-26Fix Enter key behavior under MacOS as mentioned in FR #1273746: "BS1: SomeEugene Sandulenko
smaller refinements to the GUI" svn-id: r26946
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again svn-id: r26180
2007-03-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
Fingolfin's blessings. Keyboard repeat is now handled by the event manager, rather than by individual engines. Since this can cause problems with some engines (see the AGI engine), the extra "key down" events are marked as "synthetic", so that they can be ignored if necessary. svn-id: r26170
2007-03-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2006-11-12Slighty modified Patch #1571787: "Support for Mac Broken Sword 1". sword1macdemoEugene Sandulenko
target was commented out until existence of the demo is confirmed. svn-id: r24697
2006-09-09Fixed unaligned read (this fix a potential crash clicking on the Text option ↵Chris Apers
button) svn-id: r23845
2006-09-09Initialise variable. Should fix Valgrind warning.Torbjörn Andersson
svn-id: r23838