aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
AgeCommit message (Collapse)Author
2010-01-08Switch Mixer::playInputStream to use DisposeAfterUse::FlagMax Horn
svn-id: r47182
2010-01-08Fix sound effects in Sword1 PSX, regression from r47132.Johannes Schickel
svn-id: r47176
2010-01-08This should fix bug #2928411, "SWORD1: Macintosh Demo crashes after Intro".Torbjörn Andersson
svn-id: r47171
2010-01-08Remove custom AiffAudioStream and replace it by the use of ↵Johannes Schickel
makeLoopingAudioStream and makeAIFFStream. svn-id: r47165
2010-01-07Remove the deprecated FLAC, Vorbis and MP3 factories.Johannes Schickel
svn-id: r47134
2010-01-07Make VagStream a RewindableAudioStream.Johannes Schickel
svn-id: r47132
2010-01-07Make makeWAVStream return a RewindableAudioStream.Johannes Schickel
svn-id: r47129
2010-01-07The default keycolor for mouse pointers used to be 255.Marcus Comstedt
This makes sense as a default for CLUT8 modes, but not really for anything else. As part of the gsoc2009-16bit merge, the default was changed to "all ones", with extra code in the SDL backend to truncate this to the depth of the mode. However, "all ones" (white) still isn't a very useful default for RGB modes. So rather than jumping through hoops to provide a bad default, it's better to remove the default altogether. Engines which relied on the old default of 255 have been updated to specify it explicitly. svn-id: r47118
2010-01-06- Move openStreamFile from AudioStream to SeekableAudioStream.Johannes Schickel
- Fix documentation of openStreamFile. svn-id: r47080
2010-01-03Change BS 1 & 2 to I & II (see discussion on -devel)Max Horn
svn-id: r46951
2010-01-03Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is nullTorbjörn Andersson
before freeing it, which isn't necessary. svn-id: r46941
2009-11-24Added Doxygen comments for the various engine namespaces (currently mostly ↵Max Horn
without details; help filling these out is welcome) svn-id: r46128
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-20SWORD1: Resolve FIXME about weird static var 'left' in Router::slidyWalkAnimatorMax Horn
svn-id: r45280
2009-10-20SWORD1: Resolve FIXME about weird static var 'k' in Router::smoothCheckMax Horn
svn-id: r45279
2009-10-16Added a new convenience method to the video player, which adds the event of ↵Filippos Karapetis
skipping videos with the escape key by default, thereby simplifying the video playing code in all places where it's used svn-id: r45151
2009-10-14SWORD1: Remove obsolete TODOMax Horn
svn-id: r45100
2009-10-14Patch #2834677: Wave/ADPCM Endianness FixesMax Horn
svn-id: r45095
2009-10-11sword1: fix one gcc warning about comparison between signed and unsignedFabio Battaglia
svn-id: r44955
2009-10-11sword1: fix psx demo startupFabio Battaglia
svn-id: r44951
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-04Add missing PACKED_STRUCT attribute to FrameHeader.Johannes Schickel
svn-id: r44614
2009-10-03If make*Stream failed, the file needs to be closed to prevent an assert on a ↵Andre Heider
consecutive open(). svn-id: r44557
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-24Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings ↵Filippos Karapetis
and issues in compilers which don't support NORETURN svn-id: r44314
2009-09-24Fixed some more warnings about unreachable codeFilippos Karapetis
svn-id: r44300
2009-09-23Got rid of Common::File::addDefaultDirectory, instead implemented the ↵Johannes Schickel
solution proposed in "Case agnostic handling for directories (and files)" on -devel. svn-id: r44266
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-09-13Clarify things a bit by using the constant name rather than zero.Torbjörn Andersson
svn-id: r44072
2009-08-30Fix indentationJordi Vilalta Prat
svn-id: r43837
2009-07-29SWORD1 & SWORD2: Replaced ioFailed by err+eosMax Horn
svn-id: r42912
2009-07-28Fixed drawing subtitles for cutscenes that are narrower than the screen, andTorbjörn Andersson
erase the subtitles manually if they are drawn outside the frame. svn-id: r42859
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-07-14Fix some typos and grammar in sword1's ↵Kari Salminen
Sound::checkSpeechFileEndianness-function's comments. svn-id: r42477
2009-07-13Fix compilation under Windows (The fabs-calls were causing error C2668 about ↵Kari Salminen
'ambiguous call to overloaded function'). svn-id: r42440
2009-07-12Patch #1936137: "Speech for Mac BS1 english"Eugene Sandulenko
svn-id: r42423
2009-07-03Added more GCC_PRINTF attributes, and fixed resulting warnings in format stringsMax Horn
svn-id: r42054
2009-06-08sword1: slight cleanup of psx related sound code and commentsFabio Battaglia
svn-id: r41380
2009-06-08sword1: add Broken Sword PSX demo supportFabio Battaglia
svn-id: r41369
2009-06-06Add GUI options support to Sky, Queen and Sword1&2 engines (which do not use AD)Eugene Sandulenko
svn-id: r41274
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
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-21Renamed the DXA, SMK and FLIC video decoders to reflect the fact that ↵Filippos Karapetis
they're decoders, not players svn-id: r40759
2009-05-20- Reverted commit #40730, as it introduced rounding errorsFilippos Karapetis
- Properly fixed the FLIC player - The sound chunk tag of DXA files is now read by the DXADecoder's loadFile() method svn-id: r40736
2009-05-19Changed calculations based on frame delay to be based on the scale of 1ms, ↵Filippos Karapetis
not 1/100. This fixes the FLIC player and also makes the overall code a bit clearer and easier to understand svn-id: r40730
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