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 object type to create |
const Sint32 * | script | the object script, run in mode 1 |
Uint16 | rotation | 1/65536 turns |
Uint16 | spin | 1/65536 turns per tick |
void * | update | replaces the update hook |
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 EFFECT_SPAWN, fdEffectSpawnRadialParticleRing(), fdEffectSpawnResident(), scActorEmitMist(), scActorEmitSmoke(), scActorEmitSmokeUnused(), scActorEmitSparkles(), scAirsRockBlowGust(), scAirsRockCrumbleRock(), scAirsRockInsideBlowGust(), scAirsRockInsideBurstDust(), scAirsRockInsideLandInHall(), scAirsRockInsideScatterSparks(), scAirsRockInsideStatueBreathesPooledWhirlwind(), scAirsRockInsideStatueBreathesWhirlwind(), scAirsRockStatueBreathesWhirlwind(), scAirsRockWhirlwindClearsWall(), scAnemosInnerSanctumLightPlate(), scAnkohlRuinsLandFromFall(), scAnkohlRuinsPourSand(), scCavernsFinishMovingAngaraBlock(), scContigoForceFreesDjinni(), scCrackedTileDropIn(), scDehkanPlateauLandFromFall(), scFieldEffectSpawn(), scFieldEffectSpawnLocal(), scGabombaStatueLandFromFall(), scGaiaRockInsideRaiseDust(), scGaiaRockInsideRingOfDust(), scGarohScatterDustRing(), scGondowanCliffsLeapStumpIntoWater(), scJupiterLighthouseAlexAppears(), scKandoreanTempleLandFromAbove(), scMagmaRockBurnStatue(), scMagmaRockDropLeaderFromSummit(), scMagmaRockFireFromStatue(), scMagmaRockInsideDrainLava(), scMagmaRockInsideFireFromStatue(), scMagmaRockInsideRaiseLava(), scMagmaRockInsideReleaseRocks(), scMagmaRockInsideSmokeEmber(), scMagmaRockInsideTrailEmbers(), scMagmaRockInsideTrailSparks(), scMagmaRockKnockLeaderOffWall(), scMagmaRockLeaveEmbers(), scMagmaRockRaiseFlameTop(), scMagmaRockScatterEmbers(), scMagmaRockThrowEmbers(), scMarsLighthouseEntrancePoundIceCone(), scMtAlephSummitScatterDustRing() and 22 more.
Definition at line 153 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 object type to create
script
const Sint32 *script
the object script, run in mode 1
rotation
Uint16 rotation
1/65536 turns
spin
Uint16 spin
1/65536 turns per tick
update
void *update
replaces the update hook