Commit graph

320 commits

Author SHA1 Message Date
Eugene Sandulenko
0851c89aa3 Sorted multiple_versions_md5_settings[] table to ease maintenance.
svn-id: r16768
2005-02-11 04:17:24 +00:00
Eugene Sandulenko
b4295347f8 Few more targets eliminated. Though they never existed. Need to check this
with joostp.

svn-id: r16766
2005-02-11 04:08:21 +00:00
Eugene Sandulenko
a9ceee26d8 Turned HE Mac resource filename generator into generall, whole SCUMM-purpose
method. Right now it is used to eliminate those Windows HE titles which
have different target base names.

If you want to use it, then define another entry in substDataFileNameTable[].
If your version with different base name has other features then you need
to define GF_MULTIPLE_VERSIONS for main entry and add any additional
entries to multiple_versions_md5_settings based on MD5 of the entry.

svn-id: r16764
2005-02-11 03:45:10 +00:00
Joost Peters
9a44a6b333 correct typos
svn-id: r16733
2005-02-02 23:24:51 +00:00
Eugene Sandulenko
f63a433c3d Small correction to baseball2003
svn-id: r16729
2005-02-02 11:49:58 +00:00
Travis Howell
e2678369d1 These demos make use of Smacker.
svn-id: r16724
2005-02-02 03:45:45 +00:00
Eugene Sandulenko
ff7e16dc2b o Added few targets
* baseball2003 and Soccer2004 use Bink videos but just for intro movies and
    logos, so we may add them.
  * artdemo and readdemo also use Bink, but seems that additionally it uses
    them in cutscenes, but since there are just few of them, not like in
    full games, we may try to look at them too
  * SoccerMLS is (alsmost) working. It runs the intro, shows menu, lets
    to select from it but then fails at some Wiz stuff and there is no
    hotspots to choose. I think it may be related to overall HE99 problem
    with inventory where there is a bug preventing from item selection
o baseball2003 and Soccer2004 featured new LECF index block. Add stub for it
o SoccerMLS used kernelSetFunction 2001 in intro. add stub for it
o Alternative russian freddi3 uses badly formatted logo substitution in intro,
  so error() in default case in Gdi::drawBMAPBg() was replaced with warning().

svn-id: r16722
2005-02-02 00:32:02 +00:00
Travis Howell
5178ba2104 Add HE100 version of Pajama Sam 1/ Pajama Sam's Lost & Found.
svn-id: r16717
2005-02-01 04:58:14 +00:00
Eugene Sandulenko
2b8fb48833 Yet another correction to 'dog'. Kirben, please check it as you have different
version than me. It seems that the game was released on multiple engine
versions.

svn-id: r16716
2005-01-31 21:22:15 +00:00
Eugene Sandulenko
3891fbdfd5 HE version correction for 'dog'. Game is fully playable, just columns' palette
is wrong.

svn-id: r16715
2005-01-31 20:12:10 +00:00
Eugene Sandulenko
c32e936723 Support for Mac cursors.
TODO:
    o Allow reading from non-processed game executable. Now you need to get
      .bin file out of it
    o Use color versions of cursors
    o Combine MacResExtractor with Win32ResExtractor. Now I just stupidly
      create 2 objects and do not use new cursor caching code.

svn-id: r16713
2005-01-31 03:53:35 +00:00
Travis Howell
85f8b9bb93 ADD HE100 version of Balloon O Rama
svn-id: r16702
2005-01-30 05:11:04 +00:00
Travis Howell
8c1cb5ae51 Add updated Cheese Chase
svn-id: r16700
2005-01-30 04:55:47 +00:00
Travis Howell
399dcad5bd Skip cursors in Macintosh version of HE72 games for now.
Add early Macintosh HE games.

svn-id: r16698
2005-01-30 02:00:24 +00:00
Travis Howell
3c1934cc8f Singe HE71 version of freddi too.
svn-id: r16697
2005-01-30 01:07:22 +00:00
Travis Howell
df3734bddb Only HE71 demos were on puttputt CD.
svn-id: r16696
2005-01-30 00:57:51 +00:00
Travis Howell
24248fe79e Switch airdemo checksums, only a single HE71 version.
svn-id: r16695
2005-01-30 00:38:18 +00:00
Eugene Sandulenko
66c524f0ee Add support for Humongous Mac titles in native format. Please test :)
svn-id: r16693
2005-01-29 17:58:47 +00:00
Max Horn
b6ea449335 Renamed _localScriptList to _localScriptOffsets for clarity
svn-id: r16691
2005-01-29 15:49:57 +00:00
Travis Howell
169599fc5d Last few added.
svn-id: r16690
2005-01-29 05:11:30 +00:00
Travis Howell
98e25fb848 Add freddi's.
svn-id: r16689
2005-01-29 04:47:16 +00:00
Travis Howell
96750ceda3 Add a few more
svn-id: r16688
2005-01-29 04:23:46 +00:00
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