Skip to Content
The Alchemy Project

include/field/actor.h

Actors, their flags and the screen transition styles.

Included by battle_internal.h, battle_effect_internal.h, actor_scripts.c, actor_step_angle.c, field_engine_internal.h, field_internal.h, field_psynergy_internal.h, script_commands_internal.h, title_intro.c, actor_find_at_metatile.c, actor_wait_until_landed.c, cracked_tile_mask.c, world_map_objects.c, window_internal.h, field.h, field_engine.h, field_script.h, script_commands.h, jupiter_lighthouse_aerie.h, mars_lighthouse_shared.h, trial_road.h and tundaria_tower.h.

Structures

NameDescription
structACTORAn actor on the field: its script, position, motion toward a target, sprites and update hook.

Macros

NameDescription
#defineSCENE_TRANSITION (style, variant) ((style) << 8 | (variant))A scene transition as FIELD_STATE.transition holds it.
#defineSCENE_TRANSITION_STYLE (transition) (((transition) >> 8) & 0xff)The two bytes of a SCENE_TRANSITION: its SCREEN_TRANSITION_STYLE, and the variant that style reads.
#defineSCENE_TRANSITION_VARIANT (transition) ((transition) & 0xff)
#defineACTOR_NO_TARGET ((Sint32)0x80000000)ACTOR.targetX, targetY and targetZ when it has no movement target.
#defineACTOR_LIST_END 65535The actor id that ends a list of actors, or of rows that start with one.
#defineACTOR_COUNT 64The actors of RamHeapSlots->actors.
#defineSET_ACTOR_POSITION (p, fixedX, fixedY, fixedZ)Sets an actor's position in one statement, as SET_POSITION does for a particle.

Typedefs

NameDescription
typedef void (*OBJECT_UPDATE )(union FIELD_OBJECT *object);An actor's per-tick hook, called with the actor (fdActorUpdateAllOnField).

Enumerations

NameDescription
enumSCREEN_TRANSITION_STYLE { TRANSITION_FADE, TRANSITION_BACKDROP_FADE, TRANSITION_WINDOW … }How a scene fades in and out: SCENE_TRANSITION's high byte, which fdScreenTransitionStart and fdScreenTransitionFinish read.
enumCENTRE_LINE_VARIANT { CENTRE_LINE_STEADY, CENTRE_LINE_FLICKERING }TRANSITION_CENTRE_LINE's variants: the lines open or close steadily, or flicker every other tick as they close (fdScreenTransitionUpdateFromCenter).
enumACTOR_PRIORITY_FLAG { ACTOR_PRIORITY_AUTOMATIC, ACTOR_PRIORITY_UNDERFOOT, ACTOR_PR … }ACTOR.priorityFlags bits.
enumACTOR_MOTION_FLAG { ACTOR_FOLLOWS_TERRAIN, ACTOR_FALLS, ACTOR_FLOATS, ACTOR_FLOA … }ACTOR.motionFlags bits.
enumACTOR_COLLISION_FLAG { ACTOR_SOLID, ACTOR_PUSHABLE, ACTOR_NEAR_TALK, ACTOR_NOT_TARG … }ACTOR.collisionFlags bits.
enumACTOR_STEERING_FLAG { ACTOR_FACES_MOTION }ACTOR.steeringFlags bits.
enumanonymous enum { ACTOR_SNAPSHOT_CAPACITY, ACTOR_SNAPSHOT_EMPTY }The actor snapshot (SnapshotObjects), as The Broken Seal's ActorSnapshot: how many actors it keeps, and the slot id that marks an empty place and ends its list.
enumARRIVAL_AXIS { ARRIVAL_AXIS_NONE, ARRIVAL_AXIS_X, ARRIVAL_AXIS_Y, ARRIVAL_A … }The axis a moving actor watches to know it has arrived at its target: the one along which it has the furthest to go.
enumACTOR_SPR_CACHE_FLAG { ACTOR_KEEP_SPRITE_VRAM, ACTOR_COMPOSE_OFF_SCREEN }ACTOR.retainSpriteCache's bits, read by fdActorSystemPlaceSprites.

