Spire. More...
Go to the source code of this file.
Macros | |
| #define | SPIRE_ROCK_WIDTH 34 |
| the boulder picture, the first in the sheet | |
| #define | SPIRE_ROCK_HEIGHT 62 |
| the boulder picture's height | |
| #define | SPIRE_SHARD_CELLS (SPIRE_ROCK_WIDTH * SPIRE_ROCK_HEIGHT) |
| The shard pictures in the sheet, after the boulder. | |
| #define | SPIRE_SHARDS 21 |
| shards per rock | |
| #define | SPIRE_FALL_FRAMES 18 |
| Frames a boulder falls, from its drop frame (gSpire_DropFrames) until it lands, shakes the screen and strikes the targets. | |
Functions | |
| void | BattleFx_RunSpire (struct BattleEffectArgument *effect) |
| Shattering rocks: boulders drop along the row of targets, centred on it, and burst into tumbling shards, hitting every target as each lands. | |
Spire.
Part of effect.c, the battle effect object, compiled only through it.
Definition in file spire.c.
| #define SPIRE_ROCK_WIDTH 34 |
the boulder picture, the first in the sheet
Definition at line 7 of file spire.c.
Referenced by BattleFx_RunSpire().
| #define SPIRE_ROCK_HEIGHT 62 |
the boulder picture's height
Definition at line 8 of file spire.c.
Referenced by BattleFx_RunSpire().
| #define SPIRE_SHARD_CELLS (SPIRE_ROCK_WIDTH * SPIRE_ROCK_HEIGHT) |
The shard pictures in the sheet, after the boulder.
Definition at line 10 of file spire.c.
Referenced by BattleFx_RunSpire().
| #define SPIRE_SHARDS 21 |
| #define SPIRE_FALL_FRAMES 18 |
Frames a boulder falls, from its drop frame (gSpire_DropFrames) until it lands, shakes the screen and strikes the targets.
Definition at line 14 of file spire.c.
Referenced by BattleFx_RunSpire().
| void BattleFx_RunSpire | ( | struct BattleEffectArgument * | effect | ) |
Shattering rocks: boulders drop along the row of targets, centred on it, and burst into tumbling shards, hitting every target as each lands.
Abilities: Spire, Clay Spire, Stone Spire (kind 2).
effect: the targets; its variant picks the number of boulders (gSpire_RockCounts).
Definition at line 23 of file spire.c.
Referenced by BattleFx_RunSpire().