struct EFFECT_SPR
A field effect's sprite, drawn by fdEffectSpriteDraw: an OAM entry linked into the bucket of its depth, with the screen position (16.16), scale (16.16) and angle it is placed from. More…
Declared in effect_sprite.h.
Fields
| Name | Description | |
|---|---|---|
struct EFFECT_SPR * | next | |
OAM_DATA | oam | |
FIXED | x | |
FIXED | y | |
FIXED | scaleX | |
FIXED | scaleY | |
Uint16 | angle | |
Sint16 | depth | |
Uint16 | width | |
Uint16 | height | |
Sint16 | pivotX | |
Sint16 | pivotY |
Description
A field effect's sprite, drawn by fdEffectSpriteDraw: an OAM entry linked
into the bucket of its depth, with the screen position (16.16), scale (16.16)
and angle it is placed from. fdEffectSpriteInit fills one; a depth of -1
hides it. The pivot is the pixel of the picture that sits on the position.
struct EFFECT_SPR
Referenced by AlhafranCaveCrateSprite, AlhafraRoomsFirstGuestSprite, AlhafraRoomsSecondGuestSprite, dbPsynergyTest2StartRocks(), dbPsynergyTest2UpdateRocks(), dbPsynergyTestStartRings(), dbPsynergyTestUpdateRings(), EpiloguePortraitFrame, fdActorAppearInSparks(), fdBattleEffectSpawnScaledArcObjects(), fdBattleEffectUpdateArcEffect(), fdBlazeUpdateSpray(), fdEffectSpriteDraw(), fdEffectSpriteDrawAtWorldPos(), fdEffectSpriteDrawAtWorldXYZ(), fdEffectSpriteInit(), fdEffectSpriteInitWithFadeOverlay(), fdEffectSpriteInitWithFadeOverlayBlended(), fdGrowingParticleUpdate(), fdHoverGlowUpdate(), fdParticleBurstStart(), fdParticleBurstUpdate(), fdPsynergyArrow(), fdPsynergyBlaze(), fdPsynergyBurst(), fdPsynergyEndRing(), fdPsynergyEndSand(), fdPsynergyGrindOnTarget(), fdPsynergyHover(), fdPsynergyLash(), fdPsynergyParch(), fdPsynergyPound(), fdPsynergyRing(), fdPsynergySand(), fdPsynergyScoop(), fdPsynergyStartSceneSprite(), fdPsynergyTremorOnTarget(), fdPsynergyUpdateArrow(), fdPsynergyUpdateBurst(), fdPsynergyUpdateLash(), fdPsynergyUpdatePound(), fdPsynergyUpdateRing(), fdSandInitLeaderSprite(), fdSandSpawnGrain(), fdScoopDustUpdateGrain(), fdScoopUpdate(), fdSummonTabletPlayRunes(), fdSummonTabletUpdateRunes(), fdTeleportPlaySparks(), fdTeleportPlayWhirl() and 29 more.
Definition at line 15 of file effect_sprite.h.
Fields in detail
next
struct EFFECT_SPR *next
oam
OAM_DATA oam
x
FIXED x
y
FIXED y
scaleX
FIXED scaleX
scaleY
FIXED scaleY
angle
Uint16 angle
depth
Sint16 depth
width
Uint16 width
height
Uint16 height
pivotX
Sint16 pivotX
pivotY
Sint16 pivotY