src/battle_effect/battle_effect_ramses.c
The Ramses summon. More…
Included by battle_effect.c.
Macros
| Name | Description | |
|---|---|---|
#define | RAMSES_TICKS 320 | |
#define | RAMSES_STRIKE_TICK 260 | the fist strikes the targets |
#define | RAMSES_ROCKS 6 | rocks that fall and bounce |
#define | RAMSES_FIRST_PUFF 6 | the first puff in state->particles |
#define | RAMSES_FIRST_ROCK_PUFF 30 | the first rock puff in state->particles |
#define | RAMSES_SPARKS 512 | sparks of the strike |
#define | RAMSES_STATUE_SPRITES 7 | The statue's own sprites, its fist's two after them, and the rocks' after those. |
#define | RAMSES_FIST_SPRITE RAMSES_STATUE_SPRITES | |
#define | RAMSES_FIRST_ROCK_SPRITE (RAMSES_FIST_SPRITE + 2) | |
#define | RAMSES_PUFF_TICKS 24 | A puff's life: four pictures, six ticks each; a spent one keeps its variant past it. |
#define | RAMSES_PUFFS 56 | Puffs drifted and drawn. |
#define | RAMSES_SLAMS 3 | The fist's three slams, the first on the tick its circling ends, each RAMSES_SLAM_INTERVAL ticks after the last. |
#define | RAMSES_FIRST_SLAM 91 | |
#define | RAMSES_SLAM_INTERVAL 40 |
Functions
| Name | Description | |
|---|---|---|
void | btEffectRunRamses (BATTLE_EFFECT_PARM *args) | In a desert the giant statue of Ramses pounds the ground with its fist while rocks rain down, then launches the fist at the targets, which strikes them in a burst of sparks. |
Variables
| Name | Description | |
|---|---|---|
extern const SPR_SCALE | RamsesUnitScale | one to one |
Description
The Ramses summon. Part of battle_effect.c.
Macros in detail
RAMSES_TICKS
#define RAMSES_TICKS 320
Referenced by btEffectRunRamses().
Definition at line 3 of file battle_effect_ramses.c.
RAMSES_STRIKE_TICK
#define RAMSES_STRIKE_TICK 260
the fist strikes the targets
Referenced by btEffectRunRamses().
Definition at line 4 of file battle_effect_ramses.c.
RAMSES_ROCKS
#define RAMSES_ROCKS 6
rocks that fall and bounce
Referenced by btEffectRunRamses().
Definition at line 5 of file battle_effect_ramses.c.
RAMSES_FIRST_PUFF
#define RAMSES_FIRST_PUFF 6
the first puff in state->particles
Referenced by btEffectRunRamses().
Definition at line 6 of file battle_effect_ramses.c.
RAMSES_FIRST_ROCK_PUFF
#define RAMSES_FIRST_ROCK_PUFF 30
the first rock puff in state->particles
Referenced by btEffectRunRamses().
Definition at line 7 of file battle_effect_ramses.c.
RAMSES_SPARKS
#define RAMSES_SPARKS 512
sparks of the strike
Referenced by btEffectRunRamses().
Definition at line 8 of file battle_effect_ramses.c.
RAMSES_STATUE_SPRITES
#define RAMSES_STATUE_SPRITES 7
The statue's own sprites, its fist's two after them, and the rocks' after those.
Referenced by btEffectRunRamses().
Definition at line 12 of file battle_effect_ramses.c.
RAMSES_FIST_SPRITE
#define RAMSES_FIST_SPRITE RAMSES_STATUE_SPRITES
Referenced by btEffectRunRamses().
Definition at line 13 of file battle_effect_ramses.c.
RAMSES_FIRST_ROCK_SPRITE
#define RAMSES_FIRST_ROCK_SPRITE (RAMSES_FIST_SPRITE + 2)
Referenced by btEffectRunRamses().
Definition at line 14 of file battle_effect_ramses.c.
RAMSES_PUFF_TICKS
#define RAMSES_PUFF_TICKS 24
A puff's life: four pictures, six ticks each; a spent one keeps its variant past it.
Referenced by btEffectRunRamses().
Definition at line 17 of file battle_effect_ramses.c.
RAMSES_PUFFS
#define RAMSES_PUFFS 56
Puffs drifted and drawn.
Referenced by btEffectRunRamses().
Definition at line 19 of file battle_effect_ramses.c.
RAMSES_SLAMS
#define RAMSES_SLAMS 3
The fist's three slams, the first on the tick its circling ends, each
RAMSES_SLAM_INTERVAL ticks after the last.
Referenced by btEffectRunRamses().
Definition at line 22 of file battle_effect_ramses.c.
RAMSES_FIRST_SLAM
#define RAMSES_FIRST_SLAM 91
Referenced by btEffectRunRamses().
Definition at line 23 of file battle_effect_ramses.c.
RAMSES_SLAM_INTERVAL
#define RAMSES_SLAM_INTERVAL 40
Referenced by btEffectRunRamses().
Definition at line 24 of file battle_effect_ramses.c.
Functions in detail
btEffectRunRamses
void btEffectRunRamses(BATTLE_EFFECT_PARM *args)
In a desert the giant statue of Ramses pounds the ground with its fist while rocks rain down, then launches the fist at the targets, which strikes them in a burst of sparks.
Abilities: Ramses.
References BattleEffectMotePictures, btBackgroundLoadStub(), btCameraShake(), btEffectConfigureEffectDisplay(), btEffectCreateSprites(), btEffectSetupBlendedDisplay(), btEffectShowLivingTargets(), btEffectStartCanvasLayer(), btEffectTintBattler(), btEffectTransferCanvas(), btEffectWipeCanvas(), btMotionApplyKnockbackStub(), btParticleAdvanceWithGravity2D(), btResourceLoadAndDecompress(), fdRenderApplyProjectedPlacementStub(), fdSpriteCreateStub(), fdSpriteDestroyStub(), fdSpriteStartAnimationStub(), PerWork, RamsesPuffPictures, RamsesPuffSizes, RamsesStatueColumns, RamsesStatueRows, RamsesUnitScale, Sint32, syCos(), syRandom(), sySetEvent(), sySin(), sySoundPlayStub() and sySynch().
Referenced by btEffectRunSummon().
Definition at line 33 of file battle_effect_ramses.c.