aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/boxes.cpp
AgeCommit message (Collapse)Author
2016-07-19SCUMM: Maniac V0: Implement 'simulator' for CPU lag (as the original engine ↵Robert Crossfield
occasionally ran at less than 60Hz). Fix call to 'getClosestPtOnBox', whcih was being passed X * V12_X_MULTIPLIER and Y * V12_Y_MULTIPLIER, but the box coordinates, where not
2016-07-19SCUMM: Maniac V0: Implement original walkbox queue, Cleanup actor walk codeRobert Crossfield
2014-11-29SCUMM: Maniac V0: If boxes are neighbors, walk directly to the new box. ↵Robert Crossfield
Remove extra call to 'animateCostume'. Remove now unnecessary V0 walk calc functions
2014-02-18SCUMM: Make GPL headers consistent in themselves.Johannes Schickel
2012-02-11SCUMM: replace "c64" with "v0" when it applies to both C64 and AppleII v0 ↵Tobias Gunkel
versions In addition some routines (e.g. the gfx ones) that are even used in v1.
2011-05-25ALL: initialise -> initializeMatthew Hoops
2011-05-25ALL: neighbour -> neighborMatthew Hoops
2011-05-13SCUMM: Move class ResourceManager to its own headerMax Horn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-01ENGINES: Replace many printfs by warning/debug/debugNMax Horn
svn-id: r54031
2010-10-25SCUMM: Add patch #3093051 - MMC64: Ladder facing patch.Travis Howell
svn-id: r53799
2009-10-27Add patch #2856940 - MM C64: corner walkboxes fixed.Travis Howell
svn-id: r45438
2009-10-27Add patch #2846425 - MM C64: walkbox fixed, with minor changes.Travis Howell
svn-id: r45437
2009-10-09Remove some unused variablesMax Horn
svn-id: r44853
2009-07-23Correct error in revision 26678.Travis Howell
svn-id: r42673
2009-07-01- Added GCC_PRINTF attribute to several funcs where it makes senseMax Horn
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
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
2008-08-15SCUMM: Made some potentially ambiguous (to the reader, at least) checks ↵Max Horn
slightly less ambiguous svn-id: r33919
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-07-01Re-added __attribute__(packed)Max Horn
svn-id: r27830
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-04-29Change getNumBoxes() to properly read the full uint16 box count (shouldn't ↵Max Horn
affect anything, though) svn-id: r26678
2007-03-11A long time ago, in a virtual machine far, far away...Max Horn
It is a period of bug fixing. Rebel developers, coding from a public project, have won their umpteenth victory against the evil Actor Walk Bugs. During the debugging, programmers used secret plans to the LucasArts' ultimate tool, the SCUMM engine, an extensible scripting system with enough power to create an entire adventure. Pursued by ensuing sinister regressions, High King Fingolfin gleefully jumps up and down, making use of the hotkey that can save his games and restore them back again later.... [With apologies to George Lucas. Good riddance to bugs #751662, #771483, #959001, #1329457, #1329498, #1329529, #1527672, #1538260, #1571701, #1571705, #1571740, and a warm welcome to the regressions this change will cause. :-) ] svn-id: r26090
2007-03-10typoMax Horn
svn-id: r26067
2007-03-10SCUMM: Renamed ActorOldWalk to Actor_v3, added new subclass Actor_v2Max Horn
svn-id: r26057
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
2007-02-04Fix compile of SCUMM engine.Travis Howell
svn-id: r25368
2007-02-03Changed old FIXME comment into a WORKAROUND comment (it worked fine all ↵Max Horn
these years, after all :); also added some paranoia checks svn-id: r25366
2006-12-25Introduced ActorOldWalk subclass of Actor (for V1-V3 walk code)Max Horn
svn-id: r24924
2006-11-20Fix for bug #1599113: SCUMM: Failed assertion in getBoxCoordinates()Max Horn
svn-id: r24754
2006-11-07cleanupMax Horn
svn-id: r24650
2006-10-29cleanupMax Horn
svn-id: r24565
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-18cleanupMax Horn
svn-id: r24373
2006-10-18cleanupMax Horn
svn-id: r24372
2006-10-18SCUMM: Be less generous to code invoking checkXYInBoxBounds with a bad box ↵Max Horn
param: we now abort instead of ignoring it silently. May cause some trivial-to-fix regressions svn-id: r24369
2006-10-18SCUMM: Yet another minox walkbox cleanupMax Horn
svn-id: r24366
2006-10-18SCUMM: walbox related cleanupMax Horn
svn-id: r24365
2006-10-04typoMax Horn
svn-id: r24114
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-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
2006-07-31Cleaned up some commentsMax Horn
svn-id: r23641
2006-07-23Use #include "..." instead of #include <...> for pack-start.h and pack-end.hTorbjörn Andersson
for consistency with other #includes. svn-id: r23585
2006-07-22Fix struct packing issues (macros are not resolve in #pragma params, at ↵Max Horn
least for GCC) svn-id: r23569
2006-07-21Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS ↵Max Horn
now (hiya eriktorbjorn, this one is for you *ggg*) svn-id: r23547
2006-07-09Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of ↵Max Horn
checking for GCC / not GCC svn-id: r23458
2006-05-29Fix Commodore 64 versionsTravis Howell
svn-id: r22732
2006-04-26cleanupMax Horn
svn-id: r22185
2006-03-13Add masking support for C64 maniac, not perfectTravis Howell
svn-id: r21250