Commit Graph
285 Commits
Author SHA1 Message Date
Max Horn 6dfb2f2dfd Fix for bug #1087439 (Volume control regression)
svn-id: r16113
2004-12-18 11:07:52 +00:00
Max Horn b93dd59a44 Reduce code size of resource.cpp to help PalmOS port, by moving util code to a new file util.cpp and sound resource code to sound.cpp
svn-id: r16105
2004-12-17 22:27:15 +00:00
Robert Göffringmann 0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Torbjörn Andersson 75645cbd40 Fixed an Adlib regression with older games (e.g. EGA Loom, Indy 3 and
Monkey VGA) that was introduced by a recent "multi MIDI" change.

The "old Adlib" property was set too late in the iMUSE player, so the Adlib
driver would always think the game was new. I've removed this property from
the iMUSE player, since it's only function appeared to be to pass it on to
the Adlib player, and now set it in the Adlib player directly instead.

Also removed some remaining "multi MIDI" traces from the iMUSE player that
I believe were obsoleted by the aforementioned "multi MIDI" change.

svn-id: r15974
2004-12-03 13:17:57 +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
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
Gregory Montoir 5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Jerome Fisher 8d0ab890f8 To really, truly fix the multi-midi race condition, the adlib driver is now always created before iMuse initialisation. This necessitated removing the multimidi toggle from the debug console.
svn-id: r15912
2004-11-27 14:53:37 +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 8069f30030 Moved bootscript loading into go(), where it belongs
svn-id: r15868
2004-11-23 09:36:46 +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
Eugene Sandulenko df4d3fe47a Move most heavy initialization from engine constructor to mainInit()
method which is called from go(). This ensures that extrapath is added
to list od default directories after all other paths.

svn-id: r15815
2004-11-15 03:57:22 +00:00
Chris Apers 2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Eugene Sandulenko 805b21181a Major MT-32 emu overhaul based on KingGuppy's code.
o added configure option
 o mi2 intro doesn't freeze anymore and has no sound glitches
 o missing instruments in many titles are fixed
 o numerous memory overwrite bugs are fixed
 o code is cleaned a lot and splitted into many smaller files
 o mt32.cpp went to backends/midi
 o synced with upstream code
 o reverberation fixed

 * don't complain about File class wrapper :)
 * all custom types are back
 * #pragmas are to do
 * maybe some indentation is wrong too

I prefer smaller commits, but this thing came in one piece.

svn-id: r15715
2004-11-06 01:41:32 +00:00
Travis Howell e0204e91a9 Typo
svn-id: r15713
2004-11-05 09:50:45 +00:00
Travis Howell dc89fe8e51 Revert, in order to be backwards compatbile with saved games.
svn-id: r15678
2004-10-24 12:05:27 +00:00
Travis Howell efefeaccc8 Add correct actor number values for a few HE games.
svn-id: r15677
2004-10-24 10:51:46 +00:00
Travis Howell 04e831b9dd *** empty log message ***
svn-id: r15675
2004-10-24 07:08:53 +00:00
Travis Howell dfeed00204 Ooops
svn-id: r15674
2004-10-24 07:03:23 +00:00
Travis Howell c70a3c76d3 Move number of actors to scumm settings.
The amount of actors in HE games changes a lot between games.

svn-id: r15673
2004-10-24 06:58:41 +00:00
Travis Howell fd417f3e09 Only 20 actors in Sam & Max.
svn-id: r15672
2004-10-24 01:22:25 +00:00
Eugene Sandulenko 9d0b746aaa Patch #1048326 Better MT-32 support
svn-id: r15635
2004-10-21 22:37:37 +00:00
Travis Howell 9531348692 _images not required.
Free extra HE resources on exit.

svn-id: r15605
2004-10-18 14:37:38 +00:00
Travis Howell 1922b330ad Add keyboard control for HE80+ games.
svn-id: r15604
2004-10-18 06:40:36 +00:00
Paweł Kołodziejski c9a552bebc fixed warnings
svn-id: r15574
2004-10-16 20:38:37 +00:00
Travis Howell 1460a3032f Add for HE100 too.
svn-id: r15542
2004-10-13 09:18:17 +00:00
Travis Howell 3ff56dd43b Correction
svn-id: r15540
2004-10-13 08:08:45 +00:00
Torbjörn Andersson 3842898a3e Compile fix.
svn-id: r15533
2004-10-12 17:05:16 +00:00
Travis Howell 00ab3be379 Another off by 1.
svn-id: r15515
2004-10-11 10:49:59 +00:00
Travis Howell e3d590d4d8 Group HE100 games together.
Fix a few HE versions.

svn-id: r15497
2004-10-10 03:02:42 +00:00
Jonathan Gray ca9cf13dd0 change version numbers on some more he cpp titles
svn-id: r15496
2004-10-10 02:13:28 +00:00
Travis Howell 8df034b6ac Add some missing code for HE100.
Cleanup

svn-id: r15494
2004-10-10 01:52:35 +00:00
Travis Howell 50da10489e Correct version
svn-id: r15486
2004-10-09 14:37:39 +00:00
Travis Howell b902c220aa Inital support for later HE games with altered opcode table.
svn-id: r15485
2004-10-09 14:33:31 +00:00
Chris Apers 757f2fdcef Prevent double slash in path
svn-id: r15473
2004-10-08 16:09:52 +00:00
Max Horn 2c5e42ca22 Fix for bug #1042509 (SNMDEMO not recognized)
svn-id: r15451
2004-10-07 20:55:22 +00:00
Travis Howell 4e268316d0 Rename var and enable in COMI.
svn-id: r15410
2004-10-04 14:28:43 +00:00
Travis Howell 38a7893aa9 COMI stores room transparency in RMHD.
Minor cleanup.

svn-id: r15406
2004-10-04 12:16:52 +00:00
Travis Howell db63483001 Add missing roomOps case for HE games.
svn-id: r15404
2004-10-04 04:04:37 +00:00
Travis Howell 4364606894 Add some HE99 vars
Rename opcodes

svn-id: r15403
2004-10-04 02:23:02 +00:00
Travis Howell 09cfed33f2 Add/correct opcode
svn-id: r15377
2004-10-01 23:56:39 +00:00
Eugene Sandulenko bb44270c85 Remove Blue's HE games again. Smacker is used there.
svn-id: r15376
2004-10-01 23:22:56 +00:00
Eugene Sandulenko 9c4a17bc5d Add couple other HE games and make Blue's birthday demo show intro. It dies
on opcode 2d, though.

svn-id: r15375
2004-10-01 23:15:48 +00:00
Travis Howell 9570bf38de Definately Palettes.
Update HE todo.

svn-id: r15369
2004-10-01 11:25:25 +00:00
Travis Howell 3e4fd97f42 Number of local scripts is no longer constant
svn-id: r15352
2004-09-30 06:39:39 +00:00
Max Horn 40deccb105 cleanup
svn-id: r15350
2004-09-29 21:45:52 +00:00
Max Horn 9475881488 FM-TOWNS is the 'official' spelling, we should try to use it everywhere (see also common/util.cpp)
svn-id: r15344
2004-09-29 09:42:36 +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