Skip to Content
The Alchemy Project

src/field/field_actors.c

The field's actors: the 64 slots and creating and releasing them, starting them on their scripts, setting their sprites' animations and looks, and dissolving sprites pixel by pixel. More…

Included by field.c.

Macros

NameDescription
#defineDISSOLVE_TILE_PIXELS 64A dissolve clears one pixel of each 8-bit tile a step, in SpriteDissolvePixelOrder's order, so a tile is gone after this many.
#defineDISSOLVE_FIRST_STEP 64The step the first tile starts to dissolve at; each tile after it starts a step sooner.
#defineDISSOLVE_STEPS (DISSOLVE_FIRST_STEP + DISSOLVE_TILE_PIXELS)The steps a dissolve takes, four a tick.
#defineDISSOLVE_ORDER_STRIDE 16How much further along the pixel order each tile reads than the tile before, besides the step it is ahead.
#definePIXEL_PAIR_ODD_MASK 0xff00Keeps a pixel pair's odd pixel, its high byte, clearing the even one.
#defineOUTLINE_EDGE_COLOR 15The colour an outlined sprite's edge is drawn in (fdSpriteComposePicture, SPRITE_FLAG_OUTLINED): the sprite palette's white, colour 15, which SPRITE_COLOR_WHITE paints with too.
#defineACTOR_DEFINE_APPLY (name, actor_type, apply)Defines name(actor, value), which calls apply(sprite, value) on an actor's one sprite, or on each sprite of its group.

Functions

NameDescription
voidfdSpriteDissolveStep (Uint8 *rawSprite, Uint32 step)One step of dissolving a sprite pixel by pixel.
voidfdSpriteDissolveRun (Uint8 *sprite)Dissolves a sprite pixel by pixel, four steps a tick, over 32 ticks.
voidfdSpriteDissolveRunMany (Uint8 **sprites, Sint32 count)Dissolves count sprites together, pixel by pixel, over 32 ticks.
Sint32fdMapGridGetScreenRelativePos (ACTOR *actor, Sint32 *screenPos)Writes the actor's screen position, in pixels, to screenPos[0..1] and returns 0 when it is on or near the screen; otherwise writes 0, 0 and returns -1.
voidfdActorSystemInit (Sint32 controlMode)Sets up the actor system: allocates and zeroes the 64 actors and registers the per-tick updates.
voidfdActorSystemReservedNoOperationA (void)Unused: two empty functions.
voidfdActorSystemReservedNoOperationB (void)
void *fdActorFindFree (void)Returns the first of the 64 actors not in use (with no script), or 0.
voidfdActorRelease (ACTOR *actor)Releases an actor's sprites and zeroes it, releasing its slot.
ACTOR *fdActorCreate (Sint32 encodedSprite, FIXED x, FIXED y, FIXED z)Creates an actor at (x, y, z), in 16.16 pixels, or returns 0 when every slot is in use. encodedSprite / 4096 is its ACTOR_CREATE and the low 12 bits its sprite.
voidfdActorStartScript (ACTOR *actor, const Sint32 *script)Gives an actor a script and starts it from the top.
voidfdActorSetAnimationAndSpeed (ACTOR *actor, Sint32 animation, Sint32 step)Both of the above: switches all of an actor's sprites to animation and sets their timer step to step.
voidfdActorSetSpriteRotation (ACTOR *actor, Uint32 rotation)Sets the rotation of an actor's sprite, when it has just one.
voidfdActorSetFirstSpriteAnimation (ACTOR *actor, Sint32 animationId)Gives a one-sprite actor's first sprite animation the animation animationId and restarts its animations.
voidfdActorAddSpriteAnimation (ACTOR *actor, Sint32 animationId)Adds a layer playing animationId to a one-sprite actor's sprite.
voidfdActorStartApproachWatched (ACTOR *actor, Sint32 watchedActorHandle)Starts an actor on the script that approaches its watched actor (SC_APPROACH_WATCHED), watching watchedActorHandle.
voidfdActorStartKeyCheck (ACTOR *actor)Starts an actor on the script that runs SC_CHECK_KEYS every tick.
voidfdActorStartMoveByKeys (ACTOR *actor)Starts an actor on the script that moves it by the keys (SC_KEYS).
voidfdActorStartPlayerControl (ACTOR *actor)Starts an actor on the player control script (SC_PLAYER).
voidfdActorStartWorldMapControl (ACTOR *actor)Starts an actor on the World Map control script (SC_WORLD).
voidfdActorStartIdle (ACTOR *actor)Starts an actor on the idle script (a lone SC_END).
voidfdActorStartCamera (ACTOR *actor, Sint32 watchedActorHandle)Starts an actor on the camera script (SC_CAMERA).
voidfdActorWaitForScriptEnd (void *rawActor)Waits until the actor's script reaches SC_END, at most 300 ticks (five seconds); it returns as soon as the script idles, and after the limit whether or not it has.
voidfdActorSetSpriteFlags (ACTOR *actor, Uint32 flags)Sets the SPR_FLAG bits of a one-sprite actor's sprite, such as SPRITE_FLAG_SHADOW.
voidfdActorSetBlendMode (ACTOR *actor, Uint32 mode)Sets the OAM blend mode of a one-sprite actor's sprite.
voidfdActorSetSpriteScale (ACTOR *actor, Uint32 useOwnScale)Sets whether the fixed camera draws a one-sprite actor at its own scale (nonzero) instead of scaling it by distance.
voidfdActorSetSpriteColorMode (ACTOR *actor, Uint32 colorMode)Sets the colour mode (SPR_COL_MODE) of a one-sprite actor's sprite animations, except those drawn hidden (see fdSpriteSetAnimationColorModes).
voidfdActorSystemSuspendProjectionAndShowSprites (void)Stops placing the actors' sprites each tick, starts fading the palette back to normal and, a tick later, shows the sprites with BG1-3 hidden, leaving BG0 unchanged.
voidfdActorSystemResumeProjectionAndHideLayers (void)Places the actors' sprites each tick again, and hides BG1-3 and the sprites.
Sint32fdActorReturnTrue (void)Unused: returns 1.

