Commit Graph

325 Commits

Author SHA1 Message Date
Travis Howell
f3a06934fd Add some extra cases/opcodes for lost/smaller.
Add work around for paths

svn-id: r15356
2004-09-30 09:35:02 +00:00
Max Horn
40deccb105 cleanup
svn-id: r15350
2004-09-29 21:45:52 +00:00
Travis Howell
fa149a52d4 Correct string for temp save/load, original load/save screens now displays in HE 71+ games.
svn-id: r15346
2004-09-29 11:25:21 +00:00
Gregory Montoir
914d00f51a wiz stuff cleanup and o90_unknown1C opcode update
svn-id: r15293
2004-09-26 15:29:58 +00:00
Max Horn
cc7ca9ce4b some more pointless cleanup / moving around of stuff :-)
svn-id: r15284
2004-09-26 07:30:29 +00:00
Travis Howell
d08a1994f2 nukeArrays seems fine now.
Fix dog regression

svn-id: r15242
2004-09-23 09:11:52 +00:00
Travis Howell
be1ab48a57 Fix array pointer overflows in HE80+ games.
Some arrays are nuked in startScene.

svn-id: r15239
2004-09-23 05:02:15 +00:00
Travis Howell
abefac8cd0 Add missing cases
svn-id: r15227
2004-09-22 00:22:32 +00:00
Travis Howell
2fdfd35834 Add HE90+ opcode difference
svn-id: r15214
2004-09-21 05:59:26 +00:00
Travis Howell
2c0f36cddc Should be HE60/70.
svn-id: r15211
2004-09-21 01:00:30 +00:00
Max Horn
f61a0f83ff more cleanup
svn-id: r15206
2004-09-20 19:48:08 +00:00
Max Horn
f9f7922583 cleanup
svn-id: r15204
2004-09-20 19:19:57 +00:00
Gregory Montoir
680b7ecd51 preliminar WizPolygon rendering support (this is completely *untested*)
svn-id: r15189
2004-09-19 13:42:25 +00:00
Travis Howell
45c34259bd Fix last commit
Add stub/warning

svn-id: r15184
2004-09-19 08:37:20 +00:00
Max Horn
768133d6e6 Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)
svn-id: r15175
2004-09-18 22:42:45 +00:00
Max Horn
e74a3c9a2b Reduce code duplication a bit
svn-id: r15174
2004-09-18 22:26:19 +00:00
Max Horn
7b70210286 renamed HE opcodes to distinguish them from their 'regular' V6/V7 counterparts
svn-id: r15173
2004-09-18 22:09:34 +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
Travis Howell
c35757d6bb spyozon intro. runs
svn-id: r15155
2004-09-18 04:12:14 +00:00
Travis Howell
48fb287887 Correct and rename opcode
svn-id: r15147
2004-09-17 11:20:37 +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
49cd965411 Correction to pickVarRandom
Add HE80+ version too.

svn-id: r15138
2004-09-16 12:30:54 +00:00
Travis Howell
1ee9a242c3 Still not quite right.
svn-id: r15123
2004-09-15 06:41:11 +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
8c5381295d Add opcode
svn-id: r15115
2004-09-14 12:05:00 +00:00
Travis Howell
b14a21970c Report when polyogn Wiz image is used.
svn-id: r15108
2004-09-14 07:59:40 +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
0eb748b7a2 Fix bug in polygonContains(). Still doesn't work.
Preparations for implementing findObject() HE changes.

svn-id: r15104
2004-09-14 00:59:59 +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
Gregory Montoir
00dd95ac0a fix cursors hotspot
svn-id: r15099
2004-09-13 18:01:25 +00:00
Travis Howell
1f9e373955 HE 80 uses up to 255.
svn-id: r15097
2004-09-13 13:59:02 +00:00
Travis Howell
4b1ba6a7ed Add Missing pop
svn-id: r15088
2004-09-13 05:25:35 +00:00
Travis Howell
6611493a56 HE arcade game work a bit now.
svn-id: r15087
2004-09-13 04:45:21 +00:00
Travis Howell
3573ad8dc5 Set correct array length in HE 72+ games.
Add some stubs

