Commit Graph

4940 Commits

Author SHA1 Message Date
Gregory Montoir
9aa01251ff try to detect what's wrong in akos code with pjs2
svn-id: r15246
2004-09-23 19:51:12 +00:00
Gregory Montoir
9f97086b2f match TheDig and PuttMoon disasm, maybe this will fix fbear crash ?
svn-id: r15245
2004-09-23 19:49:59 +00:00
Travis Howell
17ec22c7fa Missed a spot.
svn-id: r15244
2004-09-23 09:23:17 +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
Max Horn
ffd6944b12 This was on the website but not in md5.txt, it seems?
svn-id: r15238
2004-09-22 20:35:25 +00:00
Max Horn
7de7bc50c3 New MD5s by Tobias Fleischer
svn-id: r15237
2004-09-22 20:32:11 +00:00
Max Horn
05cb8627be Made dstPitch an explicit parameter, instead of (ab)using _screenWidth (important for 'smooth scrolling')
svn-id: r15236
2004-09-22 17:57:20 +00:00
Travis Howell
4871a2af19 Debug values are shown correctly now.
svn-id: r15235
2004-09-22 12:13:15 +00:00
Travis Howell
8950f78699 Add case stun
svn-id: r15234
2004-09-22 09:48:40 +00:00
Travis Howell
1c84b9fb50 Value is correct, but string index not array id.
svn-id: r15233
2004-09-22 07:21:57 +00:00
Travis Howell
08856609f3 Filename string go a bit higher
svn-id: r15231
2004-09-22 05:08:07 +00:00
Travis Howell
9378478674 smaller is 99 after all.
add some array code

svn-id: r15230
2004-09-22 03:56:27 +00:00
Travis Howell
76e0414117 Add a few more case stubs
svn-id: r15229
2004-09-22 02:29:47 +00:00
Travis Howell
b7a5d73499 No longer StopMusic
svn-id: r15228
2004-09-22 02:07:14 +00:00
Travis Howell
abefac8cd0 Add missing cases
svn-id: r15227
2004-09-22 00:22:32 +00:00
Gregory Montoir
6bfeab77e1 cleanup
add some warnings to detect the use of new Aux animation data