Description

The field's actors: the 64 slots and creating and releasing them, starting them on their scripts, setting their sprites' animations and looks, and dissolving sprites pixel by pixel. Part of field.c.

Macros in detail

DISSOLVE_TILE_PIXELS

#define DISSOLVE_TILE_PIXELS 64

A dissolve clears one pixel of each 8-bit tile a step, in SpriteDissolvePixelOrder's order, so a tile is gone after this many.

Referenced by fdSpriteDissolveStep().

Definition at line 9 of file field_actors.c.

DISSOLVE_FIRST_STEP

#define DISSOLVE_FIRST_STEP 64

The step the first tile starts to dissolve at; each tile after it starts a step sooner.

Referenced by fdSpriteDissolveStep().

Definition at line 12 of file field_actors.c.

DISSOLVE_STEPS

#define DISSOLVE_STEPS (DISSOLVE_FIRST_STEP + DISSOLVE_TILE_PIXELS)

The steps a dissolve takes, four a tick.

Referenced by fdSpriteDissolveRun() and fdSpriteDissolveRunMany().

Definition at line 14 of file field_actors.c.

DISSOLVE_ORDER_STRIDE

#define DISSOLVE_ORDER_STRIDE 16

How much further along the pixel order each tile reads than the tile before, besides the step it is ahead.

Referenced by fdSpriteDissolveStep().

Definition at line 17 of file field_actors.c.

PIXEL_PAIR_ODD_MASK

#define PIXEL_PAIR_ODD_MASK 0xff00

Keeps a pixel pair's odd pixel, its high byte, clearing the even one.

Referenced by fdSpriteDissolveStep().

Definition at line 19 of file field_actors.c.

OUTLINE_EDGE_COLOR

#define OUTLINE_EDGE_COLOR 15

The colour an outlined sprite's edge is drawn in (fdSpriteComposePicture, SPRITE_FLAG_OUTLINED): the sprite palette's white, colour 15, which SPRITE_COLOR_WHITE paints with too.

Referenced by fdActorSystemInit().

Definition at line 155 of file field_actors.c.

ACTOR_DEFINE_APPLY

#define ACTOR_DEFINE_APPLY(name, actor_type, apply)

Defines name(actor, value), which calls apply(sprite, value) on an actor's one sprite, or on each sprite of its group.

Definition at line 349 of file field_actors.c.

Functions in detail

fdSpriteDissolveStep

void fdSpriteDissolveStep(Uint8 *rawSprite, Uint32 step)

One step of dissolving a sprite pixel by pixel.

References pixel, Sint32, SpriteDissolvePixelOrder and VramCacheEntries.

Referenced by fdSpriteDissolveRun() and fdSpriteDissolveRunMany().

