347 Commits

Author SHA1 Message Date
Travis Howell
a3b04b047b Change stampObject opcode to use same method as HE game, in order to draw to background.
svn-id: r14118
2004-06-29 10:21:53 +00:00
Eugene Sandulenko
6980923df8 Move Win32ResExtractor to ScummEngine_v7he. Now it doesn't look alien.
svn-id: r14104
2004-06-28 11:38:26 +00:00
Max Horn
df984b3824 Thanks to File::setDefaultDirectory(), in most cases it is *not* necessary to pass getGameDataPath() on to File::open()
svn-id: r14087
2004-06-27 21:52:25 +00:00
Max Horn
4b2d863924 Renamed/documented some odd smush/insane vars
svn-id: r14085
2004-06-27 21:06:04 +00:00
Eugene Sandulenko
6affa9e75a Phase #3 of HE v7.0+ cursors. Now they show up correctly. Remove TODO item.
svn-id: r14034
2004-06-24 20:20:35 +00:00
Eugene Sandulenko
9fae63756b Phase #1 of HE v7.0+ cursors. Basically it's Win32 resource extractor
incorporated from icotools, no display, just searching it in resources
and display a warning. Graphics converter is on the way.

Code is NOT endian-safe. It will not work on BE system, as was tested by
joostp. Please, fix endianess.

svn-id: r14024
2004-06-24 02:36:17 +00:00
Travis Howell
2dae80dbd1 Checked opcoded
svn-id: r14018
2004-06-23 10:52:22 +00:00
Jonathan Gray
615f0e4b47 for whatever reason hev7 gives us a 244 for quit instead of 160
svn-id: r14017
2004-06-23 10:47:14 +00:00
Travis Howell
04d4f7fca1 Fix room changing in HE7 games.
svn-id: r14011
2004-06-23 09:48:27 +00:00
Eugene Sandulenko
a7e85cab1a oops. Forgot to remove debug output and rename resource type.
svn-id: r14004
2004-06-23 01:47:34 +00:00
Eugene Sandulenko
2e0814514c HE 7.0 fixes
o Stub for o7_startSound
 o graphics decoders
 o findResource was moved to ScummEngine and extended
 o 7.0+ titles use akos costumes, so fix that in launcher
 o more o6_resourceRoutines stubs

Now HE 7.0 games (first 320x200 windows ports) show intros and some are
playable to some extent.

svn-id: r14003
2004-06-23 01:36:57 +00:00
Paweł Kołodziejski
8b789937c6 changed check to _insaneRunning
svn-id: r13986
2004-06-20 21:01:32 +00:00
Travis Howell
3fd30cda0c Didn't need to split it after all.
svn-id: r13973
2004-06-20 14:47:14 +00:00
Eugene Sandulenko
4f8cb1d514 7.0+ HE games have additional indexes. So read it.
svn-id: r13945
2004-06-07 00:26:08 +00:00
Travis Howell
29f03f0d9c verbOps differences are minor, so merge back in.
svn-id: r13943
2004-06-06 11:10:47 +00:00
Eugene Sandulenko
7b2a81a8a6 o more _heversion usage
o hack to ensure 1x scaler is selected for 640x480 games. Begs for better
  implementation
o 7.0+-specific extendions to
  * resource loading
  * o6_resourceRoutines
  * o6_actorOps
  * o7_pickupObject
  * ScummEngine::setVerbObject

Now puttputt.w32 script execution advances little more.

svn-id: r13938
2004-06-06 02:20:53 +00:00
Travis Howell
d6aa0a4790 Remove old comment
svn-id: r13925
2004-06-02 13:49:06 +00:00
Travis Howell
3632305c6c Ignore imuse control code in HE games
Add missing code for o6_stampobject (From diasm.)

