aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/actor.cpp
AgeCommit message (Collapse)Author
2014-12-08SCUMM: Correct variable type in Actor_v0::adjustPosInBorderWalkbox, since ↵Kirben
variable can have negative value.
2014-12-08Merge pull request #542 from segrax/V1-V2_WalkAnimFixKirben
SCUMM V1-V2: Fix actor walk behavior (transitions between walk boxes, and changing destination issue)
2014-12-08SCUMM V1-V2: Fix actor walk behavior (transitions between walk boxes, and ↵Robert Crossfield
changing destination issue)
2014-12-08SCUMM: Maniac V0: Add support for D64 Demo Disk, Cleanup duplicate 'Talk' arrayRobert Crossfield
2014-12-07SCUMM: Correct spacing and warning in last Maniac V0 merge.Kirben
2014-12-02SCUMM: Maniac V0: Correctly handle 'slanted' walk-boxes, Add new variables ↵Robert Crossfield
to save-games, Bump the SaveGame Version number, remove obsolete V0 code in V2 functions
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-11-28SCUMM: Maniac V0: Implement the original Walk Code (to fix some anim ↵Robert Crossfield
glitches), fix opcode to use _moving correctly (as V0 is different)
2014-02-18SCUMM: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-18SCUMM: Remove unnecessary NULL check, CID 1003629Torbjörn Andersson
Since _actors[i]->_sound is an array, it can't ever be NULL.
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-11Revert "SCUMM: revert savegame version to 89"Willem Jan Palenstijn
This reverts commit 65fc7225bb31e72120dcdf16e91ae377c657548d. Increasing the savegame version on a branch and then decreasing it again leads to problems with loading current savegames in old commits during a bisect.
2012-02-11SCUMM: revert savegame version to 89Tobias Gunkel
Previous versions 89-92 are merged into version 89.
2012-02-11SCUMM: remove unnecessary cast to Actor_v0Tobias Gunkel
2012-02-11SCUMM: replaced A with a0 to avoid upper-case local varsTobias Gunkel
2012-02-11SCUMM: cleanup and separation of objIsActor()/objToActor()/actorToObj() for ↵Tobias Gunkel
v0 and other engines
2012-02-11SCUMM: match style-guide, add missing spaces between some "if ()", "for ()"Tobias Gunkel
2012-02-11SCUMM: add support for diagonal walking between boxes (e.g. used for meteor ↵Tobias Gunkel
opening scene)
2012-02-11SCUMM: Remove old codeRobert Crossfield
2012-02-11SCUMM: Few changes for animations, dont move while turning & not necessary ↵Robert Crossfield
to call animateactor during startanimactor
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.
2012-02-11SCUMM: save complete v0 state and initialize actors correctlyTobias Gunkel
2012-02-11SCUMM: remove the temporary variable _limb_currentTobias Gunkel
2012-02-11SCUMM: adjust to coding style-guideTobias Gunkel
2012-02-11SCUMM: Fix ActorStop, V0 needs to set the stop directionRobert Crossfield
2012-02-11SCUMM: isPlayer() is not supported by engine v0Tobias Gunkel
2012-02-11SCUMM: fix diagonal walking in at least MM v0Tobias Gunkel
The comparison "ABS((int)(deltaXFactor >> 16)) > _speedx)" does not work as "deltaXFactor >> 16" will clear the fractional part of deltaXFactor. As a result the deltaXFactor might be bigger than (_speedx<<16) and the actor moves faster than he should.
2012-02-11SCUMM: Fix V0 Sound, and a direction issue (affected walking down the ladder)Robert Crossfield
2012-02-11SCUMM: V0 always turns actor towards camera when entering room, remove ↵Robert Crossfield
unnecessary loadcostume
2012-02-11SCUMM: Remove unnecessary calls to animateActorRobert Crossfield
2012-02-11SCUMM: Fix Tentacle issue, and possibly some other animation issuesRobert Crossfield
2012-02-11SCUMM: fix actor climbing on plant or swimming pool ladderTobias Gunkel
Before, the actor will descend the ladder of the pool and maybe even into the the pool. Another issue fixed by this is the actor climbing onto the plant pot if you give something to it.
2012-02-11SCUMM: fix for old savegamesTobias Gunkel
2012-02-11SCUMM: Animations fix again, no need for the hack nowRobert Crossfield
2012-02-11SCUMM: Remove the setCmdFromDirection functionRobert Crossfield
2012-02-11SCUMM: Animation FixesRobert Crossfield
2012-02-11SCUMM: Fix the animation system, rename the Limb Frame Repeat variableRobert Crossfield
2012-02-11SCUMM: fix saving of array _byte_FCE2Tobias Gunkel
2012-02-11SCUMM: fix v0 mode handling and actor switchingTobias Gunkel
- handle mode switching correctly - do not freeze scripts in cutscene mode (mode 0), as some scripts are freezed in mode 0 that should not be freezed - kModeNoNewKid (mode 2) needs the same userState as mode 3 - rename o_cursorCommand to o_setMode as it is not really cursor specific - handle actorHiding correctly (do not set costume to 0 as the previous costume cannot be reverted after hiding) - add drawSentence - document meanings for actor misc flags - fix actor names for "new kid" if the radiation suit is used (all kids are set to 0 then with actor 0 name " ") - cleanup actor switching routine - _userPut is not used anymore in v0
2012-02-11SCUMM: Re-arrange some things to make it closer to the originalsegrax
2012-02-11SCUMM: Save the new variables, move the setting of the unknown variable to ↵segrax
after the setDirection call
2012-02-11SCUMM: improve unknown variable support, add case 0xff to the animateactor ↵segrax
opcode
2012-02-11SCUMM: Change vars to ints, remove unused variable for nowsegrax
2012-02-11SCUMM: Fix actor behind man-eating plant issue in v0.Tobias Gunkel
Thanks segra for finding how it works in the original interpreter. The plant is handled specially and 0 is used instead of its y-position.
2012-02-11SCUMM: Add in support in v0 for the unknown variable to o_animateActorsegrax
2012-02-11SCUMM: Fix meteor actor indexTobias Gunkel
- Now the correct actor name is shown with "give ... to meteor". Formerly the name was "". - Add actor names that do not have a string assigned
2012-02-11SCUMM: Fix sound playback if fast-mode is onTobias Gunkel
Sounds are played that fast in fast-mode that the queue gets stuck. This is just a workaround and only fixes the symptoms. Check the queue handling for a correct fix.
2011-09-08SCUMM: Made some static data const.Johannes Schickel