Max Horn
200bb41bfd
Updated comment
...
svn-id: r25929
2007-03-02 17:49:08 +00:00
Torbjörn Andersson
cee6c45be6
Applied my own patch #1672572 , after discussing it with Fingolfin. We no longer
...
store mixer flags in our savegames. Instead, we store different flags which
just happen to have the exact same values as the mixer flags have right now.
This should keep savegames working even if the mixer flags ever change.
svn-id: r25928
2007-03-02 17:30:29 +00:00
Max Horn
cfe86c096d
cleanup
...
svn-id: r25927
2007-03-02 15:34:22 +00:00
Max Horn
029b8c4323
Changed the order of the parameters of makeLinearInputStream to resemble Mixer::playRaw; also made makeLinearInputStream honor FLAG_LOOP (and for this, changed its loop related params slightly)
...
svn-id: r25926
2007-03-02 15:26:22 +00:00
Max Horn
d8cf10926b
Added a warning that the mixer FLAG_ enum should not be messed with, lest iMuseDigital saves will break
...
svn-id: r25925
2007-03-02 15:22:38 +00:00
Eugene Sandulenko
8ab81824ab
Fix bug #1667806 : "GOB: wrong detection"
...
svn-id: r25924
2007-03-02 15:21:34 +00:00
Max Horn
c2dbd22692
Added reverseStereo parameter to Mixer::playInputStream; changed Mixer::playRaw to use Mixer::playInputStream
...
svn-id: r25923
2007-03-02 14:49:07 +00:00
Max Horn
b9658b5960
Do not use addDefaultDirectoryRecursive to add 'path', rather use the non-recurseive addDefaultDirectory (see also bug #1672098 )
...
svn-id: r25922
2007-03-02 12:57:38 +00:00
Sven Hesse
65bb902be9
- Fixed the actor freeze issue in the garage in Bargon Attack
...
- Some minor fixes
svn-id: r25921
2007-03-02 11:37:42 +00:00
Max Horn
4efda86d7a
Removed File::incRef and decRef
...
svn-id: r25920
2007-03-01 17:25:49 +00:00
Max Horn
45bf574928
Get rid of the last two usages of File::incRef/decRef
...
svn-id: r25919
2007-03-01 17:22:30 +00:00
Max Horn
c489be38d6
Removed obsolete 'if' (resp. replaced it by an assert)
...
svn-id: r25918
2007-03-01 17:15:26 +00:00
Max Horn
4203819b39
Got rid of another use of File::incRef/decRef
...
svn-id: r25917
2007-03-01 17:13:23 +00:00
Max Horn
8466221fce
Simplify code a bit -- got rid of File::incRef usage, an unnecessary member 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-01 17:04:50 +00:00
Sven Hesse
16015aaa3b
Repaired the pathfinding in Bargon Attack
...
svn-id: r25915
2007-03-01 14:41:40 +00:00
Max Horn
6ee03e91c7
Rephrased a comment a bit
...
svn-id: r25914
2007-03-01 13:51:04 +00:00
Lars Persson
ab605c6a41
Updated Symbian File handling to be able support AGI games, but do work due to a fluke in the AGI detection.
...
svn-id: r25912
2007-02-28 21:25:05 +00:00
Torbjörn Andersson
61e2a9eb78
Clarified some comments and moved some asserts to hopefully answer Fingolfin's
...
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-28 18:25:42 +00:00
Max Horn
5e2fe7dc7f
cleanup
...
svn-id: r25910
2007-02-28 15:04:02 +00:00
Max Horn
8c8abca6f8
Changed the AppendableAudioStream code to use a queue of buffers, instead of 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-28 14:48:26 +00:00
Max Horn
dea688d0f5
Fix spelling
...
svn-id: r25908
2007-02-28 14:07:47 +00:00
Max Horn
6be027afab
cleanup
...
svn-id: r25906
2007-02-28 12:54:59 +00:00
Max Horn
551b2b6b3d
Fix for bug #1670081 -- SWORD1: game won't load (ogg compression) (regression)
...
svn-id: r25905
2007-02-28 10:44:52 +00:00
Max Horn
0076761fa6
compress_simon -> compress_agos
...
svn-id: r25904
2007-02-28 09:14:26 +00:00
Torbjörn Andersson
75d79f639b
Changed "each X mins" to "every X mins".
...
svn-id: r25901
2007-02-27 21:26:21 +00:00
Nicola Mettifogo
b2927b69c6
changed font handling:
...
- 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-27 19:39:33 +00:00
Johannes Schickel
75af373278
ops missed one spot last commit.
...
svn-id: r25899
2007-02-27 17:12:16 +00:00
Johannes Schickel
56f65a5002
fix for gradient calculation
...
svn-id: r25898
2007-02-27 17:10:40 +00:00
Max Horn
2dfea717a3
removing SCUMMVM_SAVEPATH from the man page (it has been deprecated for some time now)
...
svn-id: r25895
2007-02-27 12:26:47 +00:00
Travis Howell
7380142071
Change the volume of music channel of mixer, when adjusting music volume too.
...
svn-id: r25894
2007-02-27 11:47:28 +00:00
Kostas Nakos
235aa3376b
properly support saga and cine engines
...
svn-id: r25893
2007-02-27 11:07:59 +00:00
Torbjörn Andersson
2c7bf36af8
Close sky.dnr directly after reading it into memory. No need to keep it open
...
until the Disk object is deleted.
svn-id: r25889
2007-02-26 23:08:52 +00:00
Paul Gilbert
41574458fc
Added animation handler for standard characters that can be talked to
...
svn-id: r25888
2007-02-26 22:56:02 +00:00
Torbjörn Andersson
437bc950b6
Measure the "open time" from when the pop-up dialog was first drawn, not from
...
when it was created. This should fix bug #1667992 .
svn-id: r25887
2007-02-26 22:38:24 +00:00
Gregory Montoir
82adbc025d
some fixes for FOTAQ Amiga versions, cleanup
...
svn-id: r25886
2007-02-26 20:50:33 +00:00
Max Horn
ac719ac5fd
More dead code; augmented note on PC speaker emulation
...
svn-id: r25885
2007-02-26 20:44:39 +00:00
Max Horn
73188b4716
'Optimized' SquareWaveStream::readBuffer a bit, removed some dead code, and 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-26 20:41:52 +00:00
Max Horn
1c80f2ffa0
calling memset to zero a buffer you are about to fill with audio data is not necessary (removing this from Gob::Snd::readBuffer); removed dead code
...
svn-id: r25883
2007-02-26 20:32:43 +00:00
Willem Jan Palenstijn
b1a12658b0
stop audio streams before deleting them
...
svn-id: r25882
2007-02-26 18:52:28 +00:00
Kostas Nakos
1af4932242
Fix alignment issues in wince port.
...
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-26 18:34:00 +00:00
Kostas Nakos
017c1b24f7
support agi engine
...
svn-id: r25880
2007-02-26 18:09:41 +00:00
Kostas Nakos
9f9b7d96a7
added gfx and code to support spacebar and escape keys in the virtual keyboard (remember, Jubanka couldn't draw if his life depended on it :-) ).
...
fixed (essentially added) support for the directional keys of the virtual keyboard (no idea why these were not implemented).
svn-id: r25879
2007-02-26 17:48:04 +00:00
Max Horn
48a401d9dd
Removing dead code
...
svn-id: r25878
2007-02-26 12:07:20 +00:00
Max Horn
a2a46c55d2
Using FLAG_AUTOFREE implies free() being called on the memory buffer you passed to the audio stream code -- hence, use malloc and not new[] to allocate the buffer
...
svn-id: r25877
2007-02-26 11:16:31 +00:00
Travis Howell
08fc65bef9
Add demo of Waxworks.
...
svn-id: r25876
2007-02-26 07:13:54 +00:00
Paul Gilbert
4f8c66b4cc
Added saving of the random actions set state, and implemented NPC opcode 29, which allows for an NPC to be given a custom talk record
...
svn-id: r25875
2007-02-26 02:50:23 +00:00
Paul Gilbert
04159e0622
Added extra talk records needed by NPC opcode 29, which lets the script engine override an NPC's current talk record
...
svn-id: r25873
2007-02-26 02:46:32 +00:00
Gregory Montoir
ca597dbf50
reduced code dup, Queen::LineReader -> SeekableReadStream::readLine
...
svn-id: r25871
2007-02-25 22:24:11 +00:00
Nicola Mettifogo
c9f652dc1f
made Archive inherit from SeekableReadStream instead of File since write capabilities and file handle are not needed. Implementation of SeekableReadStream virtual functions is now complete.
...
svn-id: r25870
2007-02-25 22:17:41 +00:00
Max Horn
d74a339424
Fix warnings
...
svn-id: r25869
2007-02-25 22:13:38 +00:00