Alchemy
Loading...
Searching...
No Matches

effect_slot.h File Reference

Effect slots: the particles Psynergy effects move and draw. More...

Go to the source code of this file.

Data Structures

struct  EffectSlot
 A particle a Psynergy effect moves and draws: its sprite, its position and target, its speed, scale and heading, and its per-frame callback. More...

Macros

#define EFFECT_NO_TARGET   ((s32)0x80000000)

Typedefs

typedef void(*) EffectCallback(struct EffectSlot *)

Functions

 STATIC_ASSERT (sizeof(struct EffectSlot)==0x48)
 STATIC_ASSERT (offsetof(struct EffectSlot, orbitRadius)==0x3c)
 STATIC_ASSERT (offsetof(struct EffectSlot, state)==0x40)

Detailed Description

Effect slots: the particles Psynergy effects move and draw.

Definition in file effect_slot.h.

Macro Definition Documentation

◆ EFFECT_NO_TARGET

#define EFFECT_NO_TARGET   ((s32)0x80000000)

Typedef Documentation

◆ EffectCallback

typedef void(*) EffectCallback(struct EffectSlot *)

Definition at line 14 of file effect_slot.h.

Function Documentation

◆ STATIC_ASSERT() [1/3]

STATIC_ASSERT ( sizeof(struct EffectSlot) = =0x48)

◆ STATIC_ASSERT() [2/3]

STATIC_ASSERT ( offsetof(struct EffectSlot, orbitRadius) = =0x3c)

◆ STATIC_ASSERT() [3/3]

STATIC_ASSERT ( offsetof(struct EffectSlot, state) = =0x40)