Commit Graph
260 Commits
Author SHA1 Message Date
Travis Howell fccb0d0662 HE Games use more image states for objects.
Fixes background redraw when getting urchin in room 13 of freddi2.

svn-id: r19872
2006-01-01 05:45:15 +00:00
Joost Peters f8eb9cc502 Don't do full-screen updates when smooth-scrolling, but only update the changed part(s) (Patch from Cody56, enhanced by Fingolfin).
This should help speed it up on lower-spec devices.

svn-id: r19632
2005-11-18 00:01:46 +00:00
Travis Howell a47cc783e4 Only applies to SCUMM 3/4.
Fixes mask issues when lifting crate in airport.
Fixes masking issues in digdemo (Bug #1288652).

svn-id: r19360
2005-10-29 04:52:26 +00:00
Gregory Montoir 883fe108d2 Gdi::dbDrawMaskOnAll doesn't need to be set in TheDig and FT sets it when object has class 31.
svn-id: r19233
2005-10-22 08:19:28 +00:00
Gregory Montoir a915961234 Gdi::dbDrawMaskOnAll shouldn't be set in COMI, this fixes bug #1329220.
svn-id: r19220
2005-10-21 17:43:30 +00:00
Eugene Sandulenko b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Max Horn bb8afe3839 Added ResourceManager::isLocked; made ResourceManager::flags protected; moved some stuff around
svn-id: r19137
2005-10-17 15:00:23 +00:00
Travis Howell 17f251a37f loadFlObject() should use object index, when checking if object is already loaded. Matches original games and prevent multiple load of same flObject in HE games.
svn-id: r19076
2005-10-14 08:39:27 +00:00
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