348 Commits

Author SHA1 Message Date
Travis Howell
cd5aef92f0 Add a few
svn-id: r16687
2005-01-29 03:49:15 +00:00
Eugene Sandulenko
6b6830c688 Add detection of HE Mac titles which use different naming scheme.
Committed for review/criticize. No further support by the engine, i.e.
detected games will not run, but most complex task is done. Will finish
it tomorrow unless some nasty bugs will pop up.

svn-id: r16686
2005-01-29 03:12:48 +00:00
Eugene Sandulenko
5a0085a581 Fix regression with 640x480 HE games so it will not let them scale above 1x.
Though I _don't_ like this fix. It looks like a dirty hack to me. There
is something completely wrong with our logics here.

svn-id: r16644
2005-01-27 12:23:36 +00:00
Travis Howell
4aa9f43879 Add swedish freddi
svn-id: r16642
2005-01-26 14:14: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
56656f002f When computing a games MD5, only use the first 1 MB of the file (this should only affect the special mac container formats, and ensures we do not try to compute the MD5 of a 500 MB file each time the game is run)
svn-id: r16432
2005-01-05 01:26:57 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
f15f517bb4 Add 'speech' sound type to mixer; make use of that in iMuse Digital
svn-id: r16331
2004-12-27 01:32:40 +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
Gregory Montoir
9d6b4c3088 oops
svn-id: r16133
2004-12-19 12:46:12 +00:00
Gregory Montoir
da874257a5 to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
svn-id: r16132
2004-12-19 12:30:40 +00:00
Eugene Sandulenko
4e057c8885 Report unknown MD5's. I wonder, should we move the check after
initSize() and thus have possibility to show up a window with the
message?

svn-id: r16124
2004-12-19 02:25:11 +00:00
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