Ragnarok. More...
Go to the source code of this file.
Macros | |
| #define | RAGNAROK_FLASH_CELLS (64 * 128) |
| Where the flash graphics start: after the 64x128 sword image. | |
| #define | RAGNAROK_FRAMES 80 |
| #define | RAGNAROK_COLUMNS 2 |
| columns that strike | |
| #define | RAGNAROK_SEEDED 3 |
| columns given particles; the third is unused | |
| #define | RAGNAROK_FLASHES 16 |
| flashes kept per column | |
| #define | RAGNAROK_RING 12 |
| of which drawn as the ring | |
| #define | RAGNAROK_SPARKS 340 |
| sparks kept per column | |
| #define | RAGNAROK_DRAWN_SPARKS 256 |
| of which flown | |
| #define | RAGNAROK_COLUMN_X(side, column) |
| gRagnarok_StrikeColumns has three columns for each side. | |
Functions | |
| void | BattleFx_RunRagnarok (struct BattleEffectArgument *effect) |
| A huge flaming blade swings down over the targets and two columns of light strike through them. | |
Ragnarok.
Part of effect.c, the battle effect object, compiled only through it.
Definition in file ragnarok.c.
| #define RAGNAROK_FLASH_CELLS (64 * 128) |
Where the flash graphics start: after the 64x128 sword image.
Definition at line 8 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| #define RAGNAROK_FRAMES 80 |
Definition at line 10 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| #define RAGNAROK_COLUMNS 2 |
| #define RAGNAROK_SEEDED 3 |
columns given particles; the third is unused
Definition at line 12 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| #define RAGNAROK_FLASHES 16 |
flashes kept per column
Definition at line 13 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| #define RAGNAROK_RING 12 |
of which drawn as the ring
Definition at line 14 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| #define RAGNAROK_SPARKS 340 |
sparks kept per column
Definition at line 15 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| #define RAGNAROK_DRAWN_SPARKS 256 |
| #define RAGNAROK_COLUMN_X | ( | side, | |
| column ) |
gRagnarok_StrikeColumns has three columns for each side.
Definition at line 19 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().
| void BattleFx_RunRagnarok | ( | struct BattleEffectArgument * | effect | ) |
A huge flaming blade swings down over the targets and two columns of light strike through them.
Abilities: Ragnarok (kind 58).
The sword is drawn for 40 frames: it swings down over 10 frames, pauses until frame 20, then creeps on. The columns flash at frames 16 and 24 and scatter sparks six frames later, as the targets recoil; the battle shows the damage on frame 40. Column x comes from gRagnarok_StrikeColumns: first two of three per side. work->particles holds 16 flashes a column and PARTICLES 340 sparks a column.
Definition at line 33 of file ragnarok.c.
Referenced by BattleFx_RunRagnarok().