Alchemy
Loading...
Searching...
No Matches

effect_spawn.h File Reference

Go to the source code of this file.

Macros

#define EFFECT_SPAWN(name, create, set_mode, set_script)

Enumerations

enum  { EFFECT_DEFAULT_TYPE = 222 , EFFECT_OPTION_MASK = 0xffff0000 , EFFECT_SCRIPT_REPEAT_COUNT = 3 }

Functions

void BattleFx_UpdateObjectMotionScaleAndLinkedAngle (union FieldObject *object)
 Integrates linear motion, scale changes and rotation once per effect frame.
static void Effect_InitializeMotion (struct FieldEffect *effect, struct AnimationObject *sprite, struct FieldActor *leader, s32 velocityX, s32 velocityY, s32 velocityZ)
 Starts with linear motion and the leader's draw order; options can override it.

Variables

const s32 * gEffectScripts []

Macro Definition Documentation

◆ EFFECT_SPAWN

#define EFFECT_SPAWN ( name,
create,
set_mode,
set_script )

Definition at line 55 of file effect_spawn.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
EFFECT_DEFAULT_TYPE 
EFFECT_OPTION_MASK 
EFFECT_SCRIPT_REPEAT_COUNT 

Definition at line 27 of file effect_spawn.h.

Function Documentation

◆ BattleFx_UpdateObjectMotionScaleAndLinkedAngle()

void BattleFx_UpdateObjectMotionScaleAndLinkedAngle ( union FieldObject * object)

Integrates linear motion, scale changes and rotation once per effect frame.

Definition at line 13 of file effect_spawn.h.

Referenced by BattleFx_UpdateObjectMotionScaleAndLinkedAngle().

◆ Effect_InitializeMotion()

void Effect_InitializeMotion ( struct FieldEffect * effect,
struct AnimationObject * sprite,
struct FieldActor * leader,
s32 velocityX,
s32 velocityY,
s32 velocityZ )
inlinestatic

Starts with linear motion and the leader's draw order; options can override it.

Definition at line 35 of file effect_spawn.h.

Referenced by Effect_InitializeMotion().

Variable Documentation

◆ gEffectScripts

const s32* gEffectScripts[]
extern

Definition at line 1371 of file babi_lighthouse.c.