Alchemy
Loading...
Searching...
No Matches

AnimationSpritePart Struct Reference

The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with. More...

#include <field/animspr.h>

Data Fields

u8 unk00 [4]
 The link to the next part queued in the same depth slot this frame (Runtime_PushSlotEntry).
u8 unk0a [2]
 zero when created; not named by TBS code
u16 y: 8
 The OAM entry's attributes 0 to 2.
u16 affine: 2
 0 plain, 1 affine, 3 affine at double size
u16 objectMode: 2
u16 mosaic: 1
u16 fullColor: 1
 256 colours; set for both parts when created
u16 shape: 2
u16 x: 9
 screen pixels
u16 affineIndex: 5
 affine matrix, or 8 for a mirrored plain sprite
u16 size: 2
u16 tile: 10
 first sprite tile in VRAM
u16 priority: 2
 2 when created
u16 palette: 4

Detailed Description

The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with.

Definition at line 84 of file animspr.h.

Field Documentation

◆ unk00

u8 AnimationSpritePart::unk00[4]

The link to the next part queued in the same depth slot this frame (Runtime_PushSlotEntry).

Definition at line 87 of file animspr.h.

◆ y

u16 AnimationSpritePart::y

◆ affine

u16 AnimationSpritePart::affine

0 plain, 1 affine, 3 affine at double size

Definition at line 91 of file animspr.h.

Referenced by Render_ApplyProjectedPlacement(), Render_PlaceProjectedSprite(), and Render_PlaceSpritePartPair().

◆ objectMode

◆ mosaic

u16 AnimationSpritePart::mosaic

Definition at line 93 of file animspr.h.

◆ fullColor

◆ shape

◆ x

◆ affineIndex

u16 AnimationSpritePart::affineIndex

affine matrix, or 8 for a mirrored plain sprite

Definition at line 97 of file animspr.h.

Referenced by Render_ApplyProjectedPlacement(), and Render_PlaceProjectedSprite().

◆ size

◆ tile

◆ priority

u16 AnimationSpritePart::priority

2 when created

Definition at line 100 of file animspr.h.

Referenced by BattleActor_UpdateSpritePriorities(), BattleEffect_UpdatePhasedRadialParticle(), BattleFx_RunBoreas(), BattleFx_RunGaia(), BattleFx_RunJudgment(), BattleFx_RunKirin(), BattleFx_RunParticleStreams(), BattleFx_RunRamses(), BattleFx_SpawnItemBreakMode3(), BattleFx_SpawnObjects(), BattleFx_StartEffectObject22(), BattleFx_StartRandomParticleEmitter(), Bilibin_SpawnRiverEffect(), Effect_InitializeMotion(), EffectSlot_Initialize(), Event_EnterJail(), Event_EnterJail(), Event_EnterNortheastHouse(), Event_EnterNortheastHouse(), Event_EnterNorthHouse(), Event_EnterNorthHouse(), Event_GatherAfterRiverRescue(), Event_HurryToThePlaza(), Event_Rock11Falls(), FadeOverlay_DrawMarks(), FieldFx_SpawnBurstParticle(), FieldObject_UpdatePlayerControl(), GomaCavePillar_SpawnFragment(), Imil_InitializeRisingEffect(), ImilFuchinFalls_SpawnDust(), Kolima_SpawnCurseSparkle(), Kolima_UpdateCurseDust(), KolimaForestBridge_SpawnCurseSparkle(), KolimaForestTree_SpawnRejectionSpark(), Menu_UpdateEntryObjectTransforms(), MercuryLighthouse_ArriveWithSparks(), MercuryLighthouse_ChargeLights(), MercuryLighthouse_RestoreLights(), MercuryLighthouse_SpawnSparkPair(), MercuryLighthouseAerie_FlickerBeacon(), Object_InitializeSparkle(), Object_MoveOnWorldMap(), Object_Spawn(), ObjectMotion_SetActionVariant(), ObjectSystem_UpdateCamera(), ObjectTable_Restore(), ObjectTable_Snapshot(), OverlayObject_SpawnKind24AtObject(), OverlayObject_SpawnKind24AtObject(), PsynergyMenu_InitializeEntryObjects(), Sanctum_ShowHealerAfterimage(), Sanctum_SpawnActorSpark(), Sanctum_SpawnOrbitingEffect(), SaveMenu_ShowDjinnSprites(), SaveMenu_ShowPartySprites(), SolSanctumEruption_PlayWiseOneRescue(), SolSanctumEruption_RaiseElementalArcs(), TolbiShipInteriors_LayFlat(), TolbiShipMast_ShrinkAndStopActor(), ValeBabi_SpawnEffectPair(), ValeHome_SpawnEffectPair(), ValeStorm_CopyLeaderSpritePriority(), ValeStorm_ShowBoulderSweepingDownriver(), ValeStorm_SpawnEffectPair(), Vault_OpenDoorwayAndEnter(), Vault_SpawnDriftingEffect(), VaultInteriors_DefeatThieves(), VaultInteriors_SetPartyImagePriority(), VenusLighthouse_CreateBlendedPassageEffect(), VenusLighthouse_CreateOccludingPassageEffect(), VenusLighthouse_ReleaseFallenCarryBlock(), VenusLighthouseAerie_CombineSaturosAndMenardi(), VenusLighthouseAerie_SpawnLinkedPairEffects(), VenusLighthouseAerie_SpawnSideOrbitParticles(), VenusLighthouseAerie_SpawnUpperOrbitParticles(), VenusLighthouseAerie_UpdateBeaconRise(), WorldMap_CreateLinkedEffects(), WorldMap_SpawnActorEightPuff(), and WorldMap_UpdateTransitionEffect().

◆ palette

◆ unk0a

u8 AnimationSpritePart::unk0a[2]

zero when created; not named by TBS code

Definition at line 103 of file animspr.h.