Skip to Content
The Alchemy Project

src/battle_effect/battle_effect_nereid.c

The Nereid summon. More…

Included by battle_effect.c.

Macros

NameDescription
#defineNEREID_TICKS 124
#defineNEREID_COLUMNS_TICK 32The columns of water rise among the targets, from the crash to the clatter.
#defineNEREID_COLUMNS_END_TICK 80
#defineNEREID_OBJECTS 12The sprites that draw Nereid on her turtle.
#defineNEREID_COLUMNS 3Wrapping columns of water.
#defineNEREID_DROPS PARTICLE_POOL_COUNTDrops of spray in PARTICLES.
#defineNEREID_COLUMN_PICTURE 1764The column of water in the sprite sheet.
#defineNEREID_WAVES_Y 104The canvas line below which a falling drop has sunk into the waves.
#defineNEREID_UNREAD_FIRST 24Particles given a place and a delay that nothing reads.
#defineNEREID_UNREAD_COUNT 16

Functions

NameDescription
voidbtEffectRunNereid (BATTLE_EFFECT_PARM *args)Nereid rides in on her turtle over rising waves, columns of water and spray rise over the targets, and she bursts away.

Description

The Nereid summon. Part of battle_effect.c.

Macros in detail

NEREID_TICKS

#define NEREID_TICKS 124

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 3 of file battle_effect_nereid.c.

NEREID_COLUMNS_TICK

#define NEREID_COLUMNS_TICK 32

The columns of water rise among the targets, from the crash to the clatter.

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 5 of file battle_effect_nereid.c.

NEREID_COLUMNS_END_TICK

#define NEREID_COLUMNS_END_TICK 80

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 6 of file battle_effect_nereid.c.

NEREID_OBJECTS

#define NEREID_OBJECTS 12

The sprites that draw Nereid on her turtle.

Referenced by btEffectPlaceFormationSprites(), btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 9 of file battle_effect_nereid.c.

NEREID_COLUMNS

#define NEREID_COLUMNS 3

Wrapping columns of water.

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 11 of file battle_effect_nereid.c.

NEREID_DROPS

#define NEREID_DROPS PARTICLE_POOL_COUNT

Drops of spray in PARTICLES.

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 13 of file battle_effect_nereid.c.

NEREID_COLUMN_PICTURE

#define NEREID_COLUMN_PICTURE 1764

The column of water in the sprite sheet.

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 15 of file battle_effect_nereid.c.

NEREID_WAVES_Y

#define NEREID_WAVES_Y 104

The canvas line below which a falling drop has sunk into the waves.

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 17 of file battle_effect_nereid.c.

NEREID_UNREAD_FIRST

#define NEREID_UNREAD_FIRST 24

Particles given a place and a delay that nothing reads.

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 19 of file battle_effect_nereid.c.

NEREID_UNREAD_COUNT

#define NEREID_UNREAD_COUNT 16

Referenced by btEffectRunNereid() and btEffectRunNereidCopy().

Definition at line 20 of file battle_effect_nereid.c.

Functions in detail

btEffectRunNereid

void btEffectRunNereid(BATTLE_EFFECT_PARM *args)

Nereid rides in on her turtle over rising waves, columns of water and spray rise over the targets, and she bursts away. A or B skips ahead to her leaving.

Abilities: Nereid.

References btEffectBuildCanvasBlitters(), btEffectCreateSprites(), btEffectEndCanvasLayer(), btEffectPlaceFormationSprites(), btEffectRunImpactBurst(), btEffectShowLivingTargets(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btObjectGetStub(), btResourceLoadAndDecompress(), fdSpriteDestroyStub(), NereidColumns, NereidGravity, PerWork, Sint32, syCloseEvent(), syCos(), syRandom(), sySin(), sySoundPlayStub() and sySynch().

Referenced by btEffectRunSummon().

Definition at line 27 of file battle_effect_nereid.c.