svn-id: r15226
2004-09-21 21:10:23 +00:00
Gregory Montoir
6e9ce1b17c fix freddemo intro glitches
svn-id: r15225
2004-09-21 20:21:31 +00:00
Max Horn
2f9ea12ddd cleanup
svn-id: r15224
2004-09-21 13:54:30 +00:00
Max Horn
5f0ec872e0 More cleanup
svn-id: r15223
2004-09-21 12:57:38 +00:00
Max Horn
899a64cbc9 cleanup
svn-id: r15222
2004-09-21 12:44:34 +00:00
Max Horn
62ff56804c Fix memory leak
svn-id: r15221
2004-09-21 12:29:02 +00:00
Travis Howell
042d59acb2 Add missing cases
svn-id: r15220
2004-09-21 12:08:02 +00:00
Travis Howell
0a4a328cc4 Filter out both trace msgs.
svn-id: r15219
2004-09-21 11:46:56 +00:00
Travis Howell
bcb66fc93e *** empty log message ***
svn-id: r15218
2004-09-21 11:23:23 +00:00
Travis Howell
b0f0bf8dc2 Add multi-block support for HE games.
svn-id: r15217
2004-09-21 11:22:39 +00:00
Travis Howell
b359c9281f HE90+ games use actor layering too, in reverse order.
svn-id: r15216
2004-09-21 09:09:51 +00:00
Travis Howell
2fdfd35834 Add HE90+ opcode difference
svn-id: r15214
2004-09-21 05:59:26 +00:00
Travis Howell
d7085acea1 Switch order to prevent warning
svn-id: r15213
2004-09-21 01:07:29 +00:00
Travis Howell
860d1c67a0 No longer needed.
svn-id: r15212
2004-09-21 01:04:09 +00:00
Travis Howell
2c0f36cddc Should be HE60/70.
svn-id: r15211
2004-09-21 01:00:30 +00:00
Max Horn
faf42c2858 Moved some init code around (hopefully this'll help PalmOS)
svn-id: r15209
2004-09-20 22:04:06 +00:00
Max Horn
6bafcf81d1 Fix array out of bounds access
svn-id: r15208
2004-09-20 20:56:10 +00:00
Max Horn
3b9bcb7745 Fix for bug #1031390 (FOA: Graphical corruption and possible crash in Atlantis Map)
svn-id: r15207
2004-09-20 19:58:07 +00:00
Max Horn
f61a0f83ff more cleanup
svn-id: r15206
2004-09-20 19:48:08 +00:00
Max Horn
dfab30c012 Removed some stray spaces
svn-id: r15205
2004-09-20 19:32:26 +00:00
Max Horn
f9f7922583 cleanup
svn-id: r15204
2004-09-20 19:19:57 +00:00
Gregory Montoir
0fad7a9538 cleanup / code re-use
svn-id: r15203
2004-09-20 18:27:13 +00:00
Travis Howell
046017aba6 Clean up.
svn-id: r15202
2004-09-20 13:41:36 +00:00
Eugene Sandulenko
df407cd063 Add unencrypted russian freddi5 target.
svn-id: r15201
2004-09-20 12:56:07 +00:00
Travis Howell
dd45c42721 Ooops, was off by one again.
svn-id: r15200
2004-09-20 09:54:21 +00:00
Travis Howell
1d1442553b Add case for kindddemo.
svn-id: r15199
2004-09-20 09:16:49 +00:00
Travis Howell
e9a9a64109 Opcode1C in HE90+ games seems to setup WizImage settings via various cases.
svn-id: r15198
2004-09-20 05:30:26 +00:00
Gregory Montoir
0cb722d71d slightly updated drawWizImage()
svn-id: r15197
2004-09-19 23:21:09 +00:00
Max Horn
09444181ce Moved some code from Gdi::drawBitmap into a new method Gdi::getZPlanes; cleanup
svn-id: r15196
2004-09-19 21:14:51 +00:00
Gregory Montoir
c25ab75e92 fix broken WizImage display
svn-id: r15195
2004-09-19 20:51:38 +00:00
Max Horn
18be57a0d9 Cleanup, added some HE related TODO/FIXME comments (for consideration by the HE folks :-)
svn-id: r15194
2004-09-19 20:17: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
e22230e223 Actually check if a sound is active, if the sound is outside music engine.
Add some more HE differences

svn-id: r15188
2004-09-19 12:22:47 +00:00
Travis Howell
989de0d5dc Ignore trace msgs.
svn-id: r15187
2004-09-19 10:14:34 +00:00
Gregory Montoir
fe2f551952 only warn if the AXFD block is valid
svn-id: r15185
2004-09-19 08:58:51 +00:00
Travis Howell
45c34259bd Fix last commit
Add stub/warning

svn-id: r15184
2004-09-19 08:37:20 +00:00
Travis Howell
169d13080b *** empty log message ***
svn-id: r15183
2004-09-19 06:02:59 +00:00
Travis Howell
3493a90b15 Enable debug mode in HE80+ games.
svn-id: r15182
2004-09-19 06:01:46 +00:00
Travis Howell
8a42691d87 Missed one spot, needed for costume reset too.
svn-id: r15181
2004-09-19 03:26:47 +00:00
Travis Howell
1475b5ad0d Correct auxblock hides.
svn-id: r15180
2004-09-19 02:00:33 +00:00
Eugene Sandulenko
64043ff1fc Removed some not necessary #defines which could (and did) lead to program
logic misinterpretation. I assume these were added for readability, but
 (a) names suggestet that they're class variables but they didn't
 (b) their use wasn't consistent, i.e. there were places where variables were
     used directly, not by means of the macros
 (c) they didn't save that much space because they are used in few places.

svn-id: r15179
2004-09-19 00:15:17 +00:00
Eugene Sandulenko
4869c2f9c1 Revert last commit by Fingolfin "removed _heV7RoomIntOffsets".
res.roomoffs[rtRoom] has a nick _roomFileOffsets (by means of #define), and
it gets overwritten in ScummEngine::readRoomsOffsets(). HE games actually
stored those offsets in additional array. Removing it breaks all
HE72+ games badly.

svn-id: r15178
2004-09-18 23:48:48 +00:00
Max Horn
c7ba97b182 removed _heV7RoomIntOffsets
svn-id: r15177
2004-09-18 23:02:08 +00:00
Max Horn
ce2c5a0d1d removed _heV7RoomIntOffsets
svn-id: r15176
2004-09-18 22:45:53 +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
81191ea60b Follow our coding conventions
svn-id: r15172
2004-09-18 21:44:00 +00:00
Max Horn
c1913852df GFX codec cleanup: renamed some of the Gdi::unkDecode methods; simplified and/or cleaned up some of the codecs; added some relevant TODO/FIXME comments
svn-id: r15171
2004-09-18 21:40:07 +00:00
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
Paweł Kołodziejski
bdf2a24eb7 added experimental ogg file support for comi smush audio track
svn-id: r15168
2004-09-18 18:09:35 +00:00
Travis Howell
8e2af996be Ooops, broken saving.
svn-id: r15166
2004-09-18 14:08:00 +00:00
Paweł Kołodziejski
9baf06c9fa workaround for decode bundle bug (it overloaded memory)
svn-id: r15165
2004-09-18 13:24:02 +00:00
Paweł Kołodziejski
5c442f53aa fixed warnings
svn-id: r15161
2004-09-18 11:34:55 +00:00
Gregory Montoir
af77554dc3 minor code simplification
svn-id: r15159
2004-09-18 06:29:07 +00:00
Gregory Montoir
e11456cb92 fix offsets computation (Putt-Putt's head and body are no more detached in timedemo now)
svn-id: r15158
2004-09-18 06:17:50 +00:00
Travis Howell
3904c0b5b9 stubs for freddicove intro.
svn-id: r15157
2004-09-18 05:15:57 +00:00
Travis Howell
1c046674e5 Skip sound caching in Sam & Max (Talkie)
svn-id: r15156
2004-09-18 05:00:38 +00:00
Travis Howell
c35757d6bb spyozon intro. runs
svn-id: r15155
2004-09-18 04:12:14 +00:00
Travis Howell
cda52bf2be Not soundOps in He80+
svn-id: r15153
2004-09-18 01:37:29 +00:00
Travis Howell
81be679342 Neeed to know where polygons are renderered
svn-id: r15152
2004-09-18 01:21:14 +00:00
Travis Howell
a0312bd8cb Should be for HE71 and later.
svn-id: r15151
2004-09-18 01:00:22 +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
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
9a65451109 Add case stubs for water
svn-id: r15144
2004-09-17 03:18:00 +00:00
Travis Howell
3f7ecb9db2 Correct mouse vars, should be mouse hold in scumm6/HE.
baloon works now.

svn-id: r15143
2004-09-17 02:59:38 +00:00
Travis Howell
2ac60430fc A few more corrections, fixes freddi2 crash.
svn-id: r15142
2004-09-16 23:34:26 +00:00
Travis Howell
cf71760391 No longer required.
svn-id: r15141
2004-09-16 14:31:16 +00:00
Travis Howell
0a320ac7af Correct array size read
svn-id: r15140
2004-09-16 13:51:03 +00:00
Travis Howell
31772ea47d Ooops
svn-id: r15139
2004-09-16 12:54:32 +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
9bc8383cee Oops
svn-id: r15137
2004-09-16 09:47:07 +00:00
Travis Howell
b45b800ed5 HE90+ games use two local resource types
svn-id: r15136
2004-09-16 09:40:08 +00:00
Joost Peters
0233a1c610 Add Dutch Freddi2
svn-id: r15135
2004-09-16 09:34:08 +00:00
Travis Howell
5ff185d7f8 Correct local script range in HE99+
svn-id: r15134
2004-09-16 09:20:49 +00:00
Travis Howell
2cfcc33a33 Update comment
svn-id: r15132
2004-09-16 05:04:09 +00:00
Travis Howell
2a34670cfd ADD HE80+ difference
svn-id: r15131
2004-09-16 04:53:04 +00:00
Travis Howell
9a8d2c6c4a Add missing akos case.
svn-id: r15130
2004-09-15 23:47:54 +00:00
Eugene Sandulenko
013f0f9a33 Update. For some reason one md5 was lost. Spotted by Lord_Nightmare.
svn-id: r15129
2004-09-15 22:48:35 +00:00
Travis Howell
efeb100c70 Call direct
svn-id: r15127
2004-09-15 12:40:49 +00:00
Travis Howell
3605440f9a *** empty log message ***
svn-id: r15126
2004-09-15 12:14:25 +00:00
Travis Howell
d7ccfd0350 Ooops
svn-id: r15125
2004-09-15 12:12:43 +00:00
Travis Howell
dd78319ee0 A bit safer
svn-id: r15124
2004-09-15 11:56:07 +00:00
Travis Howell
1ee9a242c3 Still not quite right.
svn-id: r15123
2004-09-15 06:41:11 +00:00
Travis Howell
7f766fc2a5 Only palette is different
svn-id: r15122
2004-09-15 01:56:42 +00:00
Travis Howell
5df545630b Update HE checksums
svn-id: r15121
2004-09-15 00:19:33 +00:00
Gregory Montoir
e494f53822 only clear the polygon slots when playing a HE game
svn-id: r15120
2004-09-14 21:59:46 +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
8e1d3aa939 Avoid warning
svn-id: r15117
2004-09-14 12:55:48 +00:00
Travis Howell
6522c060fd Typo
svn-id: r15116
2004-09-14 12:17:15 +00:00
Travis Howell
8c5381295d Add opcode
svn-id: r15115
2004-09-14 12:05:00 +00:00
Travis Howell
c97d529787 polygon slots should be cleared in startScene
svn-id: r15114
2004-09-14 11:35:15 +00:00
Travis Howell
5d25e4a197 Fix array issues.
svn-id: r15113
2004-09-14 10:46:09 +00:00
Travis Howell
20a444099d Correct id check
svn-id: r15112
2004-09-14 09:09:06 +00:00
Jonathan Gray
488430a06e _numActors should be 30 not 29 for HE 72 titles, makes HE 72 version of puttzoo work
svn-id: r15111
2004-09-14 08:52:12 +00:00
Eugene Sandulenko
f605130496 Fixed latest bug in polygonContains. Now hotspots work as expected.
svn-id: r15110
2004-09-14 08:28:23 +00:00
Travis Howell
bd1e96a728 Only reports trace status
svn-id: r15109
2004-09-14 08:01:35 +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
Travis Howell
674cdf130b Set numVerts when storing polygons
svn-id: r15106
2004-09-14 02:56:36 +00:00
Eugene Sandulenko
1439822d1b Fixed yet another bug in polyugonContains. Still not everything :(
svn-id: r15105
2004-09-14 01:12:16 +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
f937f6723f Reads extra script byte, just like readFile.
svn-id: r15096
2004-09-13 13:52:08 +00:00
Travis Howell
f4d609d728 Correction
svn-id: r15095
2004-09-13 13:07:35 +00:00
Travis Howell
831e967e9f Not needed.
svn-id: r15094
2004-09-13 12:34:53 +00:00
Travis Howell
0ede5ca36e Remove debug
svn-id: r15093
2004-09-13 12:30:16 +00:00
Travis Howell
576ba76c03 A few corrections
svn-id: r15092
2004-09-13 12:24:33 +00:00
Travis Howell
3c0ac41aa8 *** empty log message ***
svn-id: r15091
2004-09-13 10:27:10 +00:00
Travis Howell
5a4686b92d Order wrong
svn-id: r15090
2004-09-13 10:24:37 +00:00
Travis Howell
51bcffef85 Needs to be higher for now.
svn-id: r15089
2004-09-13 05:33:54 +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
c1122f4333 Debug code strings should use string num, not var num.
Updated work around for loading datafiles.

svn-id: r15086
2004-09-13 04:16:22 +00:00
Travis Howell
fde215e106 Sound ids 10000 - 10008 seems to be sound channels in HE70+ games.
svn-id: r15085
2004-09-13 02:32:13 +00:00
Travis Howell
9105a3ae1d Required for later HE games to.
svn-id: r15084
2004-09-13 02:29:45 +00:00
Travis Howell
a14bdf5510 Corect size.
svn-id: r15083
2004-09-13 02:24:28 +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
Torbjörn Andersson
dc461ca770 Fixed some other cases where the number of parameters to our message-
printing functions didn't agree with the format strings.

GCC will find a couple of other things to warn about if these functions
are labelled as printf()-style functions, but those were less important, I
think.

svn-id: r15081
2004-09-12 18:21:21 +00:00
Torbjörn Andersson
7688c017e1 Added missing parameters to debug(), as pointed out by Lord_Nightmare.
svn-id: r15080
2004-09-12 17:33:18 +00:00
Chris Apers
afface9c37 Disable these games for now
svn-id: r15076
2004-09-12 16:17:14 +00:00
Paweł Kołodziejski
bc369ce6e2 fixed endlines
svn-id: r15069
2004-09-12 14:20:57 +00:00
Travis Howell
172eefde7d Correct debugs
svn-id: r15054
2004-09-12 13:21:44 +00:00
James Brown
e0b156387e Be a Less Lazier Programmer (tm): Lesson 1.
Typing your code instead of copy/pasting it from a few lines down.

svn-id: r15035
2004-09-12 12:18:46 +00:00
James Brown
0f2f3c0072 Be a Better Programmer (tm)
svn-id: r15034
2004-09-12 12:15:19 +00:00
Travis Howell
a1c22f9d7f Another HE opcode
svn-id: r15029
2004-09-12 11:15:26 +00:00
Chris Apers
7988660bda On PalmOS too
svn-id: r15026
2004-09-12 11:07:32 +00:00
Chris Apers
6b58b000c6 Correct variable name
svn-id: r15025
2004-09-12 10:51:00 +00:00
Chris Apers
0a44ef3d3c PalmOS : ARM optimized DrawSTripToScreen function + disable dissolve(1,1)
svn-id: r15024
2004-09-12 10:49:29 +00:00
Chris Apers
b8520692f4 PalmOS : ARM optimized proc3 function
svn-id: r15023
2004-09-12 10:48:04 +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
f8e2bcf024 Add debug
svn-id: r15020
2004-09-12 09:26:48 +00:00
Travis Howell
2bd07c2c8d Add targets
svn-id: r15019
2004-09-12 06:09:19 +00:00
Travis Howell
175ef8f1cd Skip speech name in subtitles.
svn-id: r15018
2004-09-12 06:00:56 +00:00
Travis Howell
3b9def962c Add some change to start later HE99 hames.
svn-id: r15017
2004-09-12 02:25:12 +00:00
Travis Howell
1f4abd4432 Typo
svn-id: r15016
2004-09-12 02:05:12 +00:00
Travis Howell
c77df77180 Use talkie resource for HE 99+ games.
svn-id: r15015
2004-09-12 01:12:06 +00:00
Travis Howell
ad6c8217bc Add case
svn-id: r15014
2004-09-12 00:52:14 +00:00
Travis Howell
09dfaa924e Add some HE90+ opcodes
svn-id: r15013
2004-09-12 00:48:16 +00:00
Travis Howell
867809fb1d Add stub case for now.
svn-id: r15012
2004-09-11 14:14:07 +00:00
Travis Howell
26a83df853 Seems to be off by 1.
svn-id: r15011
2004-09-11 13:47:18 +00:00
Travis Howell
1a2c46fa72 Should be HE99
svn-id: r15010
2004-09-11 13:37:26 +00:00
Travis Howell
2be3bff2a6 Should be HE99
svn-id: r15009
2004-09-11 13:30:24 +00:00
Travis Howell
4273937590 Local script difference in HE 99 games.
svn-id: r15008
2004-09-11 13:22:45 +00:00
Travis Howell
c8e65e1c8f Ooops
svn-id: r15007
2004-09-11 12:55:50 +00:00
Travis Howell
b495c7ea07 Use random talk animation in HE 80+ games for now.
svn-id: r15006
2004-09-11 12:22:06 +00:00
Eugene Sandulenko
ecddda094a Update with alternate floppy loom.
svn-id: r15005
2004-09-11 08:50:45 +00:00
Travis Howell
8144bc100b Update this one too.
svn-id: r15004
2004-09-11 03:10:31 +00:00
Travis Howell
e372b145b8 Correct object state.
svn-id: r15002
2004-09-11 03:02:37 +00:00
Travis Howell
a636f2ce91 Not popping enough.
svn-id: r15001
2004-09-11 01:44:08 +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
Travis Howell
6fda040ac6 Minor correction
svn-id: r14998
2004-09-10 14:29: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
71866c1287 Correct HSHD sounds
svn-id: r14995
2004-09-10 12:07:53 +00:00
Travis Howell
f16ee4dfaf *** empty log message ***
svn-id: r14994
2004-09-10 11:01:17 +00:00
Travis Howell
c1fe9cefd3 Rename opcode
svn-id: r14993
2004-09-10 10:55:43 +00:00
Travis Howell
00452c4073 Ooops
svn-id: r14992
2004-09-10 10:45:22 +00:00
Travis Howell
98f8433396 Missed line
svn-id: r14991
2004-09-10 10:43:10 +00:00
Travis Howell
0ed136f0c6 Add HE vars
svn-id: r14990
2004-09-10 10:39:10 +00:00
Travis Howell
a33a6cfe07 Update HE72+ vars
svn-id: r14989
2004-09-10 09:22:31 +00:00
Travis Howell
9a22fe5c2d Add updated fredd2
svn-id: r14988
2004-09-10 03:36:39 +00:00
Travis Howell
0a3ca185e0 Check _scummVar size of restart too.
svn-id: r14987
2004-09-10 02:03:31 +00:00
Travis Howell
67f7c40446 Ooops, actually clear _roomVars.
svn-id: r14986
2004-09-10 01:55:37 +00:00
Travis Howell
c7d28132b4 Save game changes for HE80+ games.
svn-id: r14985
2004-09-10 01:03:01 +00:00
Travis Howell
655728fe7d Change needed for HE 71 too.
svn-id: r14984
2004-09-09 14:07:51 +00:00
Travis Howell
9eb69ed03a Use screen width, not hard coded value.
svn-id: r14983
2004-09-09 13:54:32 +00:00
Travis Howell
1502b39634 Correction
svn-id: r14982
2004-09-09 11:50:23 +00:00
Gregory Montoir
3232d22f5f correction
svn-id: r14981
2004-09-09 11:12:22 +00:00
Travis Howell
1131a70e00 Add HE 70 version changes.
svn-id: r14980
2004-09-09 10:44:17 +00:00
Travis Howell
62ba3e9a58 Corrections
svn-id: r14979
2004-09-09 10:36:10 +00:00
Eugene Sandulenko
b4fa1914e4 Fix bug in ScummEngine_v7he::getCharsetOffset()
svn-id: r14978
2004-09-09 10:08:39 +00:00
Travis Howell
84549db76a Oops
svn-id: r14977
2004-09-09 07:32:03 +00:00
Travis Howell
5e9b5a0594 Ooops
svn-id: r14976
2004-09-09 07:29:49 +00:00
Travis Howell
f6b4532086 Duplicate
svn-id: r14975
2004-09-09 04:44:46 +00:00
Travis Howell
2bc880a929 Add later spy fox 1 version.
svn-id: r14974
2004-09-09 04:27:57 +00:00
Travis Howell
1e0e9e0e03 Fix dog regression.
svn-id: r14973
2004-09-09 04:16:57 +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
Travis Howell
95a5e3d951 Minor correction
svn-id: r14971
2004-09-09 02:21:48 +00:00
Travis Howell
6f7a3713b3 Disable for now
svn-id: r14970
2004-09-09 02:20:03 +00:00
Travis Howell
d95dde2963 Cases don't exist in HE80.
svn-id: r14969
2004-09-09 02:10:05 +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
f6d2be2848 Add missing section for C022
svn-id: r14967
2004-09-08 22:36:05 +00:00
Eugene Sandulenko
d28581ed46 Semi-working akos codec32.
svn-id: r14966
2004-09-08 21:38:44 +00:00
Gregory Montoir
7593129d98 some AKOS tweaks for HE72/80
svn-id: r14965
2004-09-08 21:14:12 +00:00
Travis Howell
1a9d6e023b Fix pjs-demo
svn-id: r14964
2004-09-08 14:49:15 +00:00
Eugene Sandulenko
31aeef307e Add freddi3 target.
svn-id: r14963
2004-09-08 12:28:29 +00:00
Travis Howell
8227fcddf4 Should be reading array id resource.
svn-id: r14962
2004-09-08 12:14:56 +00:00
Travis Howell
ea06200446 Fix array issue.
svn-id: r14961
2004-09-08 10:36:06 +00:00
Travis Howell
d662863db1 Lower debug level
svn-id: r14957
2004-09-08 07:10:43 +00:00
Travis Howell
fc60379b21 Caused crash.
svn-id: r14956
2004-09-08 06:46:52 +00:00
Travis Howell
c9a4f23e51 No shadow palette in later games.
svn-id: r14955
2004-09-08 06:38:31 +00:00
Travis Howell
8d6e15b34a Verified values.
No extra object data in later HE games.

svn-id: r14954
2004-09-08 06:35:38 +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
6bc9a84c20 Add more akos codes for HE80+.
svn-id: r14952
2004-09-08 00:19:18 +00:00
Travis Howell
93ae834333 Should be HE99
svn-id: r14950
2004-09-07 14:31:19 +00:00
Travis Howell
b7fe39812a Add target
svn-id: r14949
2004-09-07 14:26:51 +00:00
Travis Howell
74d9f1a37d Add cases
svn-id: r14948
2004-09-07 14:16:08 +00:00
Travis Howell
4cc31b030a Add case
svn-id: r14947
2004-09-07 13:57:58 +00:00
Travis Howell
452f783fc8 Add opcode
svn-id: r14946
2004-09-07 13:30:25 +00:00
Travis Howell
5532f83a56 Load talkie block
svn-id: r14945
2004-09-07 13:23:26 +00:00
Jonathan Gray
67e963507d ah of course...
svn-id: r14944
2004-09-07 13:20:54 +00:00
Travis Howell
88b9335b27 Ooops
svn-id: r14943
2004-09-07 13:11:00 +00:00
Travis Howell
8e5aa391c2 Add HE 98 version
svn-id: r14942
2004-09-07 13:05:09 +00:00
Travis Howell
505bbcc295 Add another opcode/stub
svn-id: r14941
2004-09-07 12:56:12 +00:00
Jonathan Gray
67498a174b add some he c++ engine related changes. For some reason the cpp versions of spydemo and timedemo aren't getting _heversion set correctly
svn-id: r14940
2004-09-07 12:54:41 +00:00
Travis Howell
c6e0afadf0 Add index for HE C++ games.
Enable all HE games again.

svn-id: r14939
2004-09-07 12:21:54 +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
98eeb34f27 Switch to cases, to catch any missing cases.
svn-id: r14935
2004-09-07 02:53:22 +00:00
Travis Howell
f1fdfeda34 Don't check for verbs, if no verbs exist.
svn-id: r14934
2004-09-06 11:50:32 +00:00
Eugene Sandulenko
3a4d9dc689 Fixed bug in DrawBMAPObject.
svn-id: r14932
2004-09-06 10:52:52 +00:00
Travis Howell
5f90812064 Missed opcode
svn-id: r14931
2004-09-06 09:27:22 +00:00
Travis Howell
3be4ae1d1d stubs
svn-id: r14930
2004-09-06 08:53:19 +00:00
Travis Howell
5a4548ed14 Not every speech file has the extra header.
svn-id: r14929
2004-09-06 07:54:26 +00:00
Travis Howell
35e364dc6e Skip extra speech header in HE 80+ games
svn-id: r14928
2004-09-06 07:31:51 +00:00
Jonathan Gray
3f42d6f0ab fix compiler warnings, including a if (foo = bar) occurance
svn-id: r14927
2004-09-06 07:06:11 +00:00
Travis Howell
aa264a5079 Add temporary hack to ignore akoc drawLimb C021 for now.
svn-id: r14926
2004-09-06 06:51:30 +00:00
Travis Howell
0010669d55 Add basic AWIZ call for HE90 games.
svn-id: r14925
2004-09-06 06:46:59 +00:00
Travis Howell
98584a42f3 Should be int
svn-id: r14923
2004-09-06 05:50:32 +00:00
Travis Howell
5adc650736 Add another ini related opcode.
svn-id: r14922
2004-09-06 03:26:47 +00:00
Travis Howell
79c5ac987f Should always push result.
svn-id: r14921
2004-09-06 02:54:28 +00:00
Travis Howell
3bd8642f73 More stubs for chase
svn-id: r14920
2004-09-06 02:39:02 +00:00
Travis Howell
60bccf377e Add target
svn-id: r14919
2004-09-06 02:01:00 +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
61c1a11c60 Doesn't use smush
svn-id: r14915
2004-09-06 01:00:18 +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
Gregory Montoir
2c80f1c4d6 fixed awiz display
svn-id: r14912
2004-09-05 22:19:52 +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
Torbjörn Andersson
14b3a8e588 The old 'sound' array was introduced in savegame version 8, so surely the
MKARRAY_OLD entry should use 8 as its minVersion? Today's CVS snapshot
triggered an assertion when loading a savegame that worked fine today. It
worked again after this change.

svn-id: r14909
2004-09-05 16:18:07 +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
548e51dce8 Valgrind warning
svn-id: r14907
2004-09-05 10:28:30 +00:00
Jonathan Gray
80c9d31f54 compilation fix
svn-id: r14906
2004-09-05 10:16:01 +00:00
Gregory Montoir
c4065d0af9 code simplification
svn-id: r14905
2004-09-05 10:10:29 +00:00
Travis Howell
647d8e8bcf Ooops
svn-id: r14904
2004-09-05 09:41:16 +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
Eugene Sandulenko
010a781ada Fix bug which sometimes lead to some enemies never appear.
Remove some unused code.
Give some vars and functions proper names.

svn-id: r14902
2004-09-05 05:40:29 +00:00
Travis Howell
8db0a7bb79 Caused music regression.
svn-id: r14901
2004-09-05 03:46:00 +00:00
Travis Howell
2894f13d2b Add opcode
svn-id: r14900
2004-09-04 23:58:15 +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
Paweł Kołodziejski
9032d086af added error info for bundle mgr bug
svn-id: r14893
2004-09-04 14:27:16 +00:00
Paweł Kołodziejski
3a19ca1be3 fixde bug IMUSE+DEBUG
svn-id: r14892
2004-09-04 13:13:23 +00:00
Paweł Kołodziejski
23e294e10c added comment for insane hack
svn-id: r14891
2004-09-04 12:35:19 +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
ae4105de50 Should use _numSounds too.
svn-id: r14886
2004-09-04 09:26:08 +00:00
Travis Howell
868ec03962 Ooops
svn-id: r14885
2004-09-04 09:17:38 +00:00
Gregory Montoir
e6b2535ff9 cleanup
svn-id: r14884
2004-09-04 08:32:04 +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
Max Horn
4bd05071e5 Got rid of OSystem::move_screen
svn-id: r14882
2004-09-04 01:31:04 +00:00
Travis Howell
b086ee7f67 Missing pop
svn-id: r14881
2004-09-04 00:31:38 +00:00
Travis Howell
bdf736f25c Ooops
svn-id: r14880
2004-09-04 00:23:06 +00:00
Travis Howell
6dd0ab9397 Add actor cliping override for HE games.
svn-id: r14879
2004-09-04 00:18:55 +00:00
Max Horn
054460a170 Fix for bug #1021538 (COMI: Graphic glitches in ship-to-ship fight)
svn-id: r14876
2004-09-03 19:54:58 +00:00
Gregory Montoir
54a84da97c preliminar Wiz images support (HE 72)
svn-id: r14875
2004-09-03 17:27:40 +00:00
Max Horn
08fc27b764 Small correction for V7-8 actor drawing
svn-id: r14874
2004-09-03 15:39:14 +00:00
Travis Howell
d269e91122 Another akos code difference in HE 71+ games
svn-id: r14873
2004-09-03 11:34:47 +00:00
Max Horn
374f7859a9 Fix warning
svn-id: r14872
2004-09-03 08:58:32 +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
6bada66d16 Revert verb draw order change.
Fix recent verb regressions.

svn-id: r14870
2004-09-03 02:08:32 +00:00
Travis Howell
077d977834 Add fingolfin's suggested solution for bug #881132
svn-id: r14869
2004-09-03 00:22:31 +00:00
Max Horn
8f6e066374 Cleanup: renamed 'value' to 'scaletableSize' and made akos codec1 & the old costume code look even more alike
svn-id: r14868
2004-09-02 23:16:58 +00:00
Max Horn
ae4cb96f39 Make clearTextQueue call removeBlastTexts -- this fixes a text redraw issue in the ship-to-ship combat
svn-id: r14867
2004-09-02 22:47:10 +00:00
Max Horn
feb4d79506 cleanup
svn-id: r14866
2004-09-02 17:29:48 +00:00
Travis Howell
fc9e18f26a HE games don't mask.
svn-id: r14863
2004-09-02 11:35:42 +00:00
Travis Howell
88ebc3bfc5 Update IMHD fields
svn-id: r14862
2004-09-02 10:18:34 +00:00
Travis Howell
c4467d8e43 *** empty log message ***
svn-id: r14861
2004-09-02 07:00:57 +00:00
Travis Howell
0c5db81d0d Add extra sound check for HE games
svn-id: r14860
2004-09-02 04:23:13 +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
b556b277fc Update debug code
svn-id: r14858
2004-09-01 12:10:41 +00:00
Travis Howell
2810a06581 HE specific
svn-id: r14857
2004-09-01 10:39:43 +00:00
Travis Howell
2a23b8fbc9 Add misisng case (Used in funpack)
svn-id: r14856
2004-09-01 10:15:10 +00:00
Max Horn
d8fe05a5fa Fix incorrect flObject base address computation
svn-id: r14854
2004-09-01 07:59:30 +00:00
Travis Howell
2a219cc701 HE 80+ speech files aren't encoded
svn-id: r14853
2004-09-01 06:21:07 +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
35bc32625c Correct assert
svn-id: r14850
2004-09-01 02:41:48 +00:00
Travis Howell
6962e64fad *** empty log message ***
svn-id: r14849
2004-08-31 08:57:36 +00:00
Travis Howell
3efe85f5ce Ignore akos codec 32 for now
svn-id: r14848
2004-08-31 08:54:35 +00:00