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 |
The hardware sprite attributes one part of an animated sprite (its image or its shadow) is drawn with.
| u8 AnimationSpritePart::unk00[4] |
| u16 AnimationSpritePart::y |
The OAM entry's attributes 0 to 2.
screen pixels
Definition at line 90 of file animspr.h.
Referenced by FadeOverlay_DrawMarks(), Map_UpdateWorldMapMarkers(), Render_ApplyProjectedPlacement(), Render_PlaceProjectedSprite(), Render_PlaceSpritePartPair(), and SolSanctumStatue_UpdateScrollingSprites().
| 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().
| u16 AnimationSpritePart::objectMode |
Definition at line 92 of file animspr.h.
Referenced by BattlePres_SetActorRecordMode(), Bilibin_SpawnRiverEffect(), Colosso_FadeInCompetitor(), FadeOverlay_DrawMarks(), Object_MoveOnWorldMap(), and ObjectDispatch_SetChildBlendMode().
| u16 AnimationSpritePart::fullColor |
256 colours; set for both parts when created
Definition at line 94 of file animspr.h.
Referenced by BabiPalace_ApplyEntryState(), BattleFx_StartEffectObject22(), BattleFx_StartRandomParticleEmitter(), Colosso_ShowItemIcon(), Event_ShowMythrilBag(), Event_UseBlackOrb(), ImilFuchinFalls_PlaceDragonsEye(), Lalivero_Initialize(), Sanctum_RaiseItemIcon(), SolSanctumElementalStarRoom_PresentStar(), SolSanctumEruption_PlayWiseOneRescue(), SolSanctumEruption_SpawnEffectPair(), TolbiShipInteriors_PlaceAnchorCharm(), ValeBabi_SpawnEffectPair(), ValeHome_SpawnEffectPair(), ValeStorm_SpawnEffectPair(), VenusLighthouseAerie_CombineSaturosAndMenardi(), VenusLighthouseAerie_SpawnLinkedPairEffects(), and WorldMap_CreateLinkedEffects().
| u16 AnimationSpritePart::shape |
Definition at line 95 of file animspr.h.
Referenced by ResourceObject_Create(), SolSanctumEruption_SpawnEffectPair(), ValeBabi_SpawnEffectPair(), ValeHome_SpawnEffectPair(), ValeStorm_SpawnEffectPair(), VenusLighthouseAerie_SpawnLinkedPairEffects(), and WorldMap_CreateLinkedEffects().
| u16 AnimationSpritePart::x |
screen pixels
Definition at line 96 of file animspr.h.
Referenced by FadeOverlay_DrawMarks(), Map_UpdateWorldMapMarkers(), Render_ApplyProjectedPlacement(), Render_PlaceProjectedSprite(), Render_PlaceSpritePartPair(), and SolSanctumStatue_UpdateScrollingSprites().
| 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().
| u16 AnimationSpritePart::size |
Definition at line 98 of file animspr.h.
Referenced by Render_PlaceProjectedSprite(), SolSanctumEruption_SpawnEffectPair(), ValeBabi_SpawnEffectPair(), ValeHome_SpawnEffectPair(), ValeStorm_SpawnEffectPair(), VenusLighthouseAerie_SpawnLinkedPairEffects(), and WorldMap_CreateLinkedEffects().
| u16 AnimationSpritePart::tile |
first sprite tile in VRAM
Definition at line 99 of file animspr.h.
Referenced by BattleFx_StartRandomParticleEmitter(), Colosso_ShowItemIcon(), FadeOverlay_DrawMarks(), ObjectVisual_CopyAttributes(), ResourceObject_Create(), SolSanctumEruption_SpawnEffectPair(), ValeBabi_SpawnEffectPair(), ValeHome_SpawnEffectPair(), ValeStorm_SpawnEffectPair(), VenusLighthouseAerie_SpawnLinkedPairEffects(), and WorldMap_CreateLinkedEffects().
| 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().
| u16 AnimationSpritePart::palette |
Definition at line 101 of file animspr.h.
Referenced by BabiPalace_ApplyEntryState(), BattleFx_StartEffectObject22(), BattleFx_StartRandomParticleEmitter(), Event_ShowMythrilBag(), Event_UseBlackOrb(), ImilFuchinFalls_PlaceDragonsEye(), Lalivero_Initialize(), Sanctum_RaiseItemIcon(), SolSanctumElementalStarRoom_PresentStar(), SolSanctumEruption_PlayWiseOneRescue(), TolbiShipInteriors_PlaceAnchorCharm(), and VenusLighthouseAerie_CombineSaturosAndMenardi().