svn-id: r15082
2004-09-13 02:09:35 +00:00
Travis Howell
a1c22f9d7f Another HE opcode
svn-id: r15029
2004-09-12 11:15:26 +00:00
Travis Howell
f8c05424ea More HE opcodes.
Can get a bit further in pj2 now.

svn-id: r15021
2004-09-12 10:23:20 +00:00
Travis Howell
09dfaa924e Add some HE90+ opcodes
svn-id: r15013
2004-09-12 00:48:16 +00:00
Travis Howell
5e8ccb315f Add stub
svn-id: r15000
2004-09-11 00:49:22 +00:00
Travis Howell
28c0ea02a3 Add stubs
svn-id: r14999
2004-09-10 14:31:20 +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
c1fe9cefd3 Rename opcode
svn-id: r14993
2004-09-10 10:55:43 +00:00
Travis Howell
655728fe7d Change needed for HE 71 too.
svn-id: r14984
2004-09-09 14:07:51 +00:00
Travis Howell
1131a70e00 Add HE 70 version changes.
svn-id: r14980
2004-09-09 10:44:17 +00:00
Travis Howell
f6b4532086 Duplicate
svn-id: r14975
2004-09-09 04:44:46 +00:00
Travis Howell
9f95f2a614 Add extra opcodes for freddi2
Allow akos to play any actor sound.

svn-id: r14972
2004-09-09 04:05:31 +00:00
Eugene Sandulenko
0d647f4101 Implement HE 80+ wiz-based cursors. Current implementation is a dirty
hack because drawWizImage has much more code in these games comparably
to 72 games. Also they pass cursor parameters in a quite obscure way.

svn-id: r14968
2004-09-09 01:53:23 +00:00
Travis Howell
452f783fc8 Add opcode
svn-id: r14946
2004-09-07 13:30:25 +00:00
Travis Howell
505bbcc295 Add another opcode/stub
svn-id: r14941
2004-09-07 12:56:12 +00:00
Travis Howell
44ab28cec5 Correct opcode
svn-id: r14938
2004-09-07 09:25:37 +00:00
Travis Howell
b2ac15afa4 More cases
svn-id: r14936
2004-09-07 03:42:15 +00:00
Travis Howell
3be4ae1d1d stubs
svn-id: r14930
2004-09-06 08:53:19 +00:00
Travis Howell
5adc650736 Add another ini related opcode.
svn-id: r14922
2004-09-06 03:26:47 +00:00
Travis Howell
3bd8642f73 More stubs for chase
svn-id: r14920
2004-09-06 02:39:02 +00:00
Travis Howell
4ace797f4e More stubs
svn-id: r14918
2004-09-06 01:54:24 +00:00
Travis Howell
42277f416f Add back stub, in right place this time.
svn-id: r14917
2004-09-06 01:19:38 +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
Travis Howell
f1c0202e7c Add HE 80/90 classes, will be filled up over time.
svn-id: r14914
2004-09-06 00:58:40 +00:00
Eugene Sandulenko
d21525d7fe Implement roomOp 234
svn-id: r14913
2004-09-05 22:57:09 +00:00
Eugene Sandulenko
96ad0d9cb7 Added BMAP support in objects.
Though I didn't test it as I don't know when it is used. Please, tell me when
you'll see warning that it is called.
Now we have BMAP for all cases in HE 70+ games.

svn-id: r14911
2004-09-05 17:39:54 +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
2894f13d2b Add opcode
svn-id: r14900
2004-09-04 23:58:15 +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
Travis Howell
db2f3cd868 Add HE 72 versions, still not working right yet.
svn-id: r14852
2004-09-01 03:58:04 +00:00
Travis Howell
3f1aee9ff4 Add HE 72 version
svn-id: r14845
2004-08-31 07:47:34 +00:00
Travis Howell
0ab96ee6c8 Move function as requested.
svn-id: r14844
2004-08-31 07:40:28 +00:00
Travis Howell
e0bb88b91c Add some WIP code for HE games.
Add some music adjustments

svn-id: r14839
2004-08-30 11:52:33 +00:00
Travis Howell
cbf5a60bab Add a few akos codes
Give unknown akos codes better names
Rename actor variable
Remove hack (Use multi-version flag instead)
Another sound correction for HE games.

