aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
AgeCommit message (Collapse)Author
2007-04-01added the instance of EventManager returned by OSystem::getEventManager as a ↵Gregory Montoir
member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it. svn-id: r26357
2007-04-01made _vm/_engine usage consistent. (_engine -> _vm all over the place now).Johannes Schickel
svn-id: r26342
2007-03-27fixed const correctnessMax Horn
svn-id: r26307
2007-03-26Commit of patch #1688065 ("KYRA: fm towns music").Johannes Schickel
svn-id: r26305
2007-03-25Some tempo fixes from Florian.Johannes Schickel
svn-id: r26300
2007-03-24Commit of patch #1686414 ("Kyra: FM-Towns music").Johannes Schickel
svn-id: r26285
2007-03-23Implemented some palette code differences for Amiga version.Johannes Schickel
svn-id: r26281
2007-03-20- more cleanupJohannes Schickel
- added some .pak file integrity checks svn-id: r26264
2007-03-20Little cleanup.Johannes Schickel
svn-id: r26263
2007-03-18KYRA: Changed to use EventManager::getMousePos (should improve some things: ↵Max Horn
the old code did not properly track the mouse upon click events, and KyraEngine::waitForEvent ignored _flags.useHiResOverlay) svn-id: r26221
2007-03-18Fixed various gui strings in German floppy.Johannes Schickel
svn-id: r26211
2007-03-18- little 'cleanup'Johannes Schickel
- finished MSC file support for Amiga version svn-id: r26204
2007-03-17Moved Event/EventType/keyboard enum from common/system.h (part of class ↵Max Horn
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-17Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), withTorbjörn Andersson
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-17Force all code to use EventManager::pollEvent instead of OSystem::pollEventMax Horn
svn-id: r26156
2007-03-16Basic support for Amiga MSC files.Johannes Schickel
svn-id: r26153
2007-03-12WIP code for Amiga version:Johannes Schickel
- Font displaying is not yet supported. - Intro should be glitch free - all other things are *untested* svn-id: r26113
2007-03-08Fixed const issue (casting const to non-const)Max Horn
svn-id: r26027
2007-03-07- cleanupJohannes Schickel
- some diffs for Amiga version svn-id: r26010
2007-03-02Changed the order of the parameters of makeLinearInputStream to resemble ↵Max Horn
Mixer::playRaw; also made makeLinearInputStream honor FLAG_LOOP (and for this, changed its loop related params slightly) svn-id: r25926
2007-03-01Simplify code a bit -- got rid of File::incRef usage, an unnecessary member ↵Max Horn
var, fixed a potential memory leak (if all channels are in use), and fixed a potential OOB error (if stopSound(-1) was called) svn-id: r25916
2007-02-28Clarified some comments and moved some asserts to hopefully answer Fingolfin'sTorbjörn Andersson
question why we always created a mono audio stream. There are other games that use more advanced versions of the VQA format, but it seems unlikely that ScummVM will ever support any of them. svn-id: r25911
2007-02-28Changed the AppendableAudioStream code to use a queue of buffers, instead of ↵Max Horn
a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible) svn-id: r25909
2007-02-26Using FLAG_AUTOFREE implies free() being called on the memory buffer you ↵Max Horn
passed to the audio stream code -- hence, use malloc and not new[] to allocate the buffer svn-id: r25877
2007-02-24Trying to unify the order in which we try the various audio formats: Prefer ↵Max Horn
FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM svn-id: r25837
2007-02-24Add the Hand of Fate demo.Travis Howell
svn-id: r25816
2007-02-22Fixed black screen in the outro sequence.Johannes Schickel
svn-id: r25791
2007-02-21c&p errorJohannes Schickel
svn-id: r25775
2007-02-20Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by meMax Horn
svn-id: r25752
2007-02-20Another batch of header consistency changes.Torbjörn Andersson
svn-id: r25746
2007-02-17Added finalize() method to Common::OutSaveFile (which by default just ↵Max Horn
flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing) svn-id: r25660
2007-02-17Only set up the Kyra 1 triggers for Kyra 1, not Kyra 2.Torbjörn Andersson
svn-id: r25650
2007-02-17Applied cyx's patch #1659302 ("KYRA: VQA player code cleanup/reduce") with theTorbjörn Andersson
minimal change suggested in the tracker. svn-id: r25649
2007-02-16Some very obvious cleanups.Torbjörn Andersson
svn-id: r25635
2007-02-16Added support for Kyrandia 2 ADL files.Johannes Schickel
svn-id: r25634
2007-02-13Changed detectBestMatchingGame to return a pointer to a ADGameDescription ↵Max Horn
(or a subclass of it); added a (currently fake) fallback callback entry in ADParams svn-id: r25574
2007-02-13Rename Common::GF_XXX to Common::ADGF_XXXEugene Sandulenko
svn-id: r25545
2007-02-13(re)added flags field to ADGameDescription, with currently only one value ↵Max Horn
(GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet) svn-id: r25539
2007-02-12little fix for fm-towns versionJohannes Schickel
svn-id: r25531
2007-02-12Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, ↵Johannes Schickel
modified a bit) svn-id: r25530
2007-02-11should fix warnings in msvc.Johannes Schickel
svn-id: r25484
2007-02-11cleanupJohannes Schickel
svn-id: r25479
2007-02-08Don't rely on assert when calling functions.Johannes Schickel
svn-id: r25426
2007-02-08Fixed GUI strings in FM-Towns version.Johannes Schickel
svn-id: r25425
2007-02-08ops.Johannes Schickel
svn-id: r25424
2007-02-08- fixed crash in FM-Towns version when entering the grottoJohannes Schickel
- fixed some palette issues svn-id: r25423
2007-02-07Fixed credits in FM-Towns version.Johannes Schickel
svn-id: r25417
2007-02-07Support for new kyra.dat, which includes static data from the fm-towns version.Johannes Schickel
svn-id: r25416
2007-02-07should silence compiler warnings.Johannes Schickel
svn-id: r25412
2007-02-07Implemented little diff in o1_characterSays for fm-towns version.Johannes Schickel
svn-id: r25410