Max Horn
60fcd5a171
* Replaced MDT_PREFER_NATIVE/MDT_NATIVE by MDT_PREFER_MIDI/MDT_MIDI).
...
* Changed MidiDriver::createMidi so that if MD_ADLIB is passed, it
now *does* instantiate the adlib driver.
* Rewrote MidiDriver::detectMusicDriver (code should be clearer now,
and hopefully easier to adapt/maintain). Note that the behavior
changed slightly (this may require some tweaking).
* Added MidiDriver::findMusicDriver which works similar to the old
MidiDriver::parseMusicDriver but returns the full MidiDriverDescription
and ignores all characters in the passed driver name following a colon ":".
* Changed MidiDriver::parseMusicDriver to use MidiDriver::findMusicDriver.
* Changed game engines to match the changes made to MidiDriver.
* Modified SCUMM engine to not record the selected midi/music driver
(in _midiDriver), but rather the music *type* (in _musicType).
svn-id: r19859
2005-12-30 14:18:21 +00:00
Robert Göffringmann
67d640b214
forgot to remove this
...
svn-id: r19793
2005-12-13 15:07:19 +00:00
Robert Göffringmann
f74b5711a6
changed delay code
...
svn-id: r19792
2005-12-13 15:05:06 +00:00
Robert Göffringmann
c477d54570
fixed Sky memory leaks on quitting
...
svn-id: r19791
2005-12-13 14:31:13 +00:00
Robert Göffringmann
e59eed409e
some cleanup, engine returns to the launcher now instead of calling OSystem::quit.
...
I suppose it leaks memory though...
svn-id: r19743
2005-12-05 05:02:43 +00:00
Gregory Montoir
fe9def0ac0
Made the autosave period a configuration option and updated the engines using that feature (SCUMM, Queen and Sky). The value is supposed to be in seconds ; if it's set to 0 then autosaving is disabled. See also tracker item #1350187 .
...
svn-id: r19700
2005-11-23 19:11:33 +00:00
Chris Apers
35748cfe92
PalmOS ifdef
...
svn-id: r19473
2005-11-05 19:00:15 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Eugene Sandulenko
81b46b6268
Fix regression introduced when we split engine constructiors into
...
constructor itself and init() method. debug() and error() are dependent
on _debug object in many engines, so if these methods were called on early
stage, scummvm crashed.
svn-id: r18860
2005-09-22 22:55:01 +00:00
Torbjörn Andersson
660b8d0eeb
Use British English by default, as documented in the README file, not US
...
English. Since the game detector uses US English as its default language,
we also need to explicitly set the language when detecting the game. I find
that behaviour a bit unfortunate.
svn-id: r18796
2005-09-09 10:12:38 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Lars Persson
d4716a1fb5
* Start of generic key configuration support for ScummVM
...
* Moved KeyConfigDialog, key from WinCE to gui
* Updated wince code to inherit and use new GUI::Keys and launch new dialog
* New definition SMALL_SCREEN_DEVICE when keysdialog should be inittialized from options.cpp
* Added new function to SDL\Events that handles key remapping. LINUPY & QTOPIA remapping moved to that function. SymbianOs.cpp overrides this function to enable key remapping to events
* Compiled VC6++ project. This with warnings and errors, but NOT in the changed code. (SAGA,KYRA)
* Compiled using WCE tools 3 for X86 target and running Scummvm in emulator to test
* Compiled with UIQ target. The rest Symbian platforms might require further configuration to operate properly
* Actor.h in Saga now compiles for default VC6 setting.
* Aspect.cpp does not compile in VC6/WCE due to template problems with the kFastAndNiceAspectMode setting.
* Changed order of creation of gamedetector and mainsystem in Main.cpp
* If anything does not compile, or is totally out of order, please revert changes.
svn-id: r18498
2005-07-05 20:22:56 +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
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