Alchemy
Loading...
Searching...
No Matches

effect_step.h File Reference

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)

Detailed Description

EffectStep and EffectPosition, the positions effects move through.

Definition in file effect_step.h.

Function Documentation

◆ EffectStep_Coordinates()

const s32 * EffectStep_Coordinates ( const struct EffectStep * step)
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().

◆ EffectPosition_Coordinates()

◆ STATIC_ASSERT() [1/9]

STATIC_ASSERT ( offsetof(struct EffectStep, x) = =0x00)

◆ STATIC_ASSERT() [2/9]

STATIC_ASSERT ( offsetof(struct EffectStep, y) = =0x04)

◆ STATIC_ASSERT() [3/9]

STATIC_ASSERT ( offsetof(struct EffectStep, z) = =0x08)

◆ STATIC_ASSERT() [4/9]

STATIC_ASSERT ( offsetof(struct EffectStep, velocityX) = =0x0c)

◆ STATIC_ASSERT() [5/9]

STATIC_ASSERT ( offsetof(struct EffectStep, velocityY) = =0x10)

◆ STATIC_ASSERT() [6/9]

STATIC_ASSERT ( offsetof(struct EffectStep, velocityZ) = =0x14)

◆ STATIC_ASSERT() [7/9]

STATIC_ASSERT ( offsetof(struct EffectStep, variant) = =0x18)

◆ STATIC_ASSERT() [8/9]

STATIC_ASSERT ( sizeof(struct EffectStep) = =0x1c)

◆ STATIC_ASSERT() [9/9]

STATIC_ASSERT ( sizeof(struct EffectPosition) = =0x0c)