Commit Graph

333 Commits

Author SHA1 Message Date
Eugene Sandulenko
0835583948 Implementation of GFX transactions. May cause some regressions in case I
missed some unusual mode switching. This implementation let us avoid two nasty
hacks in scumm.cpp.

*Now* we could return to OSystem layers.
patch.

svn-id: r16855
2005-02-22 01:29:27 +00:00
Eugene Sandulenko
6409a3c4e4 Fix _heversion for Russian updated pajama2. Today I played it with kids
and found that it is actually 99, not 98.

svn-id: r16851
2005-02-21 14:27:09 +00:00
Eugene Sandulenko
47400c1932 Restrict CGA/EGA/Hercules dithering to PC only.
svn-id: r16819
2005-02-20 01:50:18 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
695b0fcb5f Fix a small bug (wrong mouse cursor is briefly shown) in the F5 menu
svn-id: r16804
2005-02-18 00:28:56 +00:00
Travis Howell
e1323556c3 Correction number of actors in a few HE games.
VAR_NUM_ACTORS doesn't always have the correct value.

svn-id: r16799
2005-02-17 01:22:31 +00:00
Eugene Sandulenko
c49642bb8b o Added 5 updated Russian freddi-related titles.
o Fixed ScummEngine_v72he::o72_openFile() so autogenerated names also
  checked for substitution.
o New case 0 in o100_actorOps() used by Russian updated freddicove. Number
  of stack items weren't checked against disassembly

svn-id: r16792
2005-02-14 21:19:00 +00:00
Eugene Sandulenko
142a646da0 Fix typo in football substitute.
svn-id: r16783
2005-02-13 23:32:49 +00:00
Eugene Sandulenko
cfdde90be0 HE version correction for russian spyfox
svn-id: r16782
2005-02-13 07:16:44 +00:00
Eugene Sandulenko
a43f4bead8 Added new Russian HE titles.
svn-id: r16780
2005-02-13 06:54:03 +00:00
Paweł Kołodziejski
ce832686a0 fixed warning
svn-id: r16777
2005-02-12 14:16:17 +00:00
Eugene Sandulenko
7ea113dbb1 Renamed substDataFileNames to substResFileNames. Just forgot to do it last
time.

svn-id: r16772
2005-02-11 13:29:15 +00:00
Torbjörn Andersson
420712fb28 Added "PuttPuttTTT" as an alias for "putttime", since that's what my copy
of the game uses. (Unfortunately the data files do not all use the same
capitilization. Some are named "PuttPuttTTT"-something, while others are
named "puttputtTTT"-something.)

svn-id: r16770
2005-02-11 08:17:23 +00:00
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