Functions

NameDescription
voidfdActorMoveHalfwayTowardTarget (ACTOR *actor)Per-tick update: halves the actor's distance to its watched actor along x, y and z.
voidfdActorMoveHalfwayTowardTargetCopy (ACTOR *actor)Moves the actor halfway to the actor it watches; a copy of fdActorMoveHalfwayTowardTarget.
voidfdActorStartIdleStub (ACTOR *)
voidfdActorSetMoveTargetStub (ACTOR *, Sint32, Sint32, Sint32)
voidfdActorWaitForMoveStub (ACTOR *)Waits up to 600 ticks for an actor to reach its movement target.
voidfdActorSelectAnimationStub (ACTOR *, Sint32)Switches every sprite of an actor, one or a group of four, to an animation.
voidfdActorWaitForScriptEndStub (ACTOR *)
voidscActorWaitUntilLanded (ACTOR *actor)Waits until the actor stops rising or falling, sixty ticks at most.
voidfdActorSetTargetPosFromMagnitudeAngle (ACTOR *actor, Sint32 magnitude, Sint32 angle)Sends the actor toward the point magnitude away from it at angle.
ACTOR *scPlaceTranslucentBlackActorFX (Sint32 x, Sint32 y, Sint32 z, Sint32 type)Creates an actor of sprite type at a 16.16 position to stand as a silhouette: at drawing priority 0, still, skipped by target searches, with no outline or shadow, all black and translucent.
static inline voidfdActorFlagsSet (Uint8 *flags, Uint8 bits)Sets bits in one of an actor's flag bytes.

Variables

NameDescription
extern const Sint32ActorLaunchScript []The launch script (fdActorLaunchFromLeader): waits for the actor to arrive and a tick more, stands it, then turns it a step toward the facing in its timer.
extern const Sint32ActorFaceWatchedScript []Faces the watched actor every tick, forever.
extern const Sint32ActorOffsetScript []The walk-by script (fdActorWalkByById): waits for the actor to arrive, then stands it in its first animation.
extern const Uint8RepeatedSquashScript []

Description

Actors, their flags and the screen transition styles.

Macros in detail

SCENE_TRANSITION

#define SCENE_TRANSITION(style, variant) ((style) << 8 | (variant))

A scene transition as FIELD_STATE.transition holds it.

Referenced by dbIncreaseItemAndLevelRequestExit(), fdEngineRun(), fdStartEncounterTransition(), mnInnPlaySleep(), scAirsRockInsideLandInHall(), scAlhafraManorBriggsEscapes(), scAnkohlRuinsLandFromFall(), scApojiiIslandsEnterSeaOfTimeIsletHouse(), scChampaCliffCavesAskIfBriggsLearned(), scContigoInitLuckyDice(), scContigoInitShops(), scCrackedTileDropIn(), scCrackedTileFall(), scDehkanPlateauCannonDropsPoundCube(), scDehkanPlateauCannonPoundsLeaderThrough(), scDehkanPlateauInitCannon(), scDehkanPlateauInitCaves(), scDehkanPlateauInitPoundCube(), scDehkanPlateauLandFromFall(), scDehkanPlateauStepOnCrack(), scEasternAlhafraWorkersTellMayor(), scFadeInAndClearFlag(), scGabombaStatueChamberAkafubuOffersToHelp(), scGabombaStatueChamberGabombaNamesWitchDoctor(), scGabombaStatueChamberWhereIsTheOrb(), scGabombaStatueEndRide(), scGabombaStatueHearTheOffering(), scGabombaStatueInitEyes(), scGabombaStatueLandFromFall(), scGabombaStatueSawEnergyFlow(), scGabombaStatueSeeHowItWorks(), scGabombaStatueWatchTheChargesStick(), scGaiaRockInsideRaiseDust(), scGarohEnterOpening(), scGarohInitVillage(), scInit(), scIsletsArriveAtSecretSpot(), scIsletsArriveBackAtIsland(), scIsletsRideBackToIsland(), scIsletsSinkInSea(), scJupiterLighthouseBeaconIsLit(), scJupiterLighthouseKarstAndAgatioRetreat(), scJupiterLighthouseWeBeatThem(), scKandoreanTempleFindTheRopeOnTheFloor(), scKandoreanTempleLandFromAbove(), scKandoreanTempleLeaveBySteam(), scKandoreanTempleMeetPoi(), scKandoreanTemplePassTheTest(), scKandoreanTempleRideEastLiftDown(), scKandoreanTempleRideWestLiftDown() and 44 more.

