aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
AgeCommit message (Collapse)Author
2011-07-10SAGA: Mute the music while the game is pausederiktorbjorn
It already paused the music, but any notes that were playing were just left hanging. At least with the ALSA MIDI driver. This was quite annoying when using the debug console.
2011-07-09SAGA: Removed several game flags, which are now found more reliably on the flyFilippos Karapetis
- The logo screens of all ITE versions are shown correctly now - Wyrmkeep versions, demo versions with scene substitutes, demos with mono music and demo versions with LE VOX encoded voices are all found automatically now
2011-06-23SAGA: Fix for Bug #3324850 ("ITE (SAGA): crash in dog sewers")D G Turner
This read of 1 byte past the end of the buffer has existed since the dragonMove() function was implemented, but since the change in bfb0986c to use ByteArray, this now causes an assertion due to the stricter bounds checking. This commit corrects the original issue. Thanks to fuzzie for this fix.
2011-06-23SAGA: Fix Bug #3323722 ("IHNM: Crash to desktop in Ellen's Adventure")D G Turner
Thanks to fuzzie for this fix. IHNM and ITE should be retested.
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-16SAGA: flag all WIP games with ADGF_UNSTABLETarek Soliman
SAGA 2 Games
2011-06-14DETECTOR: Separate code for handling obsolete gameids from advanced detectorMax Horn
This includes a renaming of ADObsoleteGameID to Engine::ObsoleteGameID, and AdvancedDetector::findGameID now is Engines::findGameID. Doxygen comments were added or improved
2011-06-14DETECTOR: Merge ADParams into AdvancedMetaEngineMax Horn
2011-06-10SAGA: Switch to alternate AdvancedMetaEngine, avoid ADParamsMax Horn
2011-06-10ENGINES: Change incorrect use of 'target' to 'gameid'Max Horn
2011-06-02SAGA: 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-06-01Merge branch 'branch-1-3-0' into masterMax Horn
I manually resolved all conflicts, and inspected every single change. Many were due to the version string mismatch and thus easily resolved. The MSVC project files add in the 1-3-0 branch were not merged, neither where the changes to gui/themes/translations.dat. Conflicts: NEWS backends/base-backend.cpp backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp backends/module.mk backends/platform/ds/arm9/makefile backends/platform/psp/README.PSP backends/platform/samsungtv/main.cpp backends/platform/samsungtv/samsungtv.cpp backends/saves/posix/posix-saves.cpp base/commandLine.cpp base/internal_version.h base/main.cpp common/array.h configure devtools/create_project/create_project.cpp dists/android/AndroidManifest.xml dists/android/plugin-manifest.xml dists/iphone/Info.plist dists/irix/scummvm.spec dists/macosx/Info.plist dists/redhat/scummvm-tools.spec dists/redhat/scummvm.spec dists/scummvm.rc dists/slackware/scummvm.SlackBuild dists/wii/meta.xml engines/sci/parser/vocabulary.cpp engines/tinsel/handle.cpp gui/themes/translations.dat
2011-05-21DS/SAGA: Due to what looks like a compiler bug, having one Common::Array ↵agent-q
template inside another causes the DS build to crash during Common::Array::resize(). The only fix I can find is to make the internal byte array a normal malloc'ed() buffer. This way, the code runs fine. Need to dig into the assembly output for this to find out what's truly going on with the original code.
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
This also removes the dependency of engines on the event recorder header and API, and will make it easier to RandomSources that are not properly registered.
2011-05-16ENGINES: Unify engine namesThierry Crozat
This unifies the engine names in MetaEngine::getName() and the credits. In particular drop "Engine" or "engine" from the names when it was present and use expanded names in credits when the MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-27SAGA: Removed unused variablesmd5
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-17SAGA: Prefer Surface::create taking a PixelFormat over the one taking a byte ↵Johannes Schickel
depth.
2011-04-17SAGA: Fixed bug #3276033: IHNM: Savegame reminder not resetEugene Sandulenko
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.
2011-04-06SAGA: Fixed bug #3275973 - "IHNM: Dialog options vanish"md5
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-28AUDIO: Add Audio::MidiPlayer::createDriver(), let some engines use itMax Horn
2011-03-25SAGA: Add missing includedhewg
2011-03-25SAGA: Change Sage to use Audio::MidiPlayerMax Horn
2011-03-24SAGA: Rename some MusicDriver members to match Audio::MidiPlayerMax Horn
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-23AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclassesMax Horn
Many engines follow the advice in audio/midiparser.h and create a "pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny subset of the MidiDriver capabilities, namely those found in MidiDriver_BASE. So we try to subclass from that whenever possible; this allows us to remove many stub methods, and enables further future simplifications.
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-19SAGA: Cleanup syncSoundSettings()dhewg
And respect global mute settings
2011-02-20SAGA: Fixed palette setting inside Gfx::setPaletteColor() (thanks to ↵md5
LordHoto for noticing this)
2011-02-19SAGA: Convert Gfx::palFade to the setPalette RGBA->RGB change too.Johannes Schickel
2011-02-14SAGA: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07ALL: Fix whitespaces / indentionMax Horn
svn-id: r55818
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2011-02-02MIDI: Fix for bug #3170988 - "MONKEY2: Messed up MT-32 music"Filippos Karapetis
This is a regression from r55256. Apparently, SCUMM has issues when sending a sustain off on a notes off event. Thus, this has been turned into a feature, which is disabled by default. Since MADE, SAGA and tinsel all share the same music code and play regular MIDI files, and this feature fixes hanging notes for them, it has been enabled for them. Also, applied a patch for a bug regarding the notes off event in MADE and tinsel, which has been applied in SAGA already svn-id: r55746
2011-01-31SAGA: Simplified loadActorResources() and removed the unused _disabled fieldFilippos Karapetis
svn-id: r55687
2011-01-31SAGA: Fixed compilation with MSVCFilippos Karapetis
svn-id: r55683
2011-01-31SAGA: Fixed compilationFilippos Karapetis
svn-id: r55680
2011-01-31SAGA: Fixed some typos, and removed an obsolete commentFilippos Karapetis
svn-id: r55679
2011-01-31SAGA: Split the resource patching code into appropriate game-specific ↵Filippos Karapetis
resource methods svn-id: r55678
2011-01-31SAGA: Turned several unnecessarily inherited classes into typedefsFilippos Karapetis
svn-id: r55677
2011-01-31SAGA: Rewrote the MacBinary resource loading codeFilippos Karapetis
This simplifies the overall code and makes it easier to understand. Also, a bug with the speech in the MacBinary packed version has been corrected, so there are no more clicking sounds before each sample. The Common::MacResMan code isn't really useful here, since it doesn't expose the offsets and sizes of the actual files, which is what is needed in SAGA. svn-id: r55674
2011-01-23VIDEO: Move video classes to Video:: namespaceEugene Sandulenko
svn-id: r55479
2011-01-23GRAPHICS: Move graphics/video/ to video/. Step 1/2Eugene Sandulenko
svn-id: r55473
2011-01-08SAGA: Include scummsys.h to force rebuild after reconfigureWillem Jan Palenstijn
svn-id: r55155