Travis Howell
1f719929e9
Fix sprite redraws
...
svn-id: r17336
2005-04-02 15:59:02 +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
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
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
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
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
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
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
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
Travis Howell
644bced723
*** empty log message ***
...
svn-id: r17295
2005-03-30 14:32:01 +00:00
Travis Howell
b93b50809a
Correct return values were lost in last commit.
...
Also revert cleanup from scumm/akos.cpp revision 1.185.
Clipping isn't compatible, due to possible negative values.
svn-id: r17294
2005-03-30 14:12:57 +00:00
Travis Howell
41f910b5ad
Revert cleanup from scumm/gfx.cpp revision 2.348.
...
Clipping isn't compatible, due to negative values.
Fixes many sprite glitches, since code is used to calculating offsets for images.
svn-id: r17293
2005-03-30 13:34:24 +00:00
Travis Howell
6bb533f936
Cleanup
...
svn-id: r17292
2005-03-30 11:49:53 +00:00
Travis Howell
b1da5a46c7
Switch warnings to errors, to make sure any use isn't missed.
...
svn-id: r17290
2005-03-30 03:36:31 +00:00
Travis Howell
ba98e11eb1
Rename sprite functions
...
svn-id: r17285
2005-03-29 14:11:08 +00:00
Travis Howell
b7f5e4cff6
Remove unused array.
...
svn-id: r17284
2005-03-29 13:49:17 +00:00
Travis Howell
3e2be22926
Add temp. hack for sprite redraws
...
svn-id: r17283
2005-03-29 09:32:43 +00:00
Travis Howell
7c4b5b2a58
Should continue the main loop, not inner loop.
...
Fixes using sprites in circdemo
svn-id: r17282
2005-03-29 09:24:41 +00:00
Travis Howell
56a2f204a5
Limit to scumm 7+ games again, it should not be checked in HE games.
...
svn-id: r17281
2005-03-29 00:26:51 +00:00
Max Horn
414fbd0491
Moved ObjectClass to object.h
...
svn-id: r17280
2005-03-28 22:37:30 +00:00
Max Horn
c13f6b9cbb
Always check hasManyDirections for AKOS costumes -- this could cause regressions with HE games (or fix something, who knows?)
...
svn-id: r17279
2005-03-28 20:34:18 +00:00
Max Horn
9ca1a88803
Moved NES stuff in class Gdi into a struct _NES
...
svn-id: r17278
2005-03-28 20:27:12 +00:00
Max Horn
c5a77afb01
Cleaned up the object mode code; removed the friend class ScummEngine from class Gdi; moved dither code to ScummEngine
...
svn-id: r17277
2005-03-28 20:18:36 +00:00
Max Horn
6d62b11af7
typo
...
svn-id: r17276
2005-03-28 20:17:21 +00:00
Max Horn
27c73db5c2
Fix for bug #1172037 (MANIAC v2: crash on mansion (regression))
...
svn-id: r17275
2005-03-28 19:49:02 +00:00
Travis Howell
1b940f9811
Update HE issues
...
svn-id: r17273
2005-03-28 13:17:46 +00:00
Travis Howell
22affb0382
Check class of object number, not loop.
...
Cleanup.
svn-id: r17272
2005-03-28 11:38:04 +00:00
Travis Howell
2f2ca8ac21
HE80+ reports whole _classData value of object, if no args are given.
...
Fixes exit arrows in later HE games.
svn-id: r17271
2005-03-28 10:14:08 +00:00
Travis Howell
11e1e246cc
findObject in HE72+ only checks object bounds
...
findObject in He70/71 only needs additional polygon check
svn-id: r17270
2005-03-28 10:02:22 +00:00
Eugene Sandulenko
dbfeb393aa
Patch from Quietust for MM NES
...
o Fix number of global objects
o Camera-related differences
o Proper user states
o Updated MD5 for new 00.lfl
svn-id: r17268
2005-03-27 21:21:05 +00:00