Definition at line 32 of file actor.h.

SCENE_TRANSITION_STYLE

#define SCENE_TRANSITION_STYLE(transition) (((transition) >> 8) & 0xff)

The two bytes of a SCENE_TRANSITION: its SCREEN_TRANSITION_STYLE, and the variant that style reads.

Referenced by fdScreenTransitionFinish() and fdScreenTransitionStart().

Definition at line 35 of file actor.h.

SCENE_TRANSITION_VARIANT

#define SCENE_TRANSITION_VARIANT(transition) ((transition) & 0xff)

Referenced by fdScreenTransitionFinish() and fdScreenTransitionStart().

Definition at line 36 of file actor.h.

ACTOR_NO_TARGET

#define ACTOR_NO_TARGET ((Sint32)0x80000000)

ACTOR.targetX, targetY and targetZ when it has no movement target.

Referenced by btMotionApplyPairMidpoint(), fdActorClearDestinationAndStand(), fdActorCrossRope(), fdActorCrossTightrope(), fdActorFlyOnWorldMap(), fdActorIsTargetUnset(), fdActorMoveAsSand(), fdActorMoveAsSandOnWorldMap(), fdActorMoveByKeys(), fdActorMoveOnWorldMap(), fdActorResetTargetsAndVelocity(), fdActorSailOnMap(), fdActorSailOnWorldMap(), fdActorScriptWaitForArrival(), fdActorSetMoveTarget(), fdActorSetPosAndResetMotion(), fdActorUpdateAllMotion(), fdActorUpdateAllOnField(), fdActorUpdateHoverControl(), fdActorUpdatePlayerControl(), fdActorUpdateWalkingControl(), fdCameraFollowLeaderInBounds(), fdCameraFollowWatchedInBounds(), fdDjinnRunBattleStartHop(), fdExitPrepareActorAnimation(), fdExitPrepareAnimation(), fdLeaderSlideOnIce(), fdLeaderSlideOnIceAhead(), fdLeaderStopMoving(), fdMindReadUpdateCrescent(), fdPsynergyRetreat(), fdTreasureSpotMoveLeaderAway(), fdUpdateWalking(), scActorRollAndCrumble(), scActorStopWhereItStands(), scCavernsPlaceAngaraBlocks(), scGondowanCliffsLeapStumpIntoWater(), scJupiterLighthouseCastTheJupiterStar(), scLeaderSlideOnIceFromEdge(), scMagmaRockInsidePushBlockOnto(), scMagmaRockLandLeader(), scPushedActorAdvancePair(), scTaopoSwampTremorPillar(), scYallamHasArrived() and scYampiDesertHasArrived().

Definition at line 39 of file actor.h.

ACTOR_LIST_END

#define ACTOR_LIST_END 65535

The actor id that ends a list of actors, or of rows that start with one.

