aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
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
2010-12-25KYRA FM-TOWNS: improved cd audio music fadingFlorian Kagerer
svn-id: r55039
2010-12-07DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engineMax Horn
svn-id: r54815
2010-12-01ALL: Fix a few typosJordi Vilalta Prat
svn-id: r54716
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-11-17ENGINES: Change 'colour' to 'color'Max Horn
Only changed this in engines where 'color' was/is already used almost exclusively svn-id: r54288
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-08LOL: fixed minor text displayer bugFlorian Kagerer
svn-id: r54132
2010-11-07COMMON: Rename and tweak MD5 functionsMax Horn
* names now comply to our naming conventions * the function computeStreamMD5AsString which computes the MD5 as a hex string now returns it as a Common::String * add doxygen comments svn-id: r54121
2010-11-07ENGINES: Unify code layout of all ADParams instancesMax Horn
svn-id: r54105
2010-11-01KYRA: Pause engine when the debugger is open.Johannes Schickel
svn-id: r54032
2010-11-01GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warningsMax Horn
svn-id: r54007
2010-11-01COMMON: Rename String::printf() to String::format()Max Horn
This is a first step towards getting rid of all uses of regular printf, fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase. The name format() reflects the purpose of the function, and parallels String.format() in Java, boost::format, and others. svn-id: r54004
2010-10-31LOL: fixed bug #3099321Florian Kagerer
(Crash in Yvel tavern basement) svn-id: r53973
2010-10-30LOL: workaround for bug #3098935Florian Kagerer
(Vaelan's Cube can be duplicated at Scotia's Barrier) This is a bug in the game data of early unpatched floppy versions. This can also be fixed by applying the official patch (ftp://ftp.westwood.com/pub/lands1/updates/lolus123.exe). svn-id: r53954
2010-10-29KYRA: match music settings with latest launcher code changes.Florian Kagerer
(Last commit got trunkated somehow) svn-id: r53927
2010-10-29KYRA: match music settings with latest launcher code changes.Florian Kagerer
(Users will get AdLib music at default unless they have specified a MIDI device in the launcher (MT-32 for KYRA, GM for HOF and LOL.) svn-id: r53926
2010-10-29KYRA: Minor formatting cleanup.Johannes Schickel
svn-id: r53915