Gregory Montoir
ec2099a902
Fixed regression in queen floppy version. Before doing any speech/texts synchronization, we check the voice sfx exists. See also patch #1087870
...
svn-id: r16131
2004-12-19 12:19:21 +00:00
Max Horn
ba74a8e7f6
Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
...
svn-id: r15914
2004-11-27 15:58:18 +00:00
Gregory Montoir
6414ec92a2
cleanup, follow code conventions
...
svn-id: r15872
2004-11-23 22:21:45 +00:00
Joost Peters
6751e16da1
Use the SilentSound class for sfx/speech when sound output is not possible.
...
This should fix the hangs where the game waits for sfx/speech to finish in these cases.
svn-id: r15370
2004-10-01 14:48:49 +00:00
Gregory Montoir
45d8b3b002
Rewrote the way strings are extracting from the datafiles, now it should be 'alignment safe'. Maybe it will fix bugs #923570 and #1013886 , too.
...
svn-id: r14734
2004-08-24 16:31:46 +00:00
Gregory Montoir
8b0e9502ec
cleanup and simplify Resource class a bit more
...
svn-id: r14488
2004-08-06 17:01:58 +00:00
Nicolas Bacca
52642e4123
Fix #922003 - FOTAQ crash on PocketPC
...
svn-id: r13372
2004-03-23 20:34:19 +00:00
Chris Apers
6e1200dc67
Added PalmOS support
...
svn-id: r13336
2004-03-17 14:10:51 +00:00
Joost Peters
99d57c2d9f
Respond to volume-altering songs
...
svn-id: r13225
2004-03-09 01:48:12 +00:00
Gregory Montoir
ec5f7b87c6
cleanup (removed irrevelant comments and useless XXX'ed code)
...
svn-id: r13214
2004-03-07 10:46:02 +00:00
Joost Peters
bb0ed8bc81
Handle comic book case, enable music toggle and some minor cleanup.
...
svn-id: r13074
2004-02-27 23:54:13 +00:00
Max Horn
aa6ec62e9d
Patch #885904 (Flac Support) with some tweaks by me
...
svn-id: r12984
2004-02-22 14:11:16 +00:00
Joost Peters
6e50033d07
I am an idiot.
...
Better fix for bug #899881 (Sounds played when sound turned off) - I forgot I added the isSpeech flag a while back. :)
svn-id: r12976
2004-02-21 20:50:56 +00:00
Joost Peters
0d974b9daa
Seperate SFX and Speech.
...
this fixes the 'pauses' in the car-chase scene and other scene which use
speech and sfx simultaneously.
svn-id: r12599
2004-01-25 22:10:23 +00:00
Travis Howell
fde0a08cc9
Song 17 should be silence in demos.
...
svn-id: r12597
2004-01-25 16:57:05 +00:00
Travis Howell
f4e26c9412
Add support for music in fotaq demos
...
svn-id: r12585
2004-01-25 05:03:35 +00:00
Joost Peters
0bece175e4
- Some refactoring/clean-up.
...
- Handle special music types (> 1000)
- Implemented random looping (untested)
svn-id: r12577
2004-01-22 23:10:05 +00:00
Joost Peters
698eefae58
- Enable music queueing (I don't really like the levels of indirection, but it'll do for now)
...
- Handle special music type '2000' (restart previously queued music)
svn-id: r12529
2004-01-19 23:54:50 +00:00
Gregory Montoir
95de2117a2
New save/load code, this *breaks* compatiblity with the previous
...
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc .[cpp|exe]).
svn-id: r12339
2004-01-12 13:40:02 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Joost Peters
7cc9727916
respond to 'alter'-type overrides
...
svn-id: r12126
2004-01-04 03:37:12 +00:00
Joost Peters
9e78d9e14e
Demo uses different file for music (and disable it for now)
...
svn-id: r12011
2003-12-29 15:50:17 +00:00
Gregory Montoir
14cfaf8852
- hack to read patched .dog files (french & italian versions) from game data path instead of data file
...
- cleanup Resource a bit (add an accessor for ResourceEntry in order to avoid multiple calls to resourceIndex)
svn-id: r12006
2003-12-29 13:18:24 +00:00
Joost Peters
dd7fc9f8ef
Cope with song '0' (old savegames used to use this 'dummy' value)
...
svn-id: r11986
2003-12-28 01:47:37 +00:00
Joost Peters
effc207b69
- added 'song' debugger command
...
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames
svn-id: r11985
2003-12-28 01:17:29 +00:00
Max Horn
e9269257f3
turned PlayingSoundHandle into an 'opaque' (well not really :-) data type, mainly because people kept (accidentally and sometimes on purpose :-) misusing them
...
svn-id: r11881
2003-12-24 00:25:18 +00:00
Max Horn
e439eb5129
added convenience SoundMixer::playVorbis variant which calls through to playSfxSound_Vorbis; made scumm/queen engines use it
...
svn-id: r11812
2003-12-21 15:47:52 +00:00
Max Horn
9a994bf2f2
cleanup
...
svn-id: r11795
2003-12-21 00:07:16 +00:00
Gregory Montoir
33ca6ecfa5
some code to play the 'room background sfx' (equivalent to sfxplay(NULLstr))
...
svn-id: r11786
2003-12-20 16:54:46 +00:00
Travis Howell
97f1b78905
Make music_mute take effect.
...
svn-id: r11624
2003-12-14 04:07:22 +00:00
Travis Howell
6f2217dcb2
Fixproblem of fotaq attempting to play sfx as music, when sfx are disabled.
...
svn-id: r11623
2003-12-14 03:36:47 +00:00
Joost Peters
1de28a2931
Initial (Roland) Music support; a lot of stuff is still missing and/or incomplete.
...
svn-id: r11621
2003-12-14 00:33:21 +00:00
Gregory Montoir
c2be8ed45d
constructors cleanup
...
svn-id: r11589
2003-12-11 22:16:35 +00:00
Gregory Montoir
3befded402
cleanup header includes
...
svn-id: r11449
2003-12-01 20:48:41 +00:00
Torbjörn Andersson
ab066c41e0
Fixed warning
...
svn-id: r11308
2003-11-16 14:12:53 +00:00
Joost Peters
f979f185af
- Enabled missing calls to _sound->playSong, now it should *really* play all SFX
...
- Moved sound/music related toggle variables to Sound class
- Changed "Couldn't find file.." warning() to debug(7, ..)
svn-id: r11303
2003-11-15 21:33:04 +00:00
Joost Peters
2d3f4ef831
Play all sfx now, instead of only amiga ones + some music preparation
...
svn-id: r11288
2003-11-14 00:45:44 +00:00
Paweł Kołodziejski
8f130401a1
cleanup whitespaces
...
svn-id: r11224
2003-11-08 23:45:45 +00:00
Joost Peters
aa655b95e4
Apparantly, this cast is not needed for it to work properly
...
svn-id: r11202
2003-11-08 11:00:36 +00:00
Torbjörn Andersson
e01ab4599d
Fixed warning. (I've only seen these warnings when compiling under MinGW,
...
and to be honest I never understood why the compiler wars for it.)
svn-id: r11184
2003-11-07 10:38:45 +00:00
Joost Peters
e9581dda6e
Added partial playSong() implementation
...
svn-id: r11179
2003-11-07 02:33:20 +00:00
Joost Peters
0ba347414d
forgot this
...
svn-id: r10994
2003-10-28 15:33:45 +00:00
Joost Peters
ee276b12b8
add OGG playback to queen
...
svn-id: r10993
2003-10-28 15:26:05 +00:00
Joost Peters
e02fe63f2e
added loadFileMalloc() method
...
svn-id: r10988
2003-10-28 12:42:35 +00:00
Joost Peters
6fc0cd7913
whatever
...
svn-id: r10959
2003-10-25 01:11:14 +00:00
Joost Peters
3ad14b06f5
added extra flag to mixer so we don't use free() on new'd pointers
...
svn-id: r10958
2003-10-24 23:09:01 +00:00
David Eriksson
ad98347eb0
Initial version of the Input class. Some things still missing.
...
svn-id: r10944
2003-10-23 06:44:35 +00:00
Joost Peters
5bcf5a901e
add Sound class + call it from Talk::speakSegment
...
svn-id: r10933
2003-10-21 12:29:37 +00:00