Referenced by AirsRockInsidePairedStakesStakes, AlhafranCavePoundStakes, DehkanPlateauCannonCrumblingPillar, DehkanPlateauCannonStakes, DehkanPlateauEntranceCrumblingPillars, DehkanPlateauEntranceStakes, DehkanPlateauPillarsBlocks, DehkanPlateauPillarsCrumblingPillars, DehkanPlateauPillarsStakes, DehkanPlateauPoundCubeStakes, DehkanPlateauTightropesCrumblingPillars, DehkanPlateauTightropesPillars, DehkanPlateauTightropesStakes, DehkanPlateauTightropesVinePillars, EasternAlhafraPoundStakes, EasternAlhafraUnusedActorList, fdActorLiftTargetBlock(), fdActorPlaceBlocks(), fdFlagBlockApplyFlags(), fdFlagBlockPlaceAll(), fdFlagBlockPlaceAllMarkingEdges(), fdPoundSinkTarget(), MadraCatacombsPuddles, MadraCatacombsPushedPillar, MadraCatacombsVinePillar, MarsLighthouseBalmIceCones, MarsLighthouseDragonFaceIceCones, MarsLighthouseEntranceIceCones, MarsLighthouseIceShaftIceCones, scActorsSetMetatilesOpen(), scAirsRockInsidePlaceStakes(), scAirsRockInsideStepOntoStake(), scBlocksMarkMetatiles(), scCavernsPlaceAngaraBlocks(), scCavernsStartMovingAngaraBlock(), scCrumblingPillarCollapse(), scCrumblingPillarPlace(), scCrumblingPillarPlaceWithStandIn(), scCrumblingPillarStep(), scCrumblingPillarStepWithStandIn(), scIzumoRuinsPlaceStakes(), scLeaderCheckCrumblingStep(), scMagmaRockCrumblePillar(), scMagmaRockInsideCrumblePillar(), scMagmaRockInsideRaiseActorMetatiles(), scMagmaRockInsideRestoreCrumblingPillars(), scMagmaRockInsideRestorePillars(), scMagmaRockInsideStepOnTrap(), scMagmaRockLookUpMetatileStatue(), scMagmaRockRestoreCrumblingPillars() and 23 more.

Definition at line 42 of file actor.h.

ACTOR_COUNT

#define ACTOR_COUNT 64

The actors of RamHeapSlots->actors.

Referenced by fdActorCheckBlocked(), fdActorFindFree(), fdActorFindNearestFacingTarget(), fdActorFlyOnWorldMap(), fdActorMoveWithCarriers(), fdActorSailOnMap(), fdActorScriptCheckOverlap(), fdActorScriptFindOverlappingActor(), fdActorSetRevealSpriteColor(), fdActorSystemInit(), fdActorSystemPlaceSprites(), fdActorSystemProjectSprites(), fdActorUpdateAllOnField(), fdActorUpdateHoverControl(), fdActorUpdatePlayerControl(), fdActorUpdateWalkingControl(), fdClimbDown(), fdClimbUp(), fdItemDisplayShowItemInFront(), fdLeaderSlideOnIce(), fdLeaderSlideOnIceAhead(), fdTryJumpForward(), KNOCK_BACK(), scGarohOpenDoorAndEnter() and scLeaderSlideOnIceFromEdge().

Definition at line 45 of file actor.h.

SET_ACTOR_POSITION

#define SET_ACTOR_POSITION(p, fixedX, fixedY, fixedZ)

Sets an actor's position in one statement, as SET_POSITION does for a particle.

Referenced by btEffectRunCharon(), fdActorDescendInWhirlwind(), fdActorMoveWithCarriers(), fdActorResetForLeader(), fdActorSetMoveTarget(), fdActorUpdateAllMotion(), fdActorUpdateAllOnField(), fdCameraFollow(), fdCameraFollowActor(), fdCameraFollowLeaderInBounds(), fdCameraFollowWatchedInBounds(), fdCameraMoveWithinMapBounds(), fdCycloneCarryLeader(), fdCycloneLiftLeader(), fdEffectRunSparkEmitter(), fdEffectUpdateOrbitingParticleLeft(), fdEffectUpdateOrbitingParticleRight(), fdPsynergyCatch(), fdPsynergyDouse(), fdPsynergyGrowFromCaster(), fdPsynergyHalt(), fdPsynergyShrinkToCaster(), fdPsynergyUpdateLash(), fdPsynergyWhirlwind(), fdScoopDigUpItem(), fdScoopDropFromHand(), fdViewMoveSwing(), scActorPark(), scAirsRockInsideFollowGust(), scAnemosInnerSanctumCircleOrb(), scInit(), scJupiterLighthouseCircleTheBeam(), scJupiterLighthouseCircleUpTheBeam(), scJupiterLighthouseRestartSpark(), scMagmaRockBlastWayIn(), scMagmaRockBurstCrackedPillar(), scMagmaRockInsideBurstCrackedPillar(), scShrineOfTheSeaGodKeepFlameOnTorch(), scShrineOfTheSeaGodKeepWithLeader(), scTrialRoadFollowPillar() and scYallamPlaceFallenLog().

