483 Commits

Author SHA1 Message Date
Max Horn
3552024aa9 Added ScummEngine::printString() convenience method; changed enqueueText to call addMessageToStack
svn-id: r15170
2004-09-18 20:50:15 +00:00
Max Horn
58c574d7cc Moved mouse cursor code into ScummEngine subclasses were possible -- this makes it much easier to see which cursor code is used in which SCUMM version; also changed cursor code to not overwrite default_cursor_* (which would cause problems when switching to another game)
svn-id: r15169
2004-09-18 20:29:13 +00:00
Gregory Montoir
22b2cfa002 preliminar AuxQueue support (freddemo intro), some glitches though
svn-id: r15149
2004-09-18 00:36:17 +00:00
Travis Howell
d34da28ed9 nukeArrays still nuking wrong arrays.
Add some more differences in later HE versions.
Add HE opcodes changes.

svn-id: r15145
2004-09-17 05:43:37 +00:00
Travis Howell
167f5d543f Save polygons
Move findObject changes to HE72

svn-id: r15118
2004-09-14 15:06:02 +00:00
Travis Howell
b42731afab Load POLD resources in HE80+ games
Some more WIP on polygons

svn-id: r15107
2004-09-14 06:21:11 +00:00
Eugene Sandulenko
1699fae483 Implemented formerly known unknownFB and unknownFC.
ScummEngine_v7he::polygonContains() is still buggy and prevents whole
thing from working.

svn-id: r15103
2004-09-13 23:24:36 +00:00
James Brown
a427d72d04 Store SCUMM md5s in save game. Save format bump.
svn-id: r14996
2004-09-10 12:13:03 +00:00
Travis Howell
00452c4073 Ooops
svn-id: r14992
2004-09-10 10:45:22 +00:00
Travis Howell
0ed136f0c6 Add HE vars
svn-id: r14990
2004-09-10 10:39:10 +00:00
Travis Howell
6b0b39c7d6 Add extra index types.
Remove duplicate code.

svn-id: r14953
2004-09-08 05:58:36 +00:00
Travis Howell
5532f83a56 Load talkie block
svn-id: r14945
2004-09-07 13:23:26 +00:00
Travis Howell
98584a42f3 Should be int
svn-id: r14923
2004-09-06 05:50:32 +00:00
Travis Howell
c797a78177 HE 72+ games use a remove object from queue function.
svn-id: r14916
2004-09-06 01:10:31 +00:00
Torbjörn Andersson
11a449a08c Fixed scrollEffect() regression introduced when move_screen() was removed.
I have tested this on all the cases I know of where scrollEffect() is used:

* The diving scene in Monkey Island 2
* The camel and balloon rides in Fate of Atlantis
* The arrival of the thunder storm in Day of the Tentacle
* Seeing the loose end in Sam & Max

So far it seems to work fine. Knock on wood.

svn-id: r14908
2004-09-05 15:44:29 +00:00
Travis Howell
6b09826b33 Increase actor.sound to 32 for HE 80+ games.
Add some more HE vars.
More adjustments for copying script strings in HE games.

svn-id: r14903
2004-09-05 09:36:51 +00:00
Travis Howell
ac140c2963 HE 72+ games set VARS with amount of each type of resource.
Often used by their scripts.

