Commit Graph

13408 Commits

Author SHA1 Message Date
Max Horn
b507231f71 ScummEngine_v4 used to be a subclass of ScummEngine_v3, now it is the other way around; added a new class ScummEngine_v3old, for GF_OLD_BUNDLE games; took advantage of the new inheritance structure and turned various methods into virtual methods which then are overriden in subclasses
svn-id: r17346
2005-04-03 15:06:08 +00:00
Travis Howell
f63b35381b Enable copyArray in HE100 too.
svn-id: r17345
2005-04-03 13:50:12 +00:00
Travis Howell
994769ec16 Still needed, mixed up block types.
svn-id: r17344
2005-04-03 06:40:44 +00:00
Travis Howell
d7b6860730 Removed reinit() and replaced with offsets of zero. We only need to skip type/size.
Removed AnimHeader check in parseNextFrame() and _skipPalette, since AnimHeader is correctly skipped when required now.

svn-id: r17343
2005-04-03 06:27:44 +00:00
Travis Howell
27cba7619e More sprite renames
svn-id: r17342
2005-04-03 02:24:28 +00:00
Travis Howell
2e1ce57b5f Add additional case.
svn-id: r17341
2005-04-03 01:42:06 +00:00
Andrew Kurushin
13e2492b93 some world map fix:
-only riff shows as small point
-change scene from world map
todo: in original  talk_to not shows for riff on world map

svn-id: r17340
2005-04-02 20:04:39 +00:00
Gregory Montoir
c5a4854945 forgot casts
svn-id: r17339
2005-04-02 17:29:53 +00:00
Torbjörn Andersson
1d87cdb497 _data is a ScummFile, not a chunk, so it should use SEEK_SET, not
seek_start. And since SEEK_SET is the default seek mode, it doesn't make
any difference anyway.

svn-id: r17338
2005-04-02 17:26:18 +00:00
Gregory Montoir
7b88503437 initial implementation of o72_arrayOps_127 and o90_sortArray
svn-id: r17337
2005-04-02 17:19:44 +00:00
Travis Howell
1f719929e9 Fix sprite redraws
svn-id: r17336
2005-04-02 15:59:02 +00:00
Marcus Comstedt
c734fc5b5c Until there is a proper way of communicating pixel format, declare ugly global variable...
svn-id: r17334
2005-04-02 15:45:50 +00:00
Travis Howell
b5f281e9d8 Cleanup
svn-id: r17333
2005-04-02 14:24:43 +00:00
Torbjörn Andersson
eb4dce05ee Extremely minor consistency change.
svn-id: r17332
2005-04-02 13:58:00 +00:00
Travis Howell
5d042783a6 Add extra case for 3DO fbear.
svn-id: r17331
2005-04-01 23:42:16 +00:00
Travis Howell
4c50afea57 Seek from start pos, not cur pos.
svn-id: r17330
2005-04-01 22:36:45 +00:00
Eugene Sandulenko
58731633a5 MM NES costumes fix for MM NES. Talking animation appears now, though
there are still some glitches with sliding actors which require different
handling of actors talking.

svn-id: r17329
2005-04-01 21:35:44 +00:00
Travis Howell
ae30e1b9db Checked code against disasm., an offset of 8 is correct when rewinding san via INSANE.
svn-id: r17328
2005-04-01 15:33:18 +00:00
Travis Howell
c832b858b7 Actor order needs to be checked too (For HE games)
svn-id: r17327
2005-04-01 14:46:58 +00:00
Max Horn
9f01b54bcf Turned setupRoomObject into a virtual method
svn-id: r17326
2005-04-01 13:05:40 +00:00
Travis Howell
2eab3e51eb Add bits and pieces
More renames

svn-id: r17325
2005-04-01 12:43:13 +00:00
Travis Howell
879de392d1 A random object state is possible in scumm7 too.
svn-id: r17324
2005-04-01 09:55:17 +00:00
Travis Howell
b4ecd9f56e Update HE issues
svn-id: r17323
2005-04-01 08:53:49 +00:00
Travis Howell
d80f9ccd40 Add support for clipping of wizImages.
Add support for altering wizImages.
Various renames.

svn-id: r17322
2005-04-01 08:51:13 +00:00
Jonathan Gray
4e3bfc6a66 Implement pausing using the 'p' key like the original did.
Feature request #1145781.

Convert key handling from if statements to a case statement
while here.

svn-id: r17321
2005-04-01 07:33:39 +00:00
Jonathan Gray
2d26bfcb47 Display text in Restart Yes/No Dialog for consistency with
Quit dialog.  Pointed out in part of FR #1145781.

