Eugene Sandulenko
7fb2eda235
Patch from Quietust for MM NES:
...
o Fix all actor mask bugs
o Simplify masking considerably
o Moved the decodesNESObject call from object.cpp into gfx.cpp
svn-id: r18177
2005-05-18 23:17:04 +00:00
Travis Howell
b6da09d4fe
Add some differences in C64 maniac.
...
svn-id: r18166
2005-05-18 15:30:31 +00:00
Eugene Sandulenko
3588b96d4f
Added --disable-hq and --disable-scumm-7-8 options. Also improved
...
DISABLE_HE so more HE-specific code gets excluded.
svn-id: r18099
2005-05-14 22:56:41 +00:00
Travis Howell
e3362f0923
Applies to HE70 too.
...
svn-id: r18092
2005-05-14 14:18:40 +00:00
Travis Howell
93be3e16d8
Add configure option to disable HE 70+ games.
...
svn-id: r18091
2005-05-14 14:06:37 +00:00
Travis Howell
8de4c596a0
Add missing opcode details
...
Fix regression (Fields not initied)
svn-id: r17938
2005-05-07 07:57:59 +00:00
Max Horn
d03b092659
Moved blast text/object code to ScummEngine_v6
...
svn-id: r17856
2005-04-28 22:34:56 +00:00
Travis Howell
8545634aaa
Rename function.
...
svn-id: r17839
2005-04-27 14:30:32 +00:00
Travis Howell
967fd877b1
Remove excess ;
...
svn-id: r17794
2005-04-25 03:45:37 +00:00
Max Horn
554ecd57cb
Don't use Common::Map for the object table at all; rather use bsearch on a fixed size table.
...
svn-id: r17777
2005-04-23 16:52:11 +00:00
Max Horn
7b93b0e079
Moved v2 verb code into class ScummEngine_v2
...
svn-id: r17725
2005-04-20 23:53:29 +00:00
Max Horn
c46ea8bc40
Replaced the platform specific GF_FOO switches (using _platform instead now)
...
svn-id: r17716
2005-04-20 18:21:30 +00:00
Travis Howell
2009b72679
Replace all GF_HUMONGOUS use with _heversion.
...
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.
svn-id: r17698
2005-04-20 01:33:44 +00:00
Travis Howell
0ca8095e95
Ooops
...
svn-id: r17665
2005-04-18 07:41:08 +00:00
Travis Howell
38df53db9f
Ooops
...
svn-id: r17664
2005-04-18 07:39:56 +00:00
Travis Howell
6f550d419a
Add work around for inveotry background/items in putttime/puttzoo not always been drawn.
...
svn-id: r17663
2005-04-18 07:30:26 +00:00
Max Horn
58966d6b90
Move stuff around
...
svn-id: r17661
2005-04-17 23:24:31 +00:00
Max Horn
96e40213ef
New virtual method getObjectIdFromOBIM
...
svn-id: r17660
2005-04-17 23:19:16 +00:00
Max Horn
871e278f8b
Reduce dependencies on scumm/util.h; modified ScummNESFile a bit so that it complies a bit better with our code formatting rules
...
svn-id: r17508
2005-04-10 12:59:17 +00:00
Max Horn
15fd220a81
Init _numObjectsInRoom in another spot
...
svn-id: r17499
2005-04-10 01:42:00 +00:00
Max Horn
866e0c8613
Fix check of the return value of findLocalObjectSlot() in loadFlObject()
...
svn-id: r17473
2005-04-09 09:49:55 +00:00
Eugene Sandulenko
b8385b0af1
Patch from Quietust.
...
Do not let invenotry arrows in MM NES trigger inventory script
svn-id: r17453
2005-04-08 15:14:49 +00:00
Travis Howell
f04f741b8b
Change from Quietust:
...
-Fix inventory in NES version of maniac
svn-id: r17447
2005-04-08 06:25:57 +00:00
Max Horn
3d5b5f2ad8
Moved createResource, resourceStats, expireResources to ResourceManager
...
svn-id: r17420
2005-04-06 17:31:35 +00:00
Max Horn
1419f0d5ef
Split readResTypeList into a normal and a GF_OLD_BUNDLE version; added comments to many of the GF_ feature flags; removed GF_DRAWOBJ_OTHER_ORDER (it was only use by Sam&Max, I switched that to a direct check for Sam&Max)
...
svn-id: r17362
2005-04-03 22:10:10 +00:00
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
Max Horn
9f01b54bcf
Turned setupRoomObject into a virtual method
...
svn-id: r17326
2005-04-01 13:05:40 +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
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
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
27c73db5c2
Fix for bug #1172037 (MANIAC v2: crash on mansion (regression))
...
svn-id: r17275
2005-03-28 19:49:02 +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
Max Horn
7ed1c19f6c
Cleanup: collect the C64 specific render data into a struct inside class Gdi
...
svn-id: r17224
2005-03-25 00:56:03 +00:00
Eugene Sandulenko
a827bb1c05
Patch from Quietust. Proper drawing of objects and fixes to inventory.
...
svn-id: r17162
2005-03-16 02:14:35 +00:00
Travis Howell
82c354b9d4
A few extra bits
...
svn-id: r17110
2005-03-13 00:04:32 +00:00
Travis Howell
44205266e8
Add missing case for getObjectData
...
svn-id: r17109
2005-03-12 23:59:14 +00:00
Eugene Sandulenko
154c4af8dc
Mass-renamed all variables of Actor object according to our current code
...
formatting standards. Earlier we had half of vars named with leading
underscore and half without it.
Now code in actor.cpp is considerably more readable.
svn-id: r17068
2005-03-11 01:10:06 +00:00
Eugene Sandulenko
32ea1644a5
Fix crash in updated Russian freddi1.
...
svn-id: r16795
2005-02-15 03:32:07 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
ca41dba220
Use image header to detect presence of the V8 flags field; rewrote that flags field to load the ObjectData.flags field differently; added a comment in saveload.cpp since we are not yet saving ObjectData.flags
...
svn-id: r15479
2004-10-08 23:06:19 +00:00
Travis Howell
7eb10f167c
Restrict to full game, since it doesn't exist in demo.
...
svn-id: r15467
2004-10-08 07:34:06 +00:00
Max Horn
ad285d6349
Use proper range for the (screen/local) strip values
...
svn-id: r15453
2004-10-07 21:19:37 +00:00
Max Horn
22dc16fc25
Fix blast object drawing glitches introduced by the smooth scrolling changes (were visible with the inventory in The Dig)
...
svn-id: r15449
2004-10-07 16:34:54 +00:00
Max Horn
3f842b2017
Simplify calling drawBomp a littl
...
svn-id: r15448
2004-10-07 16:10:51 +00:00
Torbjörn Andersson
7564fc2323
I don't know if it matters, but I'll feel safer if we initialise maskPtr...
...
svn-id: r15446
2004-10-07 15:42:39 +00:00
Travis Howell
9383a074cd
Correct values.
...
svn-id: r15445
2004-10-07 11:31:50 +00:00
Travis Howell
993ac60b9b
Revert, just made matters worse.
...
svn-id: r15306
2004-09-27 07:32:49 +00:00
Travis Howell
9df6b70990
tentacle (and maybe others) were reading too far.
...
Hopefully this way will work better.
svn-id: r15305
2004-09-27 01:35:19 +00:00
Max Horn
925d7d1aa1
Use enums instead of hard coding assumptions about their values (i.e. 1 in this case)
...
svn-id: r15294
2004-09-26 15:44:49 +00:00
Travis Howell
2872781231
Add HE object flag support
...
svn-id: r15292
2004-09-26 15:25:58 +00:00