Definition at line 22 of file field_actors.c.

fdSpriteDissolveRun

void fdSpriteDissolveRun(Uint8 *sprite)

Dissolves a sprite pixel by pixel, four steps a tick, over 32 ticks.

References fdSpriteDissolveStep() and sySynch().

Definition at line 73 of file field_actors.c.

fdSpriteDissolveRunMany

void fdSpriteDissolveRunMany(Uint8 **sprites, Sint32 count)

Dissolves count sprites together, pixel by pixel, over 32 ticks.

References fdSpriteDissolveStep(), Sint32 and sySynch().

Definition at line 91 of file field_actors.c.

fdMapGridGetScreenRelativePos

Sint32 fdMapGridGetScreenRelativePos(ACTOR *actor, Sint32 *screenPos)

Writes the actor's screen position, in pixels, to screenPos[0..1] and returns 0 when it is on or near the screen; otherwise writes 0, 0 and returns -1.

References fdMapGridScrollStateView() and Sint32.

Definition at line 126 of file field_actors.c.

fdActorSystemInit

void fdActorSystemInit(Sint32 controlMode)

Sets up the actor system: allocates and zeroes the 64 actors and registers the per-tick updates.

References CameraUnreadWordA, CameraUnreadWordB, fdActorSystemConfigure(), fdActorSystemPlaceSprites(), fdActorSystemProjectSprites(), fdActorUpdateAllMotion(), fdActorUpdateAllOnField(), Sint32, syHeapSlotAllocateEWRAM() and sySetEvent().

Referenced by fdSpriteViewerRun().

Definition at line 159 of file field_actors.c.

fdActorSystemReservedNoOperationA

void fdActorSystemReservedNoOperationA(void)

Unused: two empty functions.

Definition at line 193 of file field_actors.c.

fdActorSystemReservedNoOperationB

void fdActorSystemReservedNoOperationB(void)

Definition at line 197 of file field_actors.c.

fdActorFindFree

void *fdActorFindFree(void)

Returns the first of the 64 actors not in use (with no script), or 0.

References Sint32.

Referenced by fdActorCreate().

Definition at line 202 of file field_actors.c.

fdActorRelease

void fdActorRelease(ACTOR *actor)

Releases an actor's sprites and zeroes it, releasing its slot. Clearing the script lets fdActorFindFree hand the actor out again.

References fdSpriteDestroy() and Sint32.

Referenced by fdActorScriptRelease(), scAltinDriftSpew(), scAltinPeakDriftSpit(), scCottageRoomsBShowMythrilBag(), scCrossboneIsleSteppingStonesLowerActorToLedge(), scFieldEffectRiseRingBackHalf(), scFieldEffectRiseRingFrontHalf(), scFieldEffectStretchUntilArrived(), scFuchinFallsCaveFindDragonsEye(), scImilDriftSmoke(), scImilUpdateSpiralIn(), scKalayUpdateTunnelParticle(), scKolimaForestTreeUpdateOrbitSpark(), scKolimaUpdateFallingDebris(), scLogRoomsAReturnStolenGoods(), scLunpaFortressTryTakeChestItem(), scMcCoyPalaceClaimReward(), scMercuryLighthouseHopAcrossPool(), scMercuryLighthouseRemoveColumnOnRetreat(), scSolSanctumElementalStarRoomPresentStarFX(), scSolSanctumEruptionPlayWiseOneRescue(), scStuccoRoomsBWatchWomanHideMedal(), scTreeRoomsUpdateSwirlSpark(), scTunnelRuinsSinkNorthwestPillar(), scTunnelRuinsSinkSoutheastPillar(), scValeCaveMoveEastCratesIntoWater(), scValeCaveMoveWestCratesIntoWater(), scVenusLighthouseCarryFloatingPillar(), scVenusLighthouseMoveGatePillar(), scVenusLighthouseMoveSocketPillar(), scVenusLighthouseMoveSwitchPillar(), scVenusLighthouseReleaseFallenCarryPillar(), scWorldMapReleaseSparkAfterDelay() and scWorldMapUseBlackOrb().

Definition at line 223 of file field_actors.c.

fdActorCreate

ACTOR *fdActorCreate(Sint32 encodedSprite, FIXED x, FIXED y, FIXED z)

Creates an actor at (x, y, z), in 16.16 pixels, or returns 0 when every slot is in use. encodedSprite / 4096 is its ACTOR_CREATE and the low 12 bits its sprite.