Definition at line 49 of file actor.h.

Typedefs in detail

OBJECT_UPDATE

typedef void (*OBJECT_UPDATE)(union FIELD_OBJECT *object);

An actor's per-tick hook, called with the actor (fdActorUpdateAllOnField).

Referenced by fdActorLaunchAhead(), fdActorUpdateAllOnField(), fdAvoidDropRing(), fdBattleEffectSetObjectUpdateMode(), fdDjinnRunBattleStartHop(), fdDjinnRunJupiterJoinEffect(), fdDjinnRunMarsJoinEffect(), fdDjinnRunMercuryJoinEffect(), fdDjinnRunVenusJoinEffect(), fdEffectCircleAnchor(), fdEffectRunSparkEmitter(), fdEffectSetAttached(), fdEffectSpawnDustPuff(), fdEffectUpdateOrbitingParticleLeft(), fdEffectUpdateOrbitingParticleRight(), fdPsynergyAvoid(), fdPsynergyDouse(), fdPsynergyFrost(), fdPsynergyHaltActor(), fdPsynergyPly(), fdPsynergyResumeHaltedActor(), fdPsynergyRetreat(), fdPsynergySteerPushedTarget(), fdPsynergyUpdateMindReadWave(), fdPsynergyWhirlwind(), scActorAttach(), scActorSetFlightMode(), scApojiiIslandsFatherSeesTheStone(), scAquaRockArriveFromPassage(), scAquaRockDouseSummitWaterStone(), scAquaRockDouseWaterStone(), scAquaRockEnterSparklingPassage(), scAquaRockMoaiStepAside(), scAquaRockSpawnSparkleAtRandom(), scAquaRockStartFish(), scCavernsFinishMovingAngaraBlock(), scChampaEnterDoor(), scFireballCarryLeader(), scFlameThrowerSendSpark(), scGaiaRockInsideCaskPours(), scGaiaRockInsidePlantPointsTheWay(), scInit(), scIsletsArriveBackAtIsland(), scIsletsRideBackToIsland(), scJupiterLighthousePushColumnOffTheLedge(), scJupiterLighthouseSendUpBeamLights(), scJupiterLighthouseSpawnSparks(), scJupiterLighthouseStartBeamFlicker(), scKandoreanTempleBlowSteam(), scKandoreanTempleBlowStreamSteam() and 30 more.

Definition at line 139 of file actor.h.

Enumerations in detail

SCREEN_TRANSITION_STYLE

enum SCREEN_TRANSITION_STYLE

How a scene fades in and out: SCENE_TRANSITION's high byte, which fdScreenTransitionStart and fdScreenTransitionFinish read.

EnumeratorValueDescription
TRANSITION_FADE0from or to black
TRANSITION_BACKDROP_FADE1from or to the backdrop colour
TRANSITION_WINDOW2a window shape the variant chooses
TRANSITION_DISSOLVE3
TRANSITION_CENTRE_LINE4opens from or closes to centre line; variant picks how

Definition at line 13 of file actor.h.

CENTRE_LINE_VARIANT

enum CENTRE_LINE_VARIANT

TRANSITION_CENTRE_LINE's variants: the lines open or close steadily, or flicker every other tick as they close (fdScreenTransitionUpdateFromCenter).

EnumeratorValueDescription
CENTRE_LINE_STEADY0
CENTRE_LINE_FLICKERING1

Definition at line 25 of file actor.h.

ACTOR_PRIORITY_FLAG

enum ACTOR_PRIORITY_FLAG

ACTOR.priorityFlags bits.

