Travis Howell
7af9ece552
HE games store and restore locked FlObjects between rooms.
...
Fixes input issue in thinker1.
svn-id: r19072
2005-10-14 02:13:33 +00:00
Travis Howell
9895a02032
Objects were not been swapped in HE games.
...
svn-id: r19061
2005-10-13 15:02:21 +00:00
Travis Howell
80fd81f275
Selection screen in C64 maniac works.
...
svn-id: r18819
2005-09-14 09:37:17 +00:00
Travis Howell
13b600e799
Fix room object loading in C64 maniac.
...
svn-id: r18816
2005-09-14 04:18:29 +00:00
Travis Howell
18febcb94d
Replace warnings with debug, errors or printfs:
...
-To catch any missing cases/functions used.
-To prevent users reporting warnings as bugs
svn-id: r18682
2005-08-14 02:04:26 +00:00
Eugene Sandulenko
6b4484472b
Remove trailing whitespaces.
...
svn-id: r18604
2005-07-30 21:11:48 +00:00
Max Horn
8b1d7b9166
When including files from common/, explicitly use the common/ prefix
...
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
3b6018452c
Fix foCheckAlreadyLoaded case in findObjectInRoom; this is not used in any SCUMM game, just added this for completeness (see patch tracker item #1222246 )
...
svn-id: r18440
2005-06-23 14:10:52 +00:00
Gregory Montoir
db875d92e4
update derefActor() argument
...
svn-id: r18406
2005-06-17 17:11:30 +00:00
Eugene Sandulenko
b9e8e40805
Turn Wiz struct into class as requested.
...
svn-id: r18224
2005-05-23 02:00:49 +00:00
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