svn-id: r14899
2004-09-04 23:35:14 +00:00
Max Horn
91a57ad8f5 cleanup (this actor clip stuff is really evil -- I have to agree with Kirben, it's totally unclear why they didn't just use the good old virt screen system...
svn-id: r14890
2004-09-04 10:29:06 +00:00
Travis Howell
255736dfb7 Complete actor clipping override code for HE games.
Add akos speech queue for HE games
Minor cleanup

svn-id: r14883
2004-09-04 08:13:48 +00:00
Gregory Montoir
54a84da97c preliminar Wiz images support (HE 72)
svn-id: r14875
2004-09-03 17:27:40 +00:00
Travis Howell
438daed1f1 Add basic decoding of debug script scripts.
svn-id: r14871
2004-09-03 06:57:38 +00:00
Max Horn
feb4d79506 cleanup
svn-id: r14866
2004-09-02 17:29:48 +00:00
Travis Howell
a8a75eb009 HE games should check _numSounds to check whether sound type is music.
Set maximum resource idx at 8000 for now, some HE games include huge amounts of sound resources.

svn-id: r14859
2004-09-02 03:54:29 +00:00
Travis Howell
93584bcdc3 Add HE version 80 to avoid additional game ids
svn-id: r14843
2004-08-31 07:32:53 +00:00
Travis Howell
704ad7f63b Correct resource value, to match original.
Adjust rtLast

svn-id: r14833
2004-08-30 00:10:36 +00:00
Travis Howell
b0be0f0452 Revert last change, was wrong opcode.
Add a few more HE 7 opcodes

svn-id: r14813
2004-08-28 14:05:33 +00:00
Travis Howell
4c732d15c6 Limit nukeArrays to only location thats requires it for now.
svn-id: r14803
2004-08-28 04:14:33 +00:00
Travis Howell
22fb004e20 akos should queue commmands and executate after drawing costumes (Caused race issues in HE games).
Remove some duplciate code
Enable from HE games
Add a few stubs for some additional akos codes

svn-id: r14799
2004-08-28 03:18:52 +00:00
Eugene Sandulenko
eb7671f0a7 Add another variable which improves readability.
svn-id: r14791
2004-08-26 23:30:28 +00:00
Travis Howell
3b7d3120c1 Add var difference in later HE games
svn-id: r14789
2004-08-26 23:15:39 +00:00
Travis Howell
f6eae9d1a1 Update akos error messages
Add proper timer opcodes
Up some debug msgs.

svn-id: r14779
2004-08-26 14:28:42 +00:00
Travis Howell
b1d8b144ba More code/stubs for HE 7.2 games
Add another temp hack
Add id for water, uses more actors
Another small correction to music playback for HE 7.2 games

svn-id: r14764
2004-08-26 08:47:07 +00:00
Travis Howell
0d8488d605 Add game id for Pajama Sam, since it uses different amount of actors
svn-id: r14758
2004-08-26 00:44:49 +00:00
Travis Howell
0d3d9b4c09 Add all array related functions to HE 7.2
Add some more HE 7.2 code

svn-id: r14739
2004-08-25 06:34:33 +00:00
Torbjörn Andersson
103cbac40a Fixed bug #1014296, the Loom cursor hotspot regression.
svn-id: r14726
2004-08-24 06:36:12 +00:00
Travis Howell
deeadc97fa Resource corrections
svn-id: r14723
2004-08-24 02:02:56 +00:00
Max Horn
28c32a9fb7 Add LOOM cursor support
svn-id: r14703
2004-08-23 08:37:55 +00:00
Travis Howell
bfe88771cb A few changes for freddemo
svn-id: r14693
2004-08-23 00:17:07 +00:00
Max Horn
b20187a0e9 Cursor code cleanup
svn-id: r14690
2004-08-22 23:38:00 +00:00
Travis Howell
bb3cc5b077 Make function protected again
svn-id: r14679
2004-08-22 09:38:18 +00:00
Travis Howell
2e3833dc1f Switch smush debug to channel
svn-id: r14676
2004-08-22 09:14:19 +00:00
Travis Howell
4e2d3af646 Original games used blastTextQueue size of 50.
Hack no longer required.

svn-id: r14673
2004-08-22 07:22:03 +00:00
Travis Howell
82b9f1e599 Mac. version of indy3 uses VAR_VIDEOMODE value of 50
Add initial support for loading EGA resource

svn-id: r14671
2004-08-22 06:16:16 +00:00
Max Horn
152a5e97fe Modified VirtScreen to inherit from Graphics::Surface, and added getPixels()/getBackPixels() accessors (these changes make it a bit easier to implement smooth scrolling); also replaced some uses of rtBuffer by proper access through the corresponding VirtScreen
svn-id: r14612
2004-08-14 19:42:00 +00:00
Max Horn
90521f836f cleanup
svn-id: r14609
2004-08-14 16:30:39 +00:00
Max Horn
171fac3895 Get rid of _screenLeft
svn-id: r14608
2004-08-14 15:23:44 +00:00
Travis Howell
4d86651ae2 Check no longer required
Move palette function define back to correct place

svn-id: r14590
2004-08-14 02:44:16 +00:00
Travis Howell
e8a10c219e COMI/DIG always redraws verbs too
Remove old var, no longer required

svn-id: r14481
2004-08-06 06:19:14 +00:00
Travis Howell
d60973b05e HE games use different method to clear some arrays resources.
svn-id: r14423
2004-08-01 13:57:00 +00:00
Max Horn
f0d6fd8c5a isGlobInMemory == isResourceLoaded
svn-id: r14396
2004-07-31 23:20:37 +00:00