svn-id: r13924
2004-06-02 13:32:16 +00:00
Max Horn
650dc2117c seems it is 'endianness' and not 'endianess'
svn-id: r13504
2004-04-08 22:46:46 +00:00
Max Horn
17fe0497f5 Renamed StringTab::backup to StringTab::_default, as that describes better what it does
svn-id: r13476
2004-04-05 23:54:58 +00:00
Max Horn
6aa6b49ed5 cleanup StringTab stuff
svn-id: r13448
2004-04-03 19:41:31 +00:00
Max Horn
a16a86d90f simplify code by integrating a call to translateText() into addMessageToStack(); improved translateText() further
svn-id: r13438
2004-04-02 21:42:42 +00:00
Max Horn
15922a5e61 Added support for %___ strings (used in localized version of The Dig)
svn-id: r13436
2004-04-02 20:31:39 +00:00
Paweł Kołodziejski
fdd44a242d forgot them
svn-id: r13393
2004-03-27 20:55:26 +00:00
Max Horn
6a1532772a Revamped COMI/DIG speech decoding (this my cause regressions, watch out). Goal was to streamline code logic, and get rid of a FIXME
svn-id: r13347
2004-03-19 23:19:57 +00:00
Max Horn
faa12496e4 Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-)
svn-id: r13325
2004-03-17 01:50:15 +00:00
Max Horn
ff17962df5 cleanup
svn-id: r13312
2004-03-15 21:48:54 +00:00
Max Horn
e2617f90a1 disambiguate the two talkingActor() methods (one was a getter, one a setter -- reflect that in the name)
svn-id: r13301
2004-03-15 03:33:08 +00:00
Max Horn
ac11c62312 clearMsgQueue now just is a synonym for stopTalk -> remove it
svn-id: r13300
2004-03-15 03:24:29 +00:00
Max Horn
ba5aa37dcc refactor use of _messagePtr -> instead of using it as an implicit parameter for various methods, pass its value explicitly to those methods. Note: this *should* be just a code transformation, with no change to the program logic - unless I messed up once again <sigh>
svn-id: r13298
2004-03-15 03:09:48 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Torbjörn Andersson
bec9e69e42 We already know the Sam & Max screensavers trigger these assertions so
until someone figures out exactly what to do, let's do something less
drastic. Now if someone requests a pixel outside the known screen, assume
that pixel has colour 0.

svn-id: r13200
2004-03-05 11:08:29 +00:00
Travis Howell
f80d6a7a26 Divide up some code for HE6 and HE7
svn-id: r13136
2004-03-02 06:19:26 +00:00
Torbjörn Andersson
e67aaba0c3 Got rid of the Sam & Max inventory hack. This fixes at least one aspect of
bug #907113. See also bug #493153 for the origins of the hack.

It would be very nice if we could get this fix into 0.6.0 as well, because
bug #907113 crashes ScummVM for reasons which escape me. But someone will
have to verify that the fix is correct first. Pretty please...?

svn-id: r13124
2004-03-01 16:07:16 +00:00
Travis Howell
267a96ba4f HE games specific
svn-id: r13105
2004-03-01 02:55:08 +00:00
Travis Howell
807bc5e0fa Correct incorrect smush filename in Macintosh FT demo
svn-id: r13098
2004-02-29 13:43:08 +00:00
Travis Howell
e5392aa12c Removeout dated fixme (No reports of asserts in minefield)
svn-id: r13013
2004-02-24 01:50:13 +00:00
Eugene Sandulenko
1b82caa912 Add HE specific modifications to readArray and writeArray. That fixes
those crashes

svn-id: r13004
2004-02-23 05:38:20 +00:00
Eugene Sandulenko
a2ea28b56f Proper implementation of readFile, writeFile and redimArray.
HE specific fixes to defineArray.

Now many things started to work in HE games.

svn-id: r13003
2004-02-23 04:01:39 +00:00
Nicolas Bacca
b3f4ba3417 EVC ... no ... comments ... please :)
svn-id: r12945
2004-02-20 22:16:44 +00:00
Max Horn
3e58cb906a Add some safety checks
svn-id: r12928
2004-02-18 10:42:26 +00:00
Travis Howell
1f2ab0145b FT/DIG/COMI should always default to 100 for actor.forceclip.
svn-id: r12925
2004-02-18 04:21:19 +00:00
Eugene Sandulenko
f219935e83 Fix bug in ScummEngine_v6::o6_setBoxSet
svn-id: r12918
2004-02-17 00:13:25 +00:00
Travis Howell
9d3ed96738 Rename opcode
svn-id: r12914
2004-02-16 05:53:17 +00:00
Travis Howell
7cc3bc357f Rename opcode
svn-id: r12913
2004-02-16 05:15:31 +00:00
Travis Howell
42dd31d9f3 Add comment and case
svn-id: r12912
2004-02-16 03:53:03 +00:00
Travis Howell
af305a31c3 Update comment
Remove duplicate code

svn-id: r12911
2004-02-16 03:08:17 +00:00
Eugene Sandulenko
7b67425bc2 More fixes to ScummEngine_v6::o6_pickVarRandom
svn-id: r12899
2004-02-15 03:53:03 +00:00
Eugene Sandulenko
e4e4336c0d Fix crash at fbear end scene
svn-id: r12896
2004-02-15 02:47:00 +00:00
Paweł Kołodziejski
c1ee0aeb4f fixed warning
svn-id: r12891
2004-02-14 17:01:28 +00:00