References ActorDefaultScript, fdActorFindFree(), fdActorSetPosAndResetMotion(), fdSpriteCreate(), Sint32 and syResourceGetMetadataRecordStub().

Referenced by fdActorMoveOnWorldMap(), fdActorUpdatePlayerControl(), scAltinPeakSpawnSpit(), scFieldActorCreate(), scImilFuchinFallsSpawnDust(), scVaultPlaceItemIcon() and scVaultSpawnDriftingEffect().

Definition at line 250 of file field_actors.c.

fdActorStartScript

void fdActorStartScript(ACTOR *actor, const Sint32 *script)

Gives an actor a script and starts it from the top. Sets the script and clears the cursor, the pause, the loop count and the last flag test.

References Sint32.

Referenced by fdActorMoveOnWorldMap(), fdActorStartApproachWatched(), fdActorStartCamera(), fdActorStartIdle(), fdActorStartKeyCheck(), fdActorStartMoveByKeys(), fdActorStartPlayerControl(), fdActorStartWorldMapControl(), fdActorUpdatePlayerControl(), scAltinPeakSpawnDebris(), scBilibinSpawnRipple(), scColosseumNavampaMatchForceSidewalkLog(), scColossoRaisePrize(), scColossoSparkleAroundPrize(), scColossoTakePrize(), scColossoUpdatePathOpponent(), scCottageRoomsBShowMythrilBag(), scCrossboneIsleKeysBaneSecondEscape(), scGomaCavePillarSpawnFragment(), scImilFuchinFallsSpawnDust(), scImilSwayAndSpark(), scInit(), scKalaySpawnTunnelParticle(), scKalayStartTouristWaiting(), scKolimaBurstOnPsynergyField(), scKolimaForestEntranceBurstOnPsynergyField(), scKolimaForestEntranceSpawnCurseSparkle(), scKolimaForestTreeSpawnRepelSpark(), scKolimaLowerBridge(), scKolimaSpawnCurseSparkle(), scKolimaUpdateCurseDust(), scLemurianShipSprayUpdate(), scMercuryLighthouseAerieFlickerBeacon(), scMercuryLighthouseChargeLights(), scMercuryLighthouseHopAcrossPool(), scMercuryLighthouseLoseLights(), scMercuryLighthouseRestoreLights(), scMercuryLighthouseSpawnRipple(), scMercuryLighthouseSpawnSparkPair(), scSanctumRaiseItemIcon(), scSanctumSpawnOrbitingEffect(), scSanctumUpdateRisingSpark(), scShipRoomsCastOff(), scSolSanctumElementalStarRoomPresentStarFX(), scSolSanctumElementalStarRoomStandAroundHostages(), scSolSanctumEruptionStepShards(), scValeTrailSparkles(), scValeVanishMoveHand(), scVaultCaveSpawnSplash(), scVaultSpawnDriftingEffect() and 8 more.

Definition at line 335 of file field_actors.c.

fdActorSetAnimationAndSpeed

void fdActorSetAnimationAndSpeed(ACTOR *actor, Sint32 animation, Sint32 step)

Both of the above: switches all of an actor's sprites to animation and sets their timer step to step.

References fdSpriteSetAnimationSpeed(), fdSpriteStartAnimation() and Sint32.

Definition at line 383 of file field_actors.c.

fdActorSetSpriteRotation

void fdActorSetSpriteRotation(ACTOR *actor, Uint32 rotation)

Sets the rotation of an actor's sprite, when it has just one.

Definition at line 414 of file field_actors.c.

fdActorSetFirstSpriteAnimation

void fdActorSetFirstSpriteAnimation(ACTOR *actor, Sint32 animationId)

Gives a one-sprite actor's first sprite animation the animation animationId and restarts its animations. A negative animationId does nothing.

References fdSpriteResetAnimations() and Sint32.

Definition at line 424 of file field_actors.c.

fdActorAddSpriteAnimation

void fdActorAddSpriteAnimation(ACTOR *actor, Sint32 animationId)

Adds a layer playing animationId to a one-sprite actor's sprite. A negative animationId does nothing.

References fdSpriteAddAnimation() and Sint32.

Referenced by scCottageRoomsBDoraWakesIsaac().

Definition at line 443 of file field_actors.c.

fdActorStartApproachWatched

void fdActorStartApproachWatched(ACTOR *actor, Sint32 watchedActorHandle)

