Commit Graph

178 Commits

Author SHA1 Message Date
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
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
Travis Howell
2f1ff2afec Use debugger for errors, where possible.
svn-id: r17998
2005-05-09 12:12:14 +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
Max Horn
9a4bc8ce16 Patch #1117443 (Experimental plugin code revision)
svn-id: r17231
2005-03-25 17:55:57 +00:00
Chris Apers
365193b447 Not needed any more
svn-id: r17078
2005-03-11 10:56:24 +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
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
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
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
Robert Göffringmann
8c5a1aa034 some cleanup
svn-id: r16071
2004-12-16 04:22:32 +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
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
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Joost Peters
503da27188 This commit has been brought to you by the commit first, compile/test later association.
svn-id: r15824
2004-11-15 20:51:14 +00:00
Joost Peters
bd40d25a68 Move initialisation from constructor to initialise().
svn-id: r15823
2004-11-15 20:44:56 +00:00
Robert Göffringmann
7dec7b7054 misc cleanup
svn-id: r15783
2004-11-11 10:14:35 +00:00
Eugene Sandulenko
fc210b4d21 iAdd support for MT-32 emu.
svn-id: r15643
2004-10-22 08:25:07 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Torbjörn Andersson
c5978208f7 Allow the BASS debugger to be invoked by the "standard" Ctrl-D / ~ / #
keys, since ` is bloody awkward on a Swedish keyboard. To keep joostp
happy, ` will still work even if it currently doesn't for any of the other
debug consoles in ScummVM.

svn-id: r15128
2004-09-15 15:31:39 +00:00
Joost Peters
17ea1f87df Use -more informative- constants for certain script variables
svn-id: r15119
2004-09-14 20:46:04 +00:00
Joost Peters
a57fcac59a Add debugger for BASS.
This should help in tracking down remaining bugs, such as the grid problems and walk deadlocks.

svn-id: r15098
2004-09-13 17:05:23 +00:00
Torbjörn Andersson
e023ba7a81 Make it possible to compile with WITH_DEBUG_CHEATS again.
svn-id: r14817
2004-08-28 14:45:52 +00:00
Joost Peters
2b47c12f7a remove unused variables
svn-id: r14649
2004-08-20 13:42:43 +00:00
Joost Peters
cdd3397c29 Initialize variables (fix valgrind warnings)
svn-id: r14648
2004-08-20 13:37:50 +00:00
Max Horn
6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Travis Howell
adaeb61054 Add Change --floppy-intro to --alt-intro patch (#896311)
svn-id: r12844
2004-02-13 10:51:33 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
Nicolas Bacca
a5aba18abf Remove old CE tweak
svn-id: r12626
2004-01-26 20:28:35 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
2004-01-04 14:00:58 +00:00
Max Horn
14f28d58f1 remove 'Sky' name prefix for most stuff (not needed anymore since we are in namespace 'Sky' now)
svn-id: r12114
2004-01-03 15:57:57 +00:00
Max Horn
b0e23e35ee Introduce namespace 'Sky'
svn-id: r12099
2004-01-03 01:58:58 +00:00
Max Horn
859a9c0129 o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()

svn-id: r11893
2003-12-24 17:42:22 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +00:00
Max Horn
35b62c294d removed GameSettings::detectname and GameSettings::midi; renamed GameSettings::gameName to name; added temporary experimental MD5 hack
svn-id: r11603
2003-12-13 00:20:01 +00:00
Max Horn
9008abc7ea cleanup: no need to access detector->_game.midi, since the value is fixed anyway
svn-id: r11596
2003-12-12 14:40:40 +00:00
Travis Howell
3774c09dbe Backwards compatbility
svn-id: r11459
2003-12-02 08:12:39 +00:00
Travis Howell
c793e4c9df Switch nosubtitles option to subtitles, to match others and help with Simon2 issue.
svn-id: r11458
2003-12-02 08:09:14 +00:00
Max Horn
72eb8ccb89 Patch #847464: Remove spurious semicolons
svn-id: r11445
2003-12-01 09:58:55 +00:00