Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Torbjörn Andersson
42af771de0
Fixed regression introduced when adding support for looping background sounds.
...
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-20 20:15:13 +00:00
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Willem Jan Palenstijn
5a8b81119b
Fix free/delete/delete[] mismatches. Patch by salty-horse
...
svn-id: r44512
2009-10-01 11:02:23 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Torbjörn Andersson
9cc0dc3d91
Fixed bug #2847910 , "Loss of background audio loop". It would probably be safe
...
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-09-13 21:38:47 +00:00
Max Horn
e9cd07e582
SWORD1 & SWORD2: Replaced ioFailed by err+eos
...
svn-id: r42912
2009-07-29 21:39:34 +00:00
Max Horn
fb79b18571
Changed SaveFileManager methods to take Common::String params (instead of char pointers)
...
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b
Strip trailing whitespaces in the whole code base.
...
svn-id: r40867
2009-05-24 15:17:42 +00:00
Max Horn
65b5d31814
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
...
svn-id: r40725
2009-05-19 11:42:14 +00:00
Travis Howell
789cb98492
Correct translation error.
...
svn-id: r40718
2009-05-19 01:58:51 +00:00
Johannes Schickel
c8aec4c696
SWORD1: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
...
svn-id: r39762
2009-03-30 12:11:22 +00:00
Fabio Battaglia
cbfd80a5d1
Fix GMM loading disabled after loading savegame from ScummVM menu
...
svn-id: r39296
2009-03-10 13:48:42 +00:00
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +00:00
Fabio Battaglia
cdc9f46bd9
sword1: removed custom checks for thumbnails, using graphics/thumbnail.h functions instead
...
svn-id: r39130
2009-03-04 12:44:55 +00:00
Fabio Battaglia
928a276c04
sword1: enable thumbnails when saving through GMM
...
svn-id: r39121
2009-03-04 10:33:29 +00:00
Fabio Battaglia
5f13e5ebcd
Cleaned up some comments
...
svn-id: r39090
2009-03-03 16:27:56 +00:00
Fabio Battaglia
0077889eeb
Add playtime feature support to sword1
...
svn-id: r39083
2009-03-02 22:37:09 +00:00
Eugene Sandulenko
5aa50ec889
Patch #2638336 : Broken Sword PSX Support
...
svn-id: r38956
2009-02-28 10:46:33 +00:00
Max Horn
716f88f571
Avoid using g_engine if possible
...
svn-id: r36149
2009-01-30 16:04:39 +00:00
Torbjörn Andersson
a2c671da97
Clear the list of savegames before re-populating it. Otherwise, even save names
...
that have been entered before cancelling the dialog will remain in it.
svn-id: r35987
2009-01-21 20:00:26 +00:00
Torbjörn Andersson
248605800e
Don't allow the nul character in savegame names, since that terminates the
...
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-21 19:46:51 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
2463c550ac
Reverted to old behavior: save games for sword1 can be shared again across 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-18 16:57:57 +00:00
Filippos Karapetis
7650b61d27
Applied a slightly modified version of my patch #2307224 - "BS1: Save/load overhaul"
...
svn-id: r35111
2008-11-18 16:31:55 +00:00
Vicent Marti
b98f89c7f0
Merged GUI::Theme and Gui::ThemeEngine into the same class, GUI::ThemeEngine.
...
Massive cleanup.
svn-id: r34983
2008-11-10 11:24:55 +00:00
Torbjörn Andersson
871375d4b5
I believe this fixes bug #2162345 ("BS1: Can't overwrite savegame"), but I'd
...
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-10-20 04:39:10 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
603f0a2f8c
Fixes for Sword1 engine loading from launcher
...
svn-id: r33915
2008-08-15 20:49:56 +00:00
Christopher Page
e7d7f8df95
SWORD1 works with the new GMM implementation
...
svn-id: r33043
2008-07-13 21:54:23 +00:00
Eugene Sandulenko
37563ff3ae
Fix bug #1981402 : "BS1: grammatical error in the Italian menu"
...
svn-id: r32471
2008-06-01 18:37:35 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Eugene Sandulenko
23313cb82e
Patch #1733017 : "SWORD1: Possible patch for bug #1730183 "
...
svn-id: r30124
2008-01-01 16:42:05 +00:00
Eugene Sandulenko
d4d072fe04
Patch #1857121 : Refactoring of the getSavePath method
...
svn-id: r30032
2007-12-28 07:37:04 +00:00
Max Horn
a556368c99
Update mouse coordinates onn *all* mouse events, i.e. also after click events
...
svn-id: r29657
2007-11-28 15:00:41 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
e2ad271bd8
Removing non-ASCII chars from source code
...
svn-id: r27818
2007-07-01 12:47:07 +00:00
Max Horn
d0ee1b3c8f
BS1: Make use of Common::KeySate::reset()
...
svn-id: r27636
2007-06-22 22:19:17 +00:00
Max Horn
c9030e4653
Made BS1 track the full KeyState upon KEYDOWN events (this makes it possible to remove to workaround for Mac keyboards)
...
svn-id: r27627
2007-06-22 21:34:03 +00:00
Max Horn
2fa0a5c457
Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
...
svn-id: r27625
2007-06-22 21:16:07 +00:00
Torbjörn Andersson
e42da8f24c
Use KEYCODE constants.
...
svn-id: r27600
2007-06-22 09:27:13 +00:00
Torbjörn Andersson
fe8a7163cd
Try to be more robust/paranoid when reading the SAVEGAME.INF file. Apart from
...
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-06-16 19:27:05 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Eugene Sandulenko
cc24af3671
Fix Enter key behavior under MacOS as mentioned in FR #1273746 : "BS1: Some
...
smaller refinements to the GUI"
svn-id: r26946
2007-05-26 17:08:33 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class 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-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4
Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
...
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-17 15:44:26 +00:00
Max Horn
15d9bc42ea
Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
...
svn-id: r26156
2007-03-17 00:53:21 +00:00
Max Horn
b8aeefaffb
Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
...
svn-id: r25660
2007-02-17 18:55:51 +00:00
Eugene Sandulenko
3e6414a55f
Slighty modified Patch #1571787 : "Support for Mac Broken Sword 1". sword1macdemo
...
target was commented out until existence of the demo is confirmed.
svn-id: r24697
2006-11-12 19:05:51 +00:00