EnumeratorValueDescription
ACTOR_PRIORITY_AUTOMATIC0x01The sprite takes its priority from the map metatile under it.
ACTOR_PRIORITY_UNDERFOOT0x02The depth sort treats it as 320 pixels higher on the screen.
ACTOR_PRIORITY_OVERHEAD0x04The depth sort treats it as 320 pixels lower on the screen.
ACTOR_PRIORITY_OWN_DEPTH0x08Drawn at the depth its sceneByte holds, not its own place
ACTOR_PRIORITY_NOT_DRAWN0x10(fdRenderApplyProjectedPlacementAtDepth). Placed nowhere, as if off screen.
ACTOR_PRIORITY_IGNORES_RISES0x20With ACTOR_PRIORITY_AUTOMATIC, takes the priority of the metatiles under it even where the ground in front rises, which would put it behind.
ACTOR_PRIORITY_WALKS_ON_PLATFORMS0x40The actor steps up onto platform actors a metatile below it, as the leader does onto pushed blocks and statues.
ACTOR_PRIORITY_PLATFORM0x80Others with ACTOR_PRIORITY_WALKS_ON_PLATFORMS may stand on it.

Definition at line 53 of file actor.h.

ACTOR_MOTION_FLAG

enum ACTOR_MOTION_FLAG

ACTOR.motionFlags bits.

EnumeratorValueDescription
ACTOR_FOLLOWS_TERRAIN0x01Moves with the ground height under it.
ACTOR_FALLS0x02Falls by its gravity and bounces.
ACTOR_FLOATS0x04Bobs up and down by its gravity.
ACTOR_FLOATS_HIGH0x08With ACTOR_FLOATS, four times as far.
ACTOR_KEEPS_SPEED_ON_SLOPES0x10Keeps its speed on slopes, which slow others down.
ACTOR_MOTION_SPARE0x80Unused: nothing sets or reads it; a jump clears it with ACTOR_FOLLOWS_TERRAIN.
ACTOR_JUMP_KEEPS_MOTION(Uint8)~(ACTOR_FOLLOWS_TERRAIN | ACTOR_MOTION_SPARE)The motion flags a jump keeps as the actor leaves the ground: all but ACTOR_FOLLOWS_TERRAIN and the spare bit.

Definition at line 80 of file actor.h.

ACTOR_COLLISION_FLAG

enum ACTOR_COLLISION_FLAG

ACTOR.collisionFlags bits.

EnumeratorValueDescription
ACTOR_SOLID0x01blocks other actors and the player
ACTOR_PUSHABLE0x02the player pushes it
ACTOR_NEAR_TALK0x04nearer to talk to
ACTOR_NOT_TARGETED0x08never a talk or Psynergy target
ACTOR_NEAR_PSYNERGY0x10nearer for Psynergy targets
ACTOR_BLOCKED_BY_SOLID0x80Refuses to move into a solid actor (ACTOR.refused)

Definition at line 99 of file actor.h.

ACTOR_STEERING_FLAG

enum ACTOR_STEERING_FLAG

ACTOR.steeringFlags bits.

EnumeratorValueDescription
ACTOR_FACES_MOTION0x01turns toward its velocity, 1/16 turn a tick

Definition at line 111 of file actor.h.

anonymous enum

enum { ACTOR_SNAPSHOT_CAPACITY, ACTOR_SNAPSHOT_EMPTY }

The actor snapshot (SnapshotObjects), as The Broken Seal's ActorSnapshot: how many actors it keeps, and the slot id that marks an empty place and ends its list.

EnumeratorValueDescription
ACTOR_SNAPSHOT_CAPACITY32actors a snapshot keeps
ACTOR_SNAPSHOT_EMPTY255an empty slot, and the end of the list

Definition at line 119 of file actor.h.

ARRIVAL_AXIS

enum ARRIVAL_AXIS

The axis a moving actor watches to know it has arrived at its target: the one along which it has the furthest to go.

EnumeratorValueDescription
ARRIVAL_AXIS_NONE0no arrival test; set again once it arrives
ARRIVAL_AXIS_X16
ARRIVAL_AXIS_Y17
ARRIVAL_AXIS_Z18

Definition at line 127 of file actor.h.

ACTOR_SPR_CACHE_FLAG

enum ACTOR_SPR_CACHE_FLAG

ACTOR.retainSpriteCache's bits, read by fdActorSystemPlaceSprites.

