Commit Graph

647 Commits

Author SHA1 Message Date
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
Gregory Montoir
da06fe93a9 fixed debug areas display ; some minor cleanup
svn-id: r18007
2005-05-09 18:25:28 +00:00
Travis Howell
2f1ff2afec Use debugger for errors, where possible.
svn-id: r17998
2005-05-09 12:12:14 +00:00
Max Horn
cca744f69a Comply to our coding conventions
svn-id: r17975
2005-05-08 21:49:52 +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
Torbjörn Andersson
49bab70ded Applied some ScummVM formatting conventions.
svn-id: r17430
2005-04-07 08:57:40 +00:00
Jerome Fisher
eda317924e Committed patch #1168149 (Shared GM/MT-32 mapping) by eriktorbjorn as-is. This does the following:
- Replaces multiple identical MT-32-to-General MIDI mapping tables with a common one in MidiDriver.
- Changes Sky's GmChannel class to allow NULL instrument and velocity mapping tables, giving a 1-to-1 mapping without creating a dummy table.

svn-id: r17361
2005-04-03 22:01:38 +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
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
Joost Peters
89ecfa29ba Might as well return the GameSetting directly
svn-id: r17013
2005-03-06 22:35:12 +00:00
Joost Peters
e630d450ed cleanup
svn-id: r17012
2005-03-06 21:44:40 +00:00
Joost Peters
8b19b3e340 Add demo detection; satisfies feature request #1154562.
svn-id: r17011
2005-03-06 18:08:46 +00:00
Joost Peters
a33f973be8 fix typo
warning() appends a '!', so remove the trailing '.'

svn-id: r16883
2005-02-23 17:21:32 +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
Nicolas Bacca
a6d6ec4a77 Fix alignment problem
svn-id: r16523
2005-01-10 20:49:35 +00:00
Joost Peters
57eaf5c925 Change warning to debug
svn-id: r16440
2005-01-06 11:46:32 +00:00
Max Horn
f52be9df68 Changed OSystem::instance() to return a reference, not a pointer (it now matches the Singleton interface)
svn-id: r16402
2005-01-01 18:53:47 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
a44e824815 added some comments and re-indented some parts of code
svn-id: r16394
2004-12-31 00:25:18 +00:00
Gregory Montoir
4d46b7882a oops... thanks wjp for pointing me this one
svn-id: r16368
2004-12-29 14:25:20 +00:00
Gregory Montoir
8230330587 slightly less hackish Journal code
svn-id: r16357
2004-12-28 17:20:21 +00:00
Max Horn
53ff19eccb Use SoundMixer::kMaxMixerVolume
svn-id: r16350
2004-12-27 23:46:55 +00:00
Max Horn
d299f0601b Reducing header dependencies a bit
svn-id: r16347
2004-12-27 22:08:20 +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
81b6e9e1e6 Get rid of the useless & troublesome master_volume
svn-id: r16328
2004-12-25 23:43:05 +00:00
Joost Peters
88b0fb396a songs > 1000 are special commands which shouldn't be ignored. fixes a rather nasty regression in fotaq.
svn-id: r16272
2004-12-23 04:59:44 +00:00
Gregory Montoir
118cc4d255 no need to updateScreen() if there are no screen blocks marked as dirty
svn-id: r16243
2004-12-21 16:08:14 +00:00
Joost Peters
418c5f8473 Change order of close()'ing and delete'ing _driver and _parser; fixes bug #1088441
svn-id: r16241
2004-12-21 13:26:50 +00:00
Chris Apers
099f5de891 Speedup a bit PalmOS port
svn-id: r16165
2004-12-20 16:55:55 +00:00
Gregory Montoir
2919f4e11e Added check to prevent queueing invalid songs, and thus reading OOB...
svn-id: r16160
2004-12-20 12:39:54 +00:00
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
Joost Peters
fd0569af62 Even more paranoia, since the older ScummVM releases allowed speech_mute to be false for floppy versions.
svn-id: r16101
2004-12-17 16:49:31 +00:00
Joost Peters
3c006a97a7 Simplify check.
svn-id: r16099
2004-12-17 13:54:17 +00:00
Joost Peters
356b11aae7 Don't allow the user to enable speech for non-talkie versions.
svn-id: r16097
2004-12-17 13:49:54 +00:00
Joost Peters
5f04dfe0b9 Mute speech for floppy version as well.
This fixes the text speed for the floppy version after the recent Talk/Speech behaviour changes.

svn-id: r16095
2004-12-17 13:14:13 +00:00
Max Horn
ff2e6565d1 Fix for bug #1083083 (QUEEN: journal bug), thanks for the patch, salty-horse
svn-id: r16033
2004-12-11 22:21:37 +00:00
Chris Apers
66e14111cc New ARM call (PalmOS)
svn-id: r16014
2004-12-10 15:18:28 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Gregory Montoir
3fb09f9b1c Cutaway code also handles some talking stuff... Updated this part too, to fix 'bug' #1034715
svn-id: r15996
2004-12-06 20:42:11 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Gregory Montoir
fb5dcffff1 Minor cleanup, one more time.
Fixed a crash when returning to the launcher at the end of the game.
I played FOTAQ (french) from the beginning to the end some hours ago, I haven't encountered any special problems/glitches (except the one mentionned above).

svn-id: r15979
2004-12-03 22:39:55 +00:00
Gregory Montoir
5884c6735d simplified palette handling
svn-id: r15971
2004-12-02 22:59:57 +00:00
Gregory Montoir
891970cd76 enabled autosave
svn-id: r15970
2004-12-02 21:24:27 +00:00
Max Horn
5d5a13eec7 Moved MidiDriver creation code into the MidiDriver class (as static methods), same for some other MIDI related stuff
svn-id: r15968
2004-12-02 00:33:42 +00:00
Gregory Montoir
f2fb63ffd9 enabled savegame loading on startup
svn-id: r15964
2004-11-30 21:01:25 +00:00