aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
2011-06-09KYRA: Add a default case to a switch statement.Johannes Schickel
This includes a TODO, about what to do if we ever hit this case.
2011-06-09KYRA: Get rid of most snprintf usages.Johannes Schickel
Thanks to digitall for his initial patch, which I only altered slightly.
2011-06-05KYRA: fix audio detectionathrxx
Don't attempt to detect PC devices for non-PC versions of the game, because this might trigger unnecessary detection failure messages.
2011-06-05KYRA: fix GMM savingathrxx
(match with 477d6233c3672d9a60cceea3570bc775df3d9253)
2011-06-05LOL: cleanupathrxx
- fix RTL during outro/credits - get rid of _animator - fix wrong memset
2011-06-04LOL: changed workaround for fireball bugathrxx
(see comment in items_lol.cpp)
2011-06-03KYRA: improve readability of key mapping codeathrxx
2011-05-29KYRA: pause midi sounds while gmm is runningathrxx
2011-05-29KYRA: remove useless mutex from sound_townsathrxx
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-17FM-TOWNS AUDIO: Some midi code fixes and some renamingathrxx
2011-05-17FM-TOWNS AUDIO: Some renaming in the euphony driver codeathrxx
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-16KYRA: Change engine name to KyraThierry Crozat
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-04-28KYRA: Fix compilation when LoL is disabled.Johannes Schickel
2011-04-28KYRA: Clean up of header includes.Johannes Schickel
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-18COMMON: Rename Error to ErrorCode, introduce new Error classMax Horn
2011-04-14KYRA: Enforce use of American English in comments.Johannes Schickel
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-11KYRA: Add some assertion to prevent out of bounds access.Johannes Schickel
2011-04-11KYRA: Constify static data table in LoL code.Johannes Schickel
2011-04-11KYRA: Get rid of non-const static variable in Kyra2 code.Johannes Schickel
2011-04-11KYRA: Cleanup.Johannes Schickel
2011-04-11KYRA: Get rid of non-const static variables in HoF.Johannes Schickel
2011-04-09DEVTOOLS: Renamed 'tools' directory to 'devtools'Max Horn
2011-04-07KYRA: Slight cleanup.Johannes Schickel
This more or less silently fixes the silent music introduced with f19e201, by me setting volume to "true" instead of "255". Whoops.
2011-04-07KYRA: Cleanup background music looping of Kyra3.Johannes Schickel
2011-04-07KYRA: Cleanup static variable usage in LoK.Johannes Schickel
2011-04-07KYRA: Slight cleanup.Johannes Schickel
2011-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
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-02-20KYRA: Fix regression in Screen::setInterfacePalette.Johannes Schickel
This fixes an out of bounds write introduced with 9216c7e.
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-16KYRA: Set type for NULL MIDI driver to PC Speaker.Johannes Schickel
This avoids a dialog about MT-32 to General MIDI conversion shown when running Kyrandia 1. Formerly the NULL MIDI output type was set to General MIDI, which caused the aforementioned dialog to show up, because Kyrandia 1 has no General MIDI tracks.
2011-02-16KYRA/LOL: add comments for last commitathrxx
2011-02-16KYRA/LOL: fixed hand item cursor bugathrxx
This fixes a bug when loading savegames with different active hand items via GMM. The mouse cursor was not set to the active hand item in these cases.
2011-02-14KYRA: Adapt to setPalette/grabPalette RGBA->RGB changes.Johannes Schickel
2011-02-10KYRA: Rename KyraEngine_MR::runDialog to doDialog to avoid name clashes with ↵Johannes Schickel
Engine::runDialog. svn-id: r55864
2011-02-10KYRA: Remove superfluous const in type conversion.Johannes Schickel
svn-id: r55863
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-01-29KYRA: Hopefully fix valgrind warnings in the HoF intro when text is disabled.Johannes Schickel
svn-id: r55623
2011-01-29KYRA: Clean up main menu code in Kyra2/Kyra3.Johannes Schickel
svn-id: r55620
2011-01-29KYRA: Fix Valgrind Uninitialized Memory Read at end of VQA Playback.David Turner
svn-id: r55619
2011-01-29KYRA: Close Memory Leaks in Kyra 3 (Malcolm's Revenge) Menu.David Turner
svn-id: r55618