aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2007-03-01Got rid of another use of File::incRef/decRefMax Horn
svn-id: r25917
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-03-01Repaired the pathfinding in Bargon AttackSven Hesse
svn-id: r25915
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-28cleanupMax Horn
svn-id: r25910
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-28Fix for bug #1670081 -- SWORD1: game won't load (ogg compression) (regression)Max Horn
svn-id: r25905
2007-02-27changed font handling:Nicola Mettifogo
- engine doesn't see font as a low-level Cnv anymore - the Graphics class takes care of freeing memory on font changes svn-id: r25900
2007-02-27Change the volume of music channel of mixer, when adjusting music volume too.Travis Howell
svn-id: r25894
2007-02-26Close sky.dnr directly after reading it into memory. No need to keep it openTorbjörn Andersson
until the Disk object is deleted. svn-id: r25889
2007-02-26Added animation handler for standard characters that can be talked toPaul Gilbert
svn-id: r25888
2007-02-26some fixes for FOTAQ Amiga versions, cleanupGregory Montoir
svn-id: r25886
2007-02-26More dead code; augmented note on PC speaker emulationMax Horn
svn-id: r25885
2007-02-26'Optimized' SquareWaveStream::readBuffer a bit, removed some dead code, and ↵Max Horn
changed Snd::terminate to a destructor (this ensures client code can't forget to do just that -- not that we'd ever forget ... ;-) svn-id: r25884
2007-02-26calling memset to zero a buffer you are about to fill with audio data is not ↵Max Horn
necessary (removing this from Gob::Snd::readBuffer); removed dead code svn-id: r25883
2007-02-26stop audio streams before deleting themWillem Jan Palenstijn
svn-id: r25882
2007-02-26Fix alignment issues in wince port.Kostas Nakos
This patch/bug is closely related to the behavior shown in agos engine (see https://sourceforge.net/tracker/?func=detail&aid=1657436&group_id=37116&atid=418822). Every time structs are used to extract data from a buffer, these structs have to be packed. It is not OK to assume that the compiler does not pad the struct, or that it doesn't have alignment assumptions voodoo (see cited patch). svn-id: r25881
2007-02-26Removing dead codeMax Horn
svn-id: r25878
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-26Add demo of Waxworks.Travis Howell
svn-id: r25876
2007-02-26Added saving of the random actions set state, and implemented NPC opcode 29, ↵Paul Gilbert
which allows for an NPC to be given a custom talk record svn-id: r25875
2007-02-25reduced code dup, Queen::LineReader -> SeekableReadStream::readLineGregory Montoir
svn-id: r25871
2007-02-25made Archive inherit from SeekableReadStream instead of File since write ↵Nicola Mettifogo
capabilities and file handle are not needed. Implementation of SeekableReadStream virtual functions is now complete. svn-id: r25870
2007-02-25Fix warningsMax Horn
svn-id: r25869
2007-02-25made Archive inherit from Common::File, added some methods to comply to ↵Nicola Mettifogo
interface, changed callers to exploit readByte capabilities svn-id: r25868
2007-02-25made Archive behave more like Common::File, preparing for inheritanceNicola Mettifogo
svn-id: r25867
2007-02-25wrapped archive routines into a new class named Archive. File-level static ↵Nicola Mettifogo
variables have been made members of the new class. svn-id: r25866
2007-02-25oops. Forgot the very last reference.Nicola Mettifogo
svn-id: r25865
2007-02-25got rid of ArchievedFile. Since only one single file is being read from the ↵Nicola Mettifogo
archives at every moment, the ArchivedFile structure used for bookkeeping is useless. svn-id: r25864
2007-02-25fixed background music in catalog_cup_demo_de : only stop sfx if it was ↵Gregory Montoir
started in a previous block svn-id: r25863
2007-02-25changed all hard-coded filenames to uppercase, for consistencyGregory Montoir
svn-id: r25862
2007-02-25added AmigaSound::playRandomPatternJungle, minor cleanupGregory Montoir
svn-id: r25860
2007-02-25Rename C64 file to V0 as well.Eugene Sandulenko
svn-id: r25856
2007-02-25Fix looping for enchanced soundtracks.Eugene Sandulenko
svn-id: r25855
2007-02-25Add German CUP demo, whichs shows several HE games.Travis Howell
svn-id: r25851
2007-02-25Rename C64 engine class, since it is been used by Apple II and Commodore 64 ↵Travis Howell
versions now. svn-id: r25850
2007-02-25Added comment about the missing decode1 proc.Torbjörn Andersson
svn-id: r25849
2007-02-25Remove left over debug output.Travis Howell
svn-id: r25848
2007-02-25Rename file class, since it is been used for disk images of Apple II and ↵Travis Howell
Commodore 64 versions now. svn-id: r25847
2007-02-25Add support for using disks images for Apple II version of Maniac Mansion.Travis Howell
svn-id: r25846
2007-02-25Add magic id for Apple II verison of Maniac Mansion.Travis Howell
svn-id: r25845
2007-02-25Another Ogg > MP3 consistency reordering, this time in the SMUSH code; also ↵Max Horn
changed it to use the new compressed audio stream factories svn-id: r25843
2007-02-25oopsMax Horn
svn-id: r25842
2007-02-25Added TODO: Sword1's MusicHandle::play etc. should be rewritten to take ↵Max Horn
advantage of the enhanced compressed audio stream code svn-id: r25841
2007-02-25Switch to the new makeVorbisStream variant (and get rid of a File::decRef call)Max Horn
svn-id: r25840
2007-02-24Remove unneeded #includesMax Horn
svn-id: r25838
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-24Added numLoops parameter to DigitalTrackInfo::playMax Horn
svn-id: r25836
2007-02-24cleanupMax Horn
svn-id: r25834
2007-02-24Removed the (useless, thanks to resTypeFromId) 'name' parameter from ↵Max Horn
readResTypeList svn-id: r25828