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
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
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
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
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
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
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
Nicola Mettifogo
c7734857e1
made Archive inherit from Common::File, added some methods to comply to interface, changed callers to exploit readByte capabilities
...
svn-id: r25868
2007-02-25 21:40:15 +00:00
Nicola Mettifogo
420a7c5f75
made Archive behave more like Common::File, preparing for inheritance
...
svn-id: r25867
2007-02-25 21:04:51 +00:00
Nicola Mettifogo
cacff9a9f2
wrapped archive routines into a new class named Archive. File-level static variables have been made members of the new class.
...
svn-id: r25866
2007-02-25 20:35:47 +00:00
Nicola Mettifogo
0c77177ef1
oops. Forgot the very last reference.
...
svn-id: r25865
2007-02-25 20:18:11 +00:00
Nicola Mettifogo
7c5600724b
got rid of ArchievedFile. Since only one single file is being read from the archives at every moment, the ArchivedFile structure used for bookkeeping is useless.
...
svn-id: r25864
2007-02-25 20:12:23 +00:00
Gregory Montoir
f68105912a
fixed background music in catalog_cup_demo_de : only stop sfx if it was started in a previous block
...
svn-id: r25863
2007-02-25 19:15:00 +00:00
Gregory Montoir
4af53c56e9
changed all hard-coded filenames to uppercase, for consistency
...
svn-id: r25862
2007-02-25 19:10:59 +00:00
Gregory Montoir
c5f5583ded
added AmigaSound::playRandomPatternJungle, minor cleanup
...
svn-id: r25860
2007-02-25 19:01:59 +00:00
Eugene Sandulenko
393478a143
Rename C64 file to V0 as well.
...
svn-id: r25856
2007-02-25 14:47:51 +00:00
Eugene Sandulenko
11aafd1685
Fix looping for enchanced soundtracks.
...
svn-id: r25855
2007-02-25 14:34:21 +00:00
Travis Howell
9383f433bd
Add German CUP demo, whichs shows several HE games.
...
svn-id: r25851
2007-02-25 11:51:20 +00:00
Travis Howell
28408d8b7b
Rename C64 engine class, since it is been used by Apple II and Commodore 64 versions now.
...
svn-id: r25850
2007-02-25 11:38:19 +00:00
Torbjörn Andersson
c64be322a1
Added comment about the missing decode1 proc.
...
svn-id: r25849
2007-02-25 08:37:15 +00:00
Travis Howell
0c208657ee
Remove left over debug output.
...
svn-id: r25848
2007-02-25 07:28:40 +00:00
Travis Howell
fdc61643f4
Rename file class, since it is been used for disk images of Apple II and Commodore 64 versions now.
...
svn-id: r25847
2007-02-25 07:26:41 +00:00
Travis Howell
19d2310b71
Add support for using disks images for Apple II version of Maniac Mansion.
...
svn-id: r25846
2007-02-25 07:23:52 +00:00
Travis Howell
87832481de
Add magic id for Apple II verison of Maniac Mansion.
...
svn-id: r25845
2007-02-25 06:21:57 +00:00
Max Horn
497f7683ca
Another Ogg > MP3 consistency reordering, this time in the SMUSH code; also changed it to use the new compressed audio stream factories
...
svn-id: r25843
2007-02-25 00:12:11 +00:00
Max Horn
dd26444b72
oops
...
svn-id: r25842
2007-02-25 00:09:22 +00:00
Max Horn
9823cbe1ea
Added TODO: Sword1's MusicHandle::play etc. should be rewritten to take advantage of the enhanced compressed audio stream code
...
svn-id: r25841
2007-02-25 00:04:35 +00:00
Max Horn
21b095ce20
Switch to the new makeVorbisStream variant (and get rid of a File::decRef call)
...
svn-id: r25840
2007-02-25 00:03:47 +00:00
Max Horn
8366420474
Remove unneeded #includes
...
svn-id: r25838
2007-02-24 23:41:20 +00:00
Max Horn
b3931a847d
Trying to unify the order in which we try the various audio formats: Prefer 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-24 23:40:28 +00:00
Max Horn
65b30d84a8
Added numLoops parameter to DigitalTrackInfo::play
...
svn-id: r25836
2007-02-24 23:19:53 +00:00
Max Horn
cafe61fec2
cleanup
...
svn-id: r25834
2007-02-24 23:15:39 +00:00
Max Horn
8fa6a1ffd5
Removed the (useless, thanks to resTypeFromId) 'name' parameter from readResTypeList
...
svn-id: r25828
2007-02-24 19:29:40 +00:00
Max Horn
04a18dd7c4
SCUMM: cleanup (moved small header specific code from ScummEngine::readResTypeList to ScummEngine_v4::readResTypeList)
...
svn-id: r25827
2007-02-24 19:20:15 +00:00
Max Horn
dcc6e2c0bb
SCUMM: Try to distinguish between indy3, indy3Towns, zakTowns, loomTowns in the fallback (non-MD5) detection code
...
svn-id: r25826
2007-02-24 19:15:10 +00:00
Gregory Montoir
11e679845d
some fixes and additions for FOTAQ amiga versions
...
svn-id: r25825
2007-02-24 18:39:08 +00:00
Max Horn
d350830d7c
Added Spanish version of The Dig; updated a comment on detecting TOWNS variants
...
svn-id: r25824
2007-02-24 18:25:58 +00:00
Sven Hesse
be66e732f8
Added spanish Ween (bug #1667743 )
...
svn-id: r25823
2007-02-24 15:28:03 +00:00
Eugene Sandulenko
91dbad8325
Use AGDS feature for specifying demos
...
svn-id: r25822
2007-02-24 15:24:38 +00:00