Torbjörn Andersson
27334a55d7
Marked all these structs as packed, except CollisionData, which I have
...
removed because it wasn't used. Does this make any difference at all on
64-bit architectures in general, and bug #1153682 in particular?
svn-id: r18856
2005-09-21 12:06:52 +00:00
Torbjörn Andersson
d28cb8931e
After saving, return to the game instead of the main control panel. This is
...
how the original did it (the DOS version, at least -- I couldn't get the
Windows version to install under Wine), and is part of RFE #1273746 .
svn-id: r18795
2005-09-09 07:32:29 +00:00
Max Horn
3f2286031a
Avoid putting non-ASCII chars into source files
...
svn-id: r18761
2005-09-03 19:59:33 +00:00
Torbjörn Andersson
2174c6f49c
Implement looping sounds. This should fix bug #1273741 , hopefully without
...
causing any problems. (I assume either the game scripts or the engine will
make sure that looped sounds are stopped.)
svn-id: r18713
2005-08-26 12:50:54 +00:00
Torbjörn Andersson
41e9aa2f2c
Added keyboard repeating.
...
svn-id: r18711
2005-08-25 15:33:38 +00:00
Torbjörn Andersson
3140dbebc4
The dialog windows now react to "Enter" and "Escape" in what I hope is a
...
sensible way. This is an extension of feature request #1265893 .
svn-id: r18710
2005-08-24 16:10:09 +00:00
Jonathan Gray
603a5e4d6f
Don't explicity check for tremor and vorbis everywhere and
...
require both USE_TREMOR and USE_VORBIS to be defined when
using tremor.
svn-id: r18642
2005-08-10 12:42:56 +00:00
Jonathan Gray
3c1b5648ae
Rest of the changes required for tremor to actually work.
...
Based on patches against 0.7.1 by Jolan Luff.
svn-id: r18641
2005-08-10 06:16:26 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Torbjörn Andersson
35cb8fb875
For consistency, specify directory when including files.
...
svn-id: r18447
2005-06-24 16:01:42 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
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