Max Horn
abd12dd1b6
Use class Mutex instead of MutexRef
...
svn-id: r16679
2005-01-28 22:05:51 +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
1ae87c0fbb
Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
...
svn-id: r15944
2004-11-28 21:24:02 +00:00
Max Horn
d8406e2633
cleanup
...
svn-id: r15917
2004-11-27 16:18:50 +00:00
Max Horn
8ff15ae72c
Use modern form of setupPremix
...
svn-id: r15915
2004-11-27 16:12:11 +00:00
Max Horn
c6752cccf5
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
...
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
ebecf1dbaa
unify _vm / _scumm usage
...
svn-id: r12262
2004-01-08 20:37:26 +00:00
Oliver Kiehl
ea154852b7
add newlines to end of files
...
svn-id: r12249
2004-01-08 13:36:26 +00:00
Chris Apers
a6f378aee2
No more needed
...
svn-id: r12245
2004-01-08 12:12:46 +00:00
Max Horn
033ff78ae9
updated copyright notice
...
svn-id: r12176
2004-01-06 12:45:34 +00:00
Chris Apers
3f1d66cf11
PalmOS sound API cannot access globals or functions out of the first segment
...
svn-id: r11740
2003-12-18 11:47:58 +00:00
Paweł Kołodziejski
1f9e408e2f
cleanup whitespaces
...
svn-id: r11217
2003-11-08 21:59:32 +00:00
Max Horn
0954fc1dac
cleanup
...
svn-id: r10620
2003-10-05 17:32:38 +00:00
Max Horn
ad293a5ab8
cleanup / doxygenification
...
svn-id: r10578
2003-10-03 23:34:06 +00:00
Max Horn
d7660a2662
introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
...
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
3ead57623e
make doxygen happy
...
svn-id: r10567
2003-10-03 13:44:12 +00:00
Max Horn
3f55f2669d
renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
...
svn-id: r10549
2003-10-02 22:42:03 +00:00
Jochen Hoenicke
748523dbe2
Generated signed sound samples (cf. feature request #812913 ).
...
svn-id: r10510
2003-09-30 17:10:03 +00:00
Max Horn
0c8df28387
cleanup; some more fixed need afnow that the premix proc is expected to generate stereo data; (we probably should add a common base class for Player_V1/V2 instead of deriving V1 from V2)
...
svn-id: r10312
2003-09-19 14:43:57 +00:00
Max Horn
1dbab0237f
cleanup/refactoring
...
svn-id: r10070
2003-09-07 19:28:45 +00:00
Max Horn
361c3b95d5
some cleanup; clarified isSoundInUse semantics and the difference between IMuse::get_sound_active and IMuse::getSoundStatus; added lots of const qualifiers to IMuse; rewrote IMuseInternal::getSoundStatus (hopefully not breaking it); added MusicEngine::getSoundStatus
...
svn-id: r10069
2003-09-07 17:14:56 +00:00
Max Horn
0012f7fa96
added common base class MusicEngine for iMuse/iMuseDigital/Player_V123 (initial stab, more work to follow)
...
svn-id: r10066
2003-09-07 16:16:19 +00:00
Jochen Hoenicke
185d563690
A different fix for Bugs item #788531 .
...
Allocate a 4th channel and map all accesses to out of bounds
channels to this channel.
svn-id: r9705
2003-08-15 12:48:47 +00:00
Jochen Hoenicke
fa457b95c1
Don't create imuse for v1 and v2 games (otherwise getSoundStatus doesn't work).
...
PCjr support for V1 games, bug fix in speaker support.
set_pcjr is now called by Player_V2 constructor according to midi driver.
Renaming of member variables to begin with an underscore.
svn-id: r9692
2003-08-14 19:41:40 +00:00
Travis Howell
cd40c899b2
Inital support for v1 maniac sound from Hoenicke
...
Had to move music init for v1/v2 games to get this working
svn-id: r9675
2003-08-14 02:28:19 +00:00
Max Horn
4ae47a74bf
added support for output sample rates > 32767 (still limited to a max of 65535, but all we care about are 44100 and 48000 anyway)
...
svn-id: r9510
2003-08-05 17:52:47 +00:00
Max Horn
d098334fe6
updated code to use type MutexRef; added class StackLock (from sdl backend, now in util.*)
...
svn-id: r8777
2003-07-05 15:19:11 +00:00
Max Horn
c10905b975
cleanup
...
svn-id: r8662
2003-06-27 00:10:17 +00:00
Max Horn
acec45a483
cleanup
...
svn-id: r8494
2003-06-15 01:00:43 +00:00
Jochen Hoenicke
ce0352eab2
Added a fix for music_timer in V3 games.
...
svn-id: r8361
2003-06-06 21:56:37 +00:00
Jochen Hoenicke
ff5705b32c
Added VAR_MUSIC_TIMER support to playerV2. Now Zak intro is synchronized.
...
svn-id: r8245
2003-06-01 16:42:29 +00:00
Jochen Hoenicke
3290d618d6
Made thread-safe.
...
PCjr support.
Rewrote the generator, so I can reuse more code between PCjr and speaker output.
Added function to set master volume and to switch between PCjr and speaker.
svn-id: r8185
2003-05-31 16:54:46 +00:00
Jamieson Christian
dbad55e532
Added Hoenicke's PC-speaker waveform generator
...
and script interpreter for GF_OLD_BUNDLE music resources.
We'll try to get the waveform generator into a
MidiDriver wrapper for use with the 'SPK' resources
of later games, but this is usable for now.
Great work, Hoenicke!
svn-id: r8023
2003-05-26 22:03:04 +00:00