svn-id: r14827
2004-08-29 11:27:16 +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
d552e6d8ea Add stub
svn-id: r14810
2004-08-28 11:01:01 +00:00
Travis Howell
0f71f50d37 Sound change for later HE 7.x games
Revert cursor change, later games have no .he3 file.
Add some stubs/opcodes
Later HE games use hard code value for _numRoomVariables

svn-id: r14808
2004-08-28 09:19:53 +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
Travis Howell
8a9fa534b8 Add another HE 7.2 opcode
svn-id: r14781
2004-08-26 14:56:10 +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
8e2e48e40c Add some stubs for HE 7.2
Fix warning
Add music support for later HE 7.2 games

svn-id: r14761
2004-08-26 06:08:41 +00:00
Travis Howell
468404ab33 Add some file opcode difference for HE 7.2
svn-id: r14752
2004-08-25 12:48:47 +00:00
Travis Howell
c6a9167362 Rename var/opcode
Add missing breaks

svn-id: r14747
2004-08-25 08:49:34 +00:00
Travis Howell
d0ebee2517 Add stub
svn-id: r14744
2004-08-25 07:18:18 +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
Travis Howell
7aa9f41188 Another array change for HE 7.2
svn-id: r14737
2004-08-25 02:48:44 +00:00
Travis Howell
2917071bd6 Add back change that were reverted by last commit.
Add comment

svn-id: r14736
2004-08-25 02:34:17 +00:00
Eugene Sandulenko
d3727e1c2a HE 7.2 uses different array headers. they introduced start indexes, so it
became in somewhat Pascal fashion, i.e. array[2..3][10..20]. So I had to
override ArrayHeader function in ScummEngine_v72he.

Also there is new array type kDwordArray. So that is implemented as well.

Though, not everything yet transferred to use new ArrayHeader, so running
HE 7.2 titles is risky now.

Some opcodes were implemented along the way.

svn-id: r14735
2004-08-25 02:12:03 +00:00
Travis Howell
531b570394 HE 7.2 uses different size in this opcode alone
svn-id: r14732
2004-08-24 16:02:26 +00:00
Travis Howell
35a354bab7 That should not have been removed
svn-id: r14731
2004-08-24 15:25:32 +00:00
Travis Howell
f16065d86d Remove some old/duplicate code.
Add a few more functions/stubs for HE 7.2
Moved HE 7.2 o_resourceRoutine() specifics.

svn-id: r14727
2004-08-24 11:17:28 +00:00
Travis Howell
6d62e7ec66 Another stub
svn-id: r14720
2004-08-23 14:11:53 +00:00
Travis Howell
25ccf3a0ee Another He 7.2 function
svn-id: r14719
2004-08-23 14:03:54 +00:00
Travis Howell
42fb68694d Minor cleanup
svn-id: r14718
2004-08-23 12:19:08 +00:00
Travis Howell
4f55b334eb Re-order opcodes
svn-id: r14714
2004-08-23 11:20:25 +00:00
Travis Howell
2b2b55be90 Ooops
svn-id: r14713
2004-08-23 10:59:53 +00:00
Travis Howell
d35660a6cb Switch to case
svn-id: r14712
2004-08-23 10:52:10 +00:00
Travis Howell
d8aa922695 Switch function to He 7.2
svn-id: r14711
2004-08-23 10:46:00 +00:00
Travis Howell
bbc75e4220 Add He 7.2 class
svn-id: r14709
2004-08-23 10:34:50 +00:00
Travis Howell
bb5cae10b4 More HE 7.2 changes
svn-id: r14707
2004-08-23 09:18:55 +00:00
Travis Howell
bbfe489e9f More changes for He 7.2 games
Might need HE7.2 class eventually

svn-id: r14704
2004-08-23 08:41:23 +00:00
Travis Howell
dffbcceb91 Add opcode
svn-id: r14695
2004-08-23 05:23:58 +00:00
Max Horn
b20187a0e9 Cursor code cleanup
svn-id: r14690
2004-08-22 23:38:00 +00:00
Max Horn
239aa2b062 Renamed o6_unknownE1 to o6_getPixel; use vs->xstart instead of _screenLeft
svn-id: r14607
2004-08-14 15:14:01 +00:00
Travis Howell
5b7157e3c9 Match disasm., applies to The Dig too.
svn-id: r14167
2004-07-04 12:06:17 +00:00