Starts an actor on the script that approaches its watched actor (SC_APPROACH_WATCHED), watching watchedActorHandle.

References ActorApproachWatchedScript, fdActorStartScript() and Sint32.

Definition at line 457 of file field_actors.c.

fdActorStartKeyCheck

void fdActorStartKeyCheck(ACTOR *actor)

Starts an actor on the script that runs SC_CHECK_KEYS every tick.

References ActorKeyCheckScript and fdActorStartScript().

Definition at line 464 of file field_actors.c.

fdActorStartMoveByKeys

void fdActorStartMoveByKeys(ACTOR *actor)

Starts an actor on the script that moves it by the keys (SC_KEYS). The field engine gives it to the leader while he climbs (LEADER_MOVEMENT_CLIMB).

References ActorKeysScript and fdActorStartScript().

Definition at line 471 of file field_actors.c.

fdActorStartPlayerControl

void fdActorStartPlayerControl(ACTOR *actor)

Starts an actor on the player control script (SC_PLAYER). The field engine's usual choice for the leader on a layered map.

References ActorPlayerScript and fdActorStartScript().

Definition at line 478 of file field_actors.c.

fdActorStartWorldMapControl

void fdActorStartWorldMapControl(ACTOR *actor)

Starts an actor on the World Map control script (SC_WORLD). The field engine gives it to the leader on the World Map.

References ActorWorldMapScript and fdActorStartScript().

Definition at line 485 of file field_actors.c.

fdActorStartIdle

void fdActorStartIdle(ACTOR *actor)

Starts an actor on the idle script (a lone SC_END).

References ActorIdleScript and fdActorStartScript().

Referenced by scActorResetMotionFields(), scColosseumNavampaMatchRunActorTo(), scColosseumNavampaMatchRunActorToAndStand(), scColossoWalkActorTo(), scColossoWalkActorToAndStand() and scWorldMapUseBlackOrb().

Definition at line 491 of file field_actors.c.

fdActorStartCamera

void fdActorStartCamera(ACTOR *actor, Sint32 watchedActorHandle)

Starts an actor on the camera script (SC_CAMERA). With a leader to follow, it also gets a speed limit of 4 pixels a tick and an acceleration of 0.5.

References ActorCameraScript, fdActorStartScript() and Sint32.

Referenced by scColosseumAzartMatchPushPipeworksPipe(), scColosseumNavampaMatchRollLongLog(), scColosseumSatrageMatchRollLogToMetatile() and scKolimaForestFloodgateRollLog().

Definition at line 498 of file field_actors.c.

fdActorWaitForScriptEnd

void fdActorWaitForScriptEnd(void *rawActor)

Waits until the actor's script reaches SC_END, at most 300 ticks (five seconds); it returns as soon as the script idles, and after the limit whether or not it has.

References Sint32 and sySynch().

Referenced by scColossoTakePrize(), scCottageRoomsBShowMythrilBag() and scVenusLighthouseMoveSocketPillar().

Definition at line 513 of file field_actors.c.

fdActorSetSpriteFlags

void fdActorSetSpriteFlags(ACTOR *actor, Uint32 flags)

Sets the SPR_FLAG bits of a one-sprite actor's sprite, such as SPRITE_FLAG_SHADOW.