EnumeratorValueDescription
ACTOR_KEEP_SPRITE_VRAM0x1Keeps the sprite's VRAM cache entry while the field is suspended or the actor is off screen (fdActorSetItemIcon sets it).
ACTOR_COMPOSE_OFF_SCREEN0x2Keeps composing its picture while it is off screen.

Definition at line 142 of file actor.h.

Functions in detail

fdActorWaitForMoveStub

void fdActorWaitForMoveStub(ACTOR *)

Waits up to 600 ticks for an actor to reach its movement target.

Referenced by fdActorCenterOnColumn(), fdActorJumpDownLedge(), fdActorMoveToAndWaitById(), fdActorWaitForMoveById(), fdActorWalkByAndWaitById(), fdActorWalkToAndWaitById(), fdCameraWaitForArrival(), fdEffectGrowHandAndWait(), fdEntranceEndArrivalAnimation(), fdLeaderPushObjectAhead(), fdLeaderStepOffRope(), fdLeaderStepOffTightrope(), fdLeaderStepOntoRope(), fdLeaderStepOntoTightrope(), fdPsynergyCarry(), fdPsynergyLift(), fdPsynergyLiftOnTarget(), fdPsynergyPly(), fdPsynergySteerLiftedTarget() and fdPsynergySteerPushedTarget().

Definition at line 606 of file actor.h.

fdActorSelectAnimationStub

void fdActorSelectAnimationStub(ACTOR *, Sint32)

Switches every sprite of an actor, one or a group of four, to an animation.

Referenced by btActionRunBuild(), btAutoBattleApplyDamage(), btAutoBattleRunAttackOrItem(), btAutoBattleRunPsynergy(), btDjinnRecoveryCountDownSide(), btEffectHopBackToSpot(), btEffectRunAgingGas(), btEffectRunAstralBlast(), btEffectRunCastingImpact(), btEffectRunDeathPlunge(), btEffectRunFireDance(), btEffectRunFlashingStrike(), btEffectRunGaspFamily(), btEffectRunLeapingStrike(), btEffectRunMineBall(), btEffectRunOdyssey(), btEffectRunRagnarok(), btEffectRunRisingDragon(), btEffectRunSerac(), btEffectRunStoneJustice(), btEffectRunVolleyWithAction(), btEffectSetApproachMotion(), btEffectStartActorMotion(), btEffectStartActorMotionOutward(), btEffectStartActorMotionRandomDistance(), btMotionApplyKnockback(), btMotionApproachTarget(), btMotionCallBeast(), btMotionFlashHit(), btMotionLeapBack(), btMotionLeapToward(), btMotionRestartLeap(), btMotionSetupEscapeObject(), btObjectUpdatePose(), btPlaybackRun(), btProcessTurnEnd(), btStagingRunAttack(), btStagingRunFullScreen(), btStagingRunItem(), btStagingRunPsynergyCast(), btUnitProcessActionEnd(), fdActorAppearInWhirlwind(), fdActorCenterOnColumn(), fdActorClearDestinationAndStand(), fdActorDescendInWhirlwind(), fdActorFallOverById(), fdActorFallOverWithAnimationById(), fdActorInitSparkle(), fdActorJumpDownLedge(), fdActorLaunchFromLeader() and 89 more.

Definition at line 608 of file actor.h.

fdActorWaitForScriptEndStub

void fdActorWaitForScriptEndStub(ACTOR *)

Referenced by fdActorSetMovementTypeAndWaitById() and fdActorWaitForScriptEndById().

Definition at line 609 of file actor.h.

fdActorFlagsSet

static inline void fdActorFlagsSet(Uint8 *flags, Uint8 bits)

Sets bits in one of an actor's flag bytes.

Referenced by scMagmaRockInsideDrainLava(), scMarsLighthouseTowersMeltPuddle() and scVenusLighthouseRepelLeader().

Definition at line 623 of file actor.h.

Variables in detail

RepeatedSquashScript

extern const Uint8 RepeatedSquashScript[]

Referenced by fdActorStartRepeatedMotion().

Definition at line 620 of file actor.h.