Max Horn
2de46dc8eb
Moved some more stuff to namespace Audio (enough for tonight)
...
svn-id: r18040
2005-05-11 00:01:44 +00:00
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
72f4c03b0b
Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
...
svn-id: r18038
2005-05-10 23:17:38 +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
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Torbjörn Andersson
42ae68ff37
Whitespace
...
svn-id: r17891
2005-05-01 17:55:45 +00:00
Robert Göffringmann
f28c3d14a3
fixed filehandling bug
...
svn-id: r17830
2005-04-27 02:16:34 +00:00
Max Horn
e79c168d35
split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
...
svn-id: r17517
2005-04-10 15:13:40 +00:00
Jonathan Gray
24c92d0091
Remove usage of vsprintf in favour of vsnprintf and make
...
more use of STRINGBUFLEN. Some ports may need a new stub for
this, discussed with Chrilith.
svn-id: r17463
2005-04-09 01:52:44 +00:00
Torbjörn Andersson
d5b2582aa5
Missed these.
...
svn-id: r17428
2005-04-07 08:50:48 +00:00
Torbjörn Andersson
4d33534938
Applied some ScummVM formatting conventions.
...
svn-id: r17427
2005-04-07 08:42:40 +00:00
Max Horn
9a4bc8ce16
Patch #1117443 (Experimental plugin code revision)
...
svn-id: r17231
2005-03-25 17:55:57 +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
Chris Apers
d27f4116f4
Cleanup
...
svn-id: r17080
2005-03-11 11:06:45 +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
Torbjörn Andersson
224e0b7aa4
Fixed warning.
...
svn-id: r16847
2005-02-21 08:15:15 +00:00
Robert Göffringmann
78533d416f
Changed mutex usage.
...
It now unlocks the mutex while it's loading mp3/ogg/wave data in order to have the sound thread play normally.
The ps2's cd/dvd drive is too slow to transfer the entire file within a few millisecs, so it made the sound skip.
svn-id: r16831
2005-02-20 19:06:09 +00:00
Robert Göffringmann
b455a94e0f
cache datafile handles instead of opening and closing all files hundreds of times per second. I noticed that behaviour on the PS2. The cd/dvd drive was waaaay too slow for it. ;)
...
svn-id: r16830
2005-02-20 18:53:30 +00:00
Max Horn
86370fa544
BS1 specific fix for bug #1107121 (ALL/SFX: Setting the SFX volume at 256 mutes sound)
...
svn-id: r16746
2005-02-06 20:31:20 +00:00
Max Horn
abd12dd1b6
Use class Mutex instead of MutexRef
...
svn-id: r16679
2005-01-28 22:05:51 +00:00
Jonathan Gray
81e9e0da72
Fix compilation when vorbis is disabled and mpeg2 is enabled.
...
Pointed out by Michael Sterrett on irc.
svn-id: r16620
2005-01-23 03:26:54 +00:00
Max Horn
2d2cef23a0
Not needed anymore
...
svn-id: r16565
2005-01-15 21:44:26 +00:00
Max Horn
05662db4dc
Use loadWAVFromStream
...
svn-id: r16552
2005-01-13 16:28:20 +00:00
Max Horn
f3f1d6be87
Legal header
...
svn-id: r16531
2005-01-10 22:43:21 +00:00
Max Horn
6f6668ce21
Reduce dependencies on common/savefile.h from 88 to 14
...
svn-id: r16528
2005-01-10 22:18:39 +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
7df70de2b1
Mark some places which probably should use loadWAVFromStream(); maybe some of the engine maintainers can look into using it
...
svn-id: r16503
2005-01-09 15:57:38 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
53ff19eccb
Use SoundMixer::kMaxMixerVolume
...
svn-id: r16350
2004-12-27 23:46:55 +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
Max Horn
5a38c16c27
speech_volume default value gets already set in gameDetector.cpp
...
svn-id: r16321
2004-12-25 20:59:18 +00:00
Chris Apers
099f5de891
Speedup a bit PalmOS port
...
svn-id: r16165
2004-12-20 16:55:55 +00:00
Eugene Sandulenko
5029e9aaae
Fix compilation when USE_MPEG2 is undefined.
...
svn-id: r16081
2004-12-16 15:27:21 +00:00
Robert Göffringmann
475b5f138d
fixed warning
...
svn-id: r16039
2004-12-12 07:11:11 +00:00
Max Horn
59bd385301
Const correctness
...
svn-id: r16032
2004-12-11 22:04:54 +00:00
Nicolas Bacca
876079be75
Fix dumb CE compiler
...
svn-id: r16026
2004-12-11 00:37:05 +00:00
Robert Göffringmann
c9fb63af0b
unify pc/palm sourcecode
...
svn-id: r16025
2004-12-10 18:26:08 +00:00
Robert Göffringmann
5dc8b51b27
changed cd checking code, gives warnings about everything now.
...
svn-id: r16024
2004-12-10 17:55:03 +00:00
Chris Apers
ccca4856aa
Many PalmOS ARM optimizations
...
svn-id: r16013
2004-12-10 15:13:10 +00:00
Chris Apers
981d5fb1a2
Reading from memory card is too slow
...
svn-id: r16012
2004-12-10 15:11:53 +00:00
Chris Apers
e1458ca1ff
PalmOS stuffs
...
svn-id: r16011
2004-12-10 15:10:10 +00:00
Max Horn
971719f098
Fix warning
...
svn-id: r16007
2004-12-10 00:25:29 +00:00
Robert Göffringmann
3bd97accd4
make scrolling smooth.
...
svn-id: r16005
2004-12-09 21:32:02 +00:00
Robert Göffringmann
846f520ed6
fix potential race condition
...
svn-id: r16003
2004-12-09 16:33:54 +00:00
Robert Göffringmann
0d7ab01640
Pass subdirectories to gamedetector functions
...
svn-id: r16002
2004-12-09 15:06:49 +00:00
Robert Göffringmann
58bf9028b1
moved the bootparam code out of sword1.cpp
...
svn-id: r16001
2004-12-08 04:38:39 +00:00
Max Horn
f09293b22c
Clean up OSystem::Event
...
svn-id: r15990
2004-12-05 17:42:20 +00:00