Referenced by scAltinApplyWaterLevel(), scAltinInitSpew(), scAltinPeakFirstBeastHopsAway(), scAltinPeakFreezeFirstWaterBeastRoomPuddle(), scAltinPeakFreezePoolRoomPuddle(), scAltinPeakFreezeSpritzRoomPuddle(), scAltinPeakFreezeSpritzRoomSecondPuddle(), scAltinPeakFreezeSpritzRoomThirdPuddle(), scAltinPeakFreezeThirdWaterBeastRoomPuddle(), scAltinPeakInitSpit(), scAltinPeakRestoreFallingRocksRoom(), scAltinPeakRestoreFirstWaterBeastRoom(), scAltinPeakRestoreHydrosStatueRoom(), scAltinPeakRestoreSpritzRoom(), scAltinPeakRestoreWestExitRoom(), scAltinPeakSettleSpritzRoomPillar(), scAltinPeakShowFirstBeastRoute(), scAltinPeakSpawnDebris(), scAltmillerCaveHopOverPuddle(), scBabiLighthouseFallToExit(), scBabiPalaceWakeAfterFinals(), scBabiPalaceWakeFromFinalsDream(), scBilibinCaveHideScriptedShadow(), scBilibinCaveHideShadow(), scBilibinCaveRestoreIceRoom(), scBilibinCaveRestoreRapierRoom(), scBilibinSetUpBarricade(), scBilibinSetUpVillage(), scColosseumEntranceShowClearedTrial(), scColosseumEntranceShowFailedTrial(), scColosseumNavampaMatchPlayPostBattleReunion(), scColosseumNavampaMatchSetWeightOnScales(), scColosseumNavampaMatchSpawnSleepZ(), scColosseumNavampaMatchStepOnScales(), scColossoFadeInWarrior(), scColossoRestoreWarrior(), scColossoSparkleAroundPrize(), scCottageRoomsAGaretComesHome(), scCottageRoomsBDoraWakesIsaac(), scCottageRoomsBHurryToThePlaza(), scCrossboneIsleGrowPlant(), scCrossboneIsleMovePillar(), scCrossboneIsleRestorePillar(), scCrossboneIsleSteppingStonesLowerActorToLedge(), scCrossboneIsleSteppingStonesSetBelowLeader(), scCrossboneIsleSteppingStonesTryJumpAcrossPillar(), scCrossboneIsleTryHop(), scFloatNut(), scFuchinFallsCaveCreateHiddenActor(), scFuchinTempleClearScriptedActorSpriteFlags() and 150 more.

Definition at line 533 of file field_actors.c.

fdActorSetBlendMode

void fdActorSetBlendMode(ACTOR *actor, Uint32 mode)

Sets the OAM blend mode of a one-sprite actor's sprite.

Referenced by scGomaCavePillarPushStumpOver(), scPlaceTranslucentBlackActorFX(), scSolSanctumStartFloatingLights() and scVenusLighthouseCreateBlendedPassageEffect().

Definition at line 544 of file field_actors.c.

fdActorSetSpriteScale

void fdActorSetSpriteScale(ACTOR *actor, Uint32 useOwnScale)

Sets whether the fixed camera draws a one-sprite actor at its own scale (nonzero) instead of scaling it by distance.

Definition at line 555 of file field_actors.c.

fdActorSetSpriteColorMode

void fdActorSetSpriteColorMode(ACTOR *actor, Uint32 colorMode)

Sets the colour mode (SPR_COL_MODE) of a one-sprite actor's sprite animations, except those drawn hidden (see fdSpriteSetAnimationColorModes).

References fdSpriteSetAnimationColorModes().

Referenced by fdActorSetColorMode() and scAltmillerCaveStartRetreat().

Definition at line 566 of file field_actors.c.

fdActorSystemSuspendProjectionAndShowSprites

void fdActorSystemSuspendProjectionAndShowSprites(void)

Stops placing the actors' sprites each tick, starts fading the palette back to normal and, a tick later, shows the sprites with BG1-3 hidden, leaving BG0 unchanged. Tolbi's ship deck calls it before Ouranos's "Arrgh!" at each monster attack, and fdActorSystemResumeProjectionAndHideLayers after.

References fdActorSystemPlaceSprites(), fdActorSystemProjectSprites(), fdPaletteFadeSetTargetStub(), fdPaletteFadeStartInterpolationStub(), sySuspendEvent() and sySynch().

Referenced by scColosseumNavampaMatchPlayPostBattleReunion(), scCottageRoomsBDoraWakesIsaac(), scTolbiShipDeckMonsterLandsOnDeck(), scTolbiShipDeckMonstersAttackCrew(), scTolbiShipDeckMonstersBoard(), scValeMendingTheRoof() and scVenusLighthouseAeriePlayShebasFall().

Definition at line 576 of file field_actors.c.

fdActorSystemResumeProjectionAndHideLayers

void fdActorSystemResumeProjectionAndHideLayers(void)

Places the actors' sprites each tick again, and hides BG1-3 and the sprites.

References fdActorSystemPlaceSprites(), fdActorSystemProjectSprites() and syResumeEvent().

Referenced by scCottageRoomsBDoraWakesIsaac(), scTolbiShipDeckMonsterLandsOnDeck(), scTolbiShipDeckMonstersAttackCrew(), scTolbiShipDeckMonstersBoard(), scValeMendingTheRoof() and scVenusLighthouseAeriePlayShebasFall().

Definition at line 589 of file field_actors.c.

fdActorReturnTrue

Sint32 fdActorReturnTrue(void)

Unused: returns 1.

References Sint32.

Definition at line 598 of file field_actors.c.