Commit Graph

600 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
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
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
Joost Peters
60a64494d1 use upper bits instead of lower bits when upscaling palette
svn-id: r17423
2005-04-06 19:18:08 +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
Jonathan Gray
4e3bfc6a66 Implement pausing using the 'p' key like the original did.
Feature request #1145781.

Convert key handling from if statements to a case statement
while here.

svn-id: r17321
2005-04-01 07:33:39 +00:00
Jonathan Gray
2d26bfcb47 Display text in Restart Yes/No Dialog for consistency with
Quit dialog.  Pointed out in part of FR #1145781.

svn-id: r17320
2005-04-01 07:30:25 +00:00
Max Horn
9a4bc8ce16 Patch #1117443 (Experimental plugin code revision)
svn-id: r17231
2005-03-25 17:55:57 +00:00
Eugene Sandulenko
749cf8a083 Apply patch #1162546 "BASS: Hanging notes fix / patch". Thanks __tom.
svn-id: r17177
2005-03-18 11:05:15 +00:00
Joost Peters
4a36c4f7b4 Use same length as original, as the string is split across 2 lines it doesn't matter anyway.
this way we won't have to create a temporary buffer.

svn-id: r17122
2005-03-13 14:03:54 +00:00
Joost Peters
c5c6bf838d Fix/workaround for bug #1151924 - datafiles for the floppy version contain 'broken' string when using spanish text.
svn-id: r17117
2005-03-13 13:15:17 +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
Eugene Sandulenko
4493b064dd Slighy modified patch #1161756 "Patch for external / non-volatile GMIDI synths". Thanks, __tom.
svn-id: r17091
2005-03-12 11:34:10 +00:00
Chris Apers
365193b447 Not needed any more
svn-id: r17078
2005-03-11 10:56:24 +00:00
Chris Apers
bb3278a088 PalmOS : ARM optimized unpacker
svn-id: r17077
2005-03-11 10:55:10 +00:00
Chris Apers
a377252fbb Not needed any more
svn-id: r17076
2005-03-11 10:51:18 +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
991dbdf18c change division to right-shift
svn-id: r16962
2005-02-28 17:34:52 +00:00
Robert Göffringmann
c81fa31a5c fix missing speech animations. I introduced that bug when I moved the compacts out of the scummvm executable.
svn-id: r16828
2005-02-20 18:33:36 +00:00
Joost Peters
6565ed2871 Make rnc unpacker a member of Disk class so it reuses the same object, and change rnc code to only build the crc table once instead of for every unpack operation.
This should speed it up a bit.

svn-id: r16771
2005-02-11 11:14:33 +00:00
Max Horn
abd12dd1b6 Use class Mutex instead of MutexRef
svn-id: r16679
2005-01-28 22:05:51 +00:00
Torbjörn Andersson
7f077369e6 Fix warning introduced by previous commit.
svn-id: r16654
2005-01-28 10:40:59 +00:00
Paweł Kołodziejski
dd2f9da1a8 fix compilation
svn-id: r16651
2005-01-27 21:34: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
Torbjörn Andersson
aec5da9bbb Work around bad German translation. (Joey claims he's 21 metres above the
ground instead of 120 when you first turn him on.)

svn-id: r16451
2005-01-06 16:10:34 +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
Max Horn
65ca0a0728 Fix warning on OSX
svn-id: r16327
2004-12-25 23:35:30 +00:00
Chris Apers
f9d9484d7b Moved to a database to save memory on PalmOS
svn-id: r16164
2004-12-20 16:50:29 +00:00
Chris Apers
5950a2346e - Change mouse position on click
- Remove timimg code which slow down PalmOS port

svn-id: r16163
2004-12-20 16:48:49 +00:00
Torbjörn Andersson
e39bec5419 Removed unused variable.
svn-id: r16076
2004-12-16 10:58:50 +00:00
Robert Göffringmann
e6ea45bd22 fix escaping the intro on BE systems
svn-id: r16075
2004-12-16 10:06:43 +00:00
Robert Göffringmann
adbe2b8c49 added some debugging functions
svn-id: r16074
2004-12-16 06:10:11 +00:00
Robert Göffringmann
e7f44ab3db fix for bug #897777 (Foster walks on water...) and #788858 (Walk glitch)
svn-id: r16072
2004-12-16 05:27:10 +00:00
Robert Göffringmann
8c5a1aa034 some cleanup
svn-id: r16071
2004-12-16 04:22:32 +00:00
Robert Göffringmann
69925e3281 fix gcc warnings
svn-id: r16068
2004-12-16 02:19:10 +00:00
Jonathan Gray
a15c5104ae compilation fix
svn-id: r16058
2004-12-15 11:06:14 +00:00
Robert Göffringmann
2308ba8aaf moved compacts and related static data out of the scummvm.exe into an external file
(available from www.lavosspawn.de/tmp/sky_cpt.zip)

svn-id: r16053
2004-12-15 06:48:08 +00:00
Robert Göffringmann
1ec06340da fixed a bug that I introduced with the last cleanup.
(caused the graphical glitches in the pipe factory)

svn-id: r16043
2004-12-13 02:02:47 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +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
Eugene Sandulenko
99503e3a32 Fix music volume
svn-id: r15959
2004-11-29 00:17:03 +00:00
Max Horn
fbaac2e273 Use modern form of setupPremix
svn-id: r15916
2004-11-27 16:18:25 +00:00