svn-id: r17320
2005-04-01 07:30:25 +00:00
Travis Howell
cdd21c361b Remove resource type argument in wizImage functions, it is always rtImage.
Rename sprite flags/functions
Remove unused sprite flags
Switch sprite flags back to hex. for easier comparison

svn-id: r17319
2005-04-01 06:30:46 +00:00
Robert Göffringmann
65596240d7 ps2: clip coordinates in copyRectToScreen, necessary for The Dig
svn-id: r17318
2005-04-01 03:00:51 +00:00
Eugene Sandulenko
ebe4c1b6b6 Fix regression in MM NES costumes.
Cleanup

svn-id: r17317
2005-04-01 02:14:00 +00:00
Eugene Sandulenko
9c68b29a05 Normalize verb/invenotry areas in MM NES. Patch from Quietust
svn-id: r17316
2005-04-01 01:41:20 +00:00
Max Horn
3ea3c42242 Extended comment on _CLUT_offs a bit
svn-id: r17315
2005-03-31 23:14:09 +00:00
Max Horn
bed1629642 Made findResourceSmall local to resource.cpp; simplified _EPAL_offs (since we don't use it nor save it at this time, this is harmless); added a comment about _CLUT_offs ugliness
svn-id: r17314
2005-03-31 23:11:39 +00:00
Max Horn
807b573ab2 Fix GF_OLD256 palette size (no idea if that has an effect anywhere)
svn-id: r17313
2005-03-31 23:04:46 +00:00
Travis Howell
204809625f Rename paletteNum field for sprite in wizImages.
svn-id: r17312
2005-03-31 22:51:54 +00:00
Max Horn
ac247c9b94 Started to move some resource related code into a new class ResourceManager (hypothetic goal for the future: use ResourceManager in ScummEx)
svn-id: r17311
2005-03-31 21:39:31 +00:00
Travis Howell
59331fe535 Add another French version
svn-id: r17310
2005-03-31 15:12:13 +00:00
Eugene Sandulenko
0fa38d12e1 Fix bug #1173422 "Slight mouse cursor regression"
svn-id: r17309
2005-03-31 14:36:42 +00:00
Travis Howell
fc59dcae3e Return correct object x/y position
svn-id: r17308
2005-03-31 12:58:11 +00:00
Travis Howell
a78e0d0b82 Add some missing code.
svn-id: r17307
2005-03-31 09:56:14 +00:00
Robert Göffringmann
861cdd9db2 fixed headers. -_-
svn-id: r17306
2005-03-31 07:50:33 +00:00
Robert Göffringmann
bd81feb996 Playstation2 Port: initial import
svn-id: r17305
2005-03-31 05:35:04 +00:00
Travis Howell
5a890eedd3 Add code for more o90_getPolygonOverlap() cases.
svn-id: r17304
2005-03-31 02:28:14 +00:00
Eugene Sandulenko
d9a3cb0a62 Added Russian puttcirc.
svn-id: r17303
2005-03-31 01:16:14 +00:00
Eugene Sandulenko
f4c50eff95 Switch to headerless PRG data for MM NES for better compatibility.
svn-id: r17302
2005-03-30 23:25:49 +00:00
Eugene Sandulenko
9c772ce7d8 Forgot to init _encbyte in MemoryReadStream.
svn-id: r17301
2005-03-30 22:01:17 +00:00
Eugene Sandulenko
7ae3da082e Support for direct reading from NES ROM:
o extend MemoryReadStream with XOR facility
  o implement MemoryWriteStream
  o _fileHandle now is a reference to BaseScummFile class and is created on the fly
  o implement ScummNESFile class which is basically extract_mm_nes utility
  o update NES MM md5's due to above changes

NOTE: to run MM NES now you need to remove *.LFL files and (probably) rename
ROM to standard conventional name 'Maniac Mansion (XXX).nes'

svn-id: r17300
2005-03-30 21:59:12 +00:00
Gregory Montoir
63911718ee Added warnings if duplicate md5s are found, as suggested in bug report #1167146
svn-id: r17299
2005-03-30 20:20:06 +00:00
Max Horn
c1b948ff12 This is now obsolete
svn-id: r17298
2005-03-30 17:37:35 +00:00
Max Horn
ebb49d5cfe In V7/V8 games, just always call translateText, it'll check for the '/' prefix anyway (this allows us to perform additional magic in it, should we need to, e.g. to fix bug #1172655)
svn-id: r17297
2005-03-30 17:30:47 +00:00
Travis Howell
b5eb59dff1 Ooops
svn-id: r17296
2005-03-30 14:54:23 +00:00