EffectStep and EffectPosition, the positions effects move through. More...
Go to the source code of this file.
Data Structures | |
| struct | EffectStep |
| A moving point of an effect: its position, its velocity and a value each effect uses its own way (a size, a timer, -1 for idle). More... | |
| struct | EffectPosition |
| A point projected onto the screen, with its depth. More... | |
Functions | |
| static const s32 * | EffectStep_Coordinates (const struct EffectStep *step) |
| Returns the step's three coordinates as an array. | |
| static s32 * | EffectPosition_Coordinates (struct EffectPosition *position) |
| Returns the position's three coordinates as an array. | |
| STATIC_ASSERT (offsetof(struct EffectStep, x)==0x00) | |
| STATIC_ASSERT (offsetof(struct EffectStep, y)==0x04) | |
| STATIC_ASSERT (offsetof(struct EffectStep, z)==0x08) | |
| STATIC_ASSERT (offsetof(struct EffectStep, velocityX)==0x0c) | |
| STATIC_ASSERT (offsetof(struct EffectStep, velocityY)==0x10) | |
| STATIC_ASSERT (offsetof(struct EffectStep, velocityZ)==0x14) | |
| STATIC_ASSERT (offsetof(struct EffectStep, variant)==0x18) | |
| STATIC_ASSERT (sizeof(struct EffectStep)==0x1c) | |
| STATIC_ASSERT (sizeof(struct EffectPosition)==0x0c) | |
EffectStep and EffectPosition, the positions effects move through.
Definition in file effect_step.h.
|
inlinestatic |
Returns the step's three coordinates as an array.
Definition at line 37 of file effect_step.h.
Referenced by BattleFx_RunAstralBlast(), and EffectStep_Coordinates().
|
inlinestatic |
Returns the position's three coordinates as an array.
Definition at line 68 of file effect_step.h.
Referenced by BattleFx_PlayUnitElementEffect(), BattleFx_RunBeamSequence(), BattleFx_RunParticleStreams(), BattleTarget_RunSelection(), EffectPosition_Coordinates(), EffectPosition_ProjectBattler(), EffectPosition_ProjectPoint(), EffectPosition_ProjectScaledBattler(), EffectPosition_ProjectSprite(), and SelectionScreen_Draw().
| STATIC_ASSERT | ( | offsetof(struct EffectStep, x) | = =0x00 | ) |
| STATIC_ASSERT | ( | offsetof(struct EffectStep, y) | = =0x04 | ) |
| STATIC_ASSERT | ( | offsetof(struct EffectStep, z) | = =0x08 | ) |
| STATIC_ASSERT | ( | offsetof(struct EffectStep, velocityX) | = =0x0c | ) |
| STATIC_ASSERT | ( | offsetof(struct EffectStep, velocityY) | = =0x10 | ) |
| STATIC_ASSERT | ( | offsetof(struct EffectStep, velocityZ) | = =0x14 | ) |
| STATIC_ASSERT | ( | offsetof(struct EffectStep, variant) | = =0x18 | ) |
| STATIC_ASSERT | ( | sizeof(struct EffectStep) | = =0x1c | ) |
| STATIC_ASSERT | ( | sizeof(struct EffectPosition) | = =0x0c | ) |