Max Horn
1a615346ab
Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
...
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Torbjörn Andersson
81c84b683e
If the sound ends before the cutscene, fall back on same synchronizing
...
mechanism as in the no sound case. In particular, don't hang while waiting
for the sound to play far enough to go to the next frame.
This should fix bug #1192646 .
svn-id: r17889
2005-05-01 17:44:54 +00:00
Torbjörn Andersson
728da398d7
...and since RGBToColor() returns OverlayColor, let's use that datatype
...
instead of uint16. (I never realized that we could use RGBToColor() here
myself. Good job in spotting that!)
svn-id: r17812
2005-04-26 11:05:06 +00:00
Robert Göffringmann
d10947dca1
now uses OSystem::RGBtoColor for yuv->rgb conversion tables instead of checking gBitFormat
...
svn-id: r17810
2005-04-26 10:27:53 +00:00
Marcus Comstedt
c31f685e44
Added ARGB4444 case to table generation.
...
Maybe this should really be a single case using RGBToColor instead...
svn-id: r17357
2005-04-03 20:48:23 +00:00
Max Horn
7cd2cb2b17
PlayingSoundHandle -> SoundHandle; also, turned the handle activity check into a mixer method
...
svn-id: r17106
2005-03-12 18:56:09 +00:00
Torbjörn Andersson
a52de03324
Renamed variables in the MPEG animation classes to better conform with
...
ScummVM standard. It seems the 8-bit version of the code had decayed
slightly, but I believe it's working again now.
svn-id: r17081
2005-03-11 15:30:28 +00:00
Max Horn
0ec193b4be
changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
...
svn-id: r17052
2005-03-09 18:12:54 +00:00
Torbjörn Andersson
e3105f926b
Applied patch #1155731 , reducing the memory usage of the MPEG player by
...
about 8 MB.
svn-id: r17007
2005-03-06 14:12:40 +00:00
Max Horn
ec79a9a768
A little more moving around #include's (last one for today ;-)
...
svn-id: r16534
2005-01-10 22:51:42 +00:00
Max Horn
cffd917165
system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
...
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
67b311713d
Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
...
svn-id: r16330
2004-12-27 00:27:00 +00:00
Nicolas Bacca
c741d06504
CE workaround - skipping the movie is better than crashing if the LUT cannot be allocated
...
svn-id: r16218
2004-12-20 23:57:21 +00:00
Robert Göffringmann
5d32a2c034
added support for an international BS1 cutscene pack (which we didn't release yet)
...
svn-id: r15983
2004-12-05 02:55:06 +00:00
Max Horn
10dd548b85
Changed parameter order of SoundMixer::playInputStream to match that of playRaw
...
svn-id: r15950
2004-11-28 23:02:28 +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
Max Horn
ce8c99bf62
Rename remaining OSystem methods to match our coding guidelines
...
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
b4223febd3
Enhanced extrapath support
...
svn-id: r14470
2004-08-05 11:13:00 +00:00
Bertrand Augereau
23c17eb9c6
Changed order of initialisation in BaseAnimationState::BaseAnimationState() to match order of declaration, to avoid a pedantic warning
...
svn-id: r14275
2004-07-19 11:35:29 +00:00
James Brown
9756a420a3
Use extrapath in Sword1 engine (from 0.6.0 branch). More verbose errors to go with the forthcoming new manual. Sword1 CD swapping doesn't work as expected HERE, either :)
...
svn-id: r14188
2004-07-11 04:41:48 +00:00
Max Horn
e0eab01e63
Make use of new File refcount code; also fixed long standing bug in vorbis code (ov_clear was not being called, resulting in a file not being closed)
...
svn-id: r14107
2004-06-28 22:35:22 +00:00
Max Horn
14378cb56e
Renamed more OSystem methods
...
svn-id: r13410
2004-03-28 16:30:50 +00:00
Torbjörn Andersson
afefe7dcfa
Use the binary .pal file format that was introduced for 0.6.0.
...
Invalidate the lookup table when the screen changes. (TODO: We also have to
invalidate it if the change happens between cutscenes, don't we?)
Some cleanup, particularly in the BS2 cutscene player. More needed, I
guess...
svn-id: r13377
2004-03-24 07:29:59 +00:00
Max Horn
3fddbc18d6
Unify MPEG2 code even more
...
svn-id: r13365
2004-03-23 00:10:18 +00:00
Max Horn
d24be923f3
share 'init' method, too
...
svn-id: r13361
2004-03-22 20:46:30 +00:00
Max Horn
838d3e3a93
some more cleanup
...
svn-id: r13359
2004-03-22 01:40:24 +00:00
Max Horn
4466a85598
move commong code into separate source file (more could be done, but it's a start)
...
svn-id: r13358
2004-03-22 01:28:45 +00:00
Max Horn
a9789acfc6
Moved Surface/Font code into new 'graphics' module
...
svn-id: r13357
2004-03-21 21:20:25 +00:00