struct EFFECT_OPTIONS
The options of a spawned field effect, each used when its EFFECT_USE_ flag (or EFFECT_SCALE_TO_TARGET) is set.
The options of a spawned field effect, each used when its EFFECT_USE_ flag (or EFFECT_SCALE_TO_TARGET) is set.
Declared in field_effect.h.
Fields
| Name | Description | |
|---|---|---|
Sint32 | priority | the sprite's priority |
Sint32 | palette | passed to fdActorSetSpriteColor |
FIXED | startScaleX | 16.16 fixed point, toFIXED(1) full size |
FIXED | startScaleY | 16.16 fixed point, toFIXED(1) full size |
FIXED | targetScaleX | 16.16 fixed point, toFIXED(1) full size |
FIXED | targetScaleY | 16.16 fixed point, toFIXED(1) full size |
Sint16 | type | the sprite, SPRITE_DUST_PUFF without the flag |
const Sint32 * | script | the actor script, run in mode 1 |
Uint16 | rotation | 1/65536 turns |
Uint16 | spin | 1/65536 turns per tick |
void (* | update )(struct ACTOR *actor) | replaces the update function |
Description
The options of a spawned field effect, each used when its EFFECT_USE_ flag
(or EFFECT_SCALE_TO_TARGET) is set.
struct EFFECT_OPTIONS
Referenced by fdEffectSpawnRadialParticleRing(), scBabiLighthouseLandWithParticles(), scCrossboneIsleSpawnPillarMovedBurst(), scCrossboneIsleSteppingStonesSpawnDragonFire(), scCrossboneIsleSteppingStonesSpawnMeltParticle(), scCrossboneIsleSteppingStonesSpawnUnusedLeaderParticle(), scFieldEffectSpawnNineRadialEffects(), scFuchinFallsCaveBreatheDragonFire(), scFuchinTempleAnimateRevealLesson(), scFuchinTempleMonkLetsPartyIntoGrotto(), scFuchinTempleSpawnGrottoEntryParticle(), scFuchinTempleSpawnNyunpasParticles(), scHeatGaugeCountStep(), scImilFuchinFallsSpawnDust(), scInit(), scLamakanDesertBatheInOasis(), scLamakanDesertKickUpSand(), scLamakanDesertSlipDownSand(), scLeapStump(), scMercuryLighthouseAerieSaturosAndAlexWarpIn(), scMercuryLighthouseAerieSaturosAndAlexWarpOut(), scMercuryLighthouseEntranceActivateWithPly(), scMercuryLighthousePlyOpensWaterfallPassage(), scMercuryLighthouseRaiseActorWithSparks(), scMercuryLighthouseSparkleAroundLeader(), scMercuryLighthouseSparkleAt(), scMercuryLighthouseSparkleBurst(), scMercuryLighthouseSparkleNear(), scMercuryLighthouseStartJet(), scMercuryLighthouseStartNorthJet(), scMercuryLighthouseStartSpoutsWithSparkles(), scMercuryLighthouseStopJet(), scMercuryLighthouseStopNorthJet(), scMercuryLighthouseStopSpoutsWithSparkles(), scMercuryLighthouseTrailSparks(), scMogallForestSpawnPuffRing(), scSolSanctumElementalStarRoomAlexWarpsIn(), scSuhallaDesertChaseLeader(), scTreeRoomsLandFromFall(), scTunnelRuinsHopDownStep(), scTunnelRuinsSinkNorthwestPillar(), scTunnelRuinsSinkSoutheastPillar(), scTunnelRuinsSplashDousedPillar(), scValeCaveMoveEastCratesIntoWater(), scValeCaveMoveWestCratesIntoWater(), scValeCaveSinkActorWithParticles(), scVenusLighthouseAerieCombineSaturosAndMenardi(), scVenusLighthouseDriftLeader(), scVenusLighthouseEmitPassageSparkTrail(), scVenusLighthouseEmitRisingParticles() and 13 more.
Definition at line 158 of file field_effect.h.
Fields in detail
priority
Sint32 priority
the sprite's priority
palette
Sint32 palette
passed to
fdActorSetSpriteColor
startScaleX
FIXED startScaleX
16.16 fixed point,
toFIXED(1) full size
startScaleY
FIXED startScaleY
16.16 fixed point,
toFIXED(1) full size
targetScaleX
FIXED targetScaleX
16.16 fixed point,
toFIXED(1) full size
targetScaleY
FIXED targetScaleY
16.16 fixed point,
toFIXED(1) full size
type
Sint16 type
the sprite,
SPRITE_DUST_PUFF without
the flag
script
const Sint32 *script
the actor script, run in mode 1
rotation
Uint16 rotation
1/65536 turns
spin
Uint16 spin
1/65536 turns per tick
update
void (*update)(struct ACTOR *actor)
replaces the update function