aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/object.cpp
AgeCommit message (Collapse)Author
2011-11-03SCUMM: Fix warningsEugene Sandulenko
2011-05-25ALL: behaviour -> behaviorMatthew Hoops
2011-05-13SCUMM: Turned ResTypeData into a Common::Array<Resource>, subsuming its ↵Max Horn
_resource member
2011-05-13SCUMM: Add a Resource class, refactor res code around itMax Horn
2011-05-13SCUMM: Get rid of the MemBlkHeader hackMax Horn
This uncovered at least one potentially serious bug in the inventory code, which still needs to be investigated and fixed.
2011-05-13SCUMM: Refactor how resource (types) are srepresentedMax Horn
Previously, we had a couple of arrays of size N (where N = number of resource types), one for each attribute of a resource type (such as as the number of resources of that type. Now, we have one array of size N, whose elements are a record aggregating all the attributes of each resource type.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2010-10-25SCUMM: Add patch #3093541 - MMC64: Actor Walk / Object Fix.Travis Howell
svn-id: r53806
2010-10-18SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)Max Horn
svn-id: r53567
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-10-23Fix object names in PCE version of Loom.Travis Howell
svn-id: r45346
2009-10-22Fix objects structure and object scripts in PCE version of Loom.Travis Howell
svn-id: r45335
2009-07-25Fixed GCC warnings.Torbjörn Andersson
svn-id: r42739
2009-07-25Add patch #2821100 - MM C64 Objects / Verb fixes, with minor clean up applied.Travis Howell
svn-id: r42737
2009-07-01Fixed some more warnings observed on buildbotMax Horn
svn-id: r42010
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-03-20SCUMM: Split intern.h into multiple headersMax Horn
svn-id: r39567
2009-03-01Fix regression in AppleII/C64 versions of Maniac Mansion.Travis Howell
svn-id: r38999
2008-12-09SCUMM: Turned two former warnings into errors -- I never got reports on this ↵Max Horn
warnings, with some luck we'll never get reports on the errors, too. If we get them, I'll deal with them :) svn-id: r35292
2008-09-23Fix for bug #1917981: Game crash when finishing Indy3 demo. At the same ↵Max Horn
time, added a new paranoia check svn-id: r34635
2008-05-06Allow static and dynamic plugins to be used at the same timeJordi Vilalta Prat
svn-id: r31888
2008-03-19cleanupMax Horn
svn-id: r31192
2008-01-05Fixed regression that would cause ScummEngine_v80he to leak polygon slots at anTorbjörn Andersson
alarming rate. svn-id: r30249
2007-12-27Enable Windows version of early HE games by default, to match already ↵Travis Howell
enabled 3DO/DOS/Macintosh versions of early HE games. Adding only the minimum code required for HE70 games. svn-id: r30011
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-09-11Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME ↵Max Horn
comments; and some other related cleanup svn-id: r28890
2007-09-10Added some commentsMax Horn
svn-id: r28886
2007-09-08Some cleanup (yay for whomever had the brilliant idea to let SVN work over ↵Max Horn
HTTPS and hence through proxies&firewalls :) svn-id: r28877
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2007-03-10SCUMM: got rid of the _bompActorPalettePtr member var (which was only used ↵Max Horn
as a hidden param to drawBomp); turned drawBomp into a regular function (used to be a ScummEngine member method) svn-id: r26045
2007-03-03Fix level selection in PC Engine version of Loom.Travis Howell
svn-id: r25954
2007-03-03Allow PC Engine version of Loom to at least start up.Travis Howell
svn-id: r25951
2007-02-25Rename C64 engine class, since it is been used by Apple II and Commodore 64 ↵Travis Howell
versions now. svn-id: r25850
2007-02-15Introduced V12_X_SHIFT / V12_Y_SHIFTMax Horn
svn-id: r25611
2007-02-04Rewrote the actor walk code for SCUMM V0-V2 games: Now it uses the C64 ↵Max Horn
character coordinates internally, not pixel coordinates. This should fix some walk bugs, but also might cause some regressions. Watch out svn-id: r25370
2006-12-25Changed ScummEngine::_actors from an Actor array to a an array of Actor ↵Max Horn
points (i.e. indirection) svn-id: r24922
2006-11-19* Made Actor::_pos protected, added public Actor::getPos() methodMax Horn
* Added default params to Actor::putActor() * Removed Actor::getActorXYPos svn-id: r24742
2006-10-29Named / documented the V0-V2 object states (we should probably rename the ↵Max Horn
corresponding opcodes here and in descumm to make reading script dumps easier) svn-id: r24566
2006-10-19SCUMM: Introduced V12_X_MULTIPLIER and V12_Y_MULTIPLIER to make it a bit ↵Max Horn
easier to find spots where we convert between C64-style coordinates and pixel coordinates (but beware, this probably doesnt't cover all relevant instances) svn-id: r24384
2006-10-19cleanupMax Horn
svn-id: r24383
2006-10-18SCUMM: Got rid of BompHeaderMax Horn
svn-id: r24371
2006-10-18SCUMM: Moved getDistanceBetween to clas ScummEngine_v6; grouped inventory ↵Max Horn
related stuff in object.cpp svn-id: r24368
2006-09-23Removed CHECK_HEAPMax Horn
svn-id: r23979
2006-09-18Fix --disable-heMax Horn
svn-id: r23932
2006-09-17Moved stored flobjects to class ScummEngine_v70heMax Horn
svn-id: r23924
2006-09-17Renamed ScummEngine::res to _res and allocate the ResourceManager on the ↵Max Horn
heap (i.e. _res is a pointer now) svn-id: r23922
2006-09-17Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap ↵Max Horn
(i.e. _gdi is a pointer now) svn-id: r23921
2006-09-16Replaced checkRange by assertRange, which has (a) an (IMO) more logical ↵Max Horn
order of parameters, and (b) removes lots of useless duplicate information in error messages svn-id: r23885