include/battle_effect/battle_effect_table.h
The tables the battle effects read (battle_effect_table.c), in its order: picture offsets, sizes, timings and counts by variant. More…
Included by battle_effect_internal.h and battle_effect_table.c.
Macros
| Name | Description | |
|---|---|---|
#define | STRIKE_KIND_SLASH 0 | The two kinds of target strike (TargetStrikeStyles). |
#define | STRIKE_KIND_BITE 1 | rows of fangs above and below that close on it |
#define | STRIKE_SMOKE 0x01 | A target strike style's extras, the bits of its TARGET_STRIKE_FLAGS. |
#define | STRIKE_ABSORB 0x02 | motes fly out of the target and back into the user |
#define | STRIKE_GLINTS 0x04 | glints sparkle around the target |
#define | STRIKE_SPARKS 0x08 | each hit scatters sparks |
#define | STRIKE_HEAVY 0x10 | one heavy hit: a big shake and the target recoils |
#define | STRIKE_COLOR_BLUE 0 | The palettes a target strike's background takes (TARGET_STRIKE_COLOR). |
#define | STRIKE_COLOR_LIME 1 | LimePalette |
#define | STRIKE_COLOR_PINK 2 | PinkPalette |
#define | STRIKE_COLOR_EMBER 3 | EmberStreakSheet's |
#define | STRIKE_COLOR_MARS 4 | MarsDjinnSheet's |
#define | STRIKE_COLOR_LIGHTNING 5 | LightningBoltSheet's |
#define | THORN_MIRRORED 0x01 | The bits of a thorn's kind in ThornKinds. |
#define | THORN_SMALL 0x02 | 32 pixels wide, not 48 |
Enumerations
| Name | Description | |
|---|---|---|
enum | TARGET_STRIKE_STYLE { TARGET_STRIKE_STYLE_BLUE_SPARK_BITES, TARGET_STRIKE_STYLE_LI … } | The twelve target strike styles, rows of TargetStrikeStyles. |
enum | anonymous enum { ICE_SHARD_COUNT, ICE_TICKS } | Each Ice variant: its shards and how many ticks it runs. |
enum | anonymous enum { DOUSE_DROP_COUNT, DOUSE_DROPLETS_PER_DROP, DOUSE_DROP_SPACIN … } | Each Douse variant: its drops, the droplets each splash throws, the spacing and the ticks. |
enum | anonymous enum { GATHERING_LIGHTS_COUNT, GATHERING_LIGHTS_TICKS } | Each gathering-lights mode: the lights per target and the ticks before the targets' turns. |
enum | GATHERING_LIGHTS_MODE { GATHERING_LIGHTS_DEMON_NIGHT, GATHERING_LIGHTS_RUMBLE, GATHE … } | The gathering lights' modes (btEffectRunGatheringLights), each named for the effect that plays it, and its row of GatheringLightsCounts. |
enum | anonymous enum { LOBBED_SHELLS_STYLE_SHATTER, LOBBED_SHELLS_STYLE_UNUSED } | Each lobbed shells mode's style (LOBBED_SHELLS_MODE, battle_effect_lobbed_shells.c). |
enum | anonymous enum { NEREID_COLUMN_X, NEREID_COLUMN_Y } | The foot of each of Nereid's columns of fire. |
enum | anonymous enum { FROTH_BUBBLE_COUNT, FROTH_TICKS } | Each Froth variant: its bubbles and ticks. |
enum | anonymous enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE } | Each Whirlwind variant: its tornadoes, their sway and the screen shake. |
enum | anonymous enum { PRISM_SHARD_START_X, PRISM_SHARD_START_Y } | Where each Prism shard starts in the crystal. |
enum | anonymous enum { PRISM_CRYSTAL_COUNT, PRISM_TICKS } | Each Prism variant: its crystals and ticks. |
enum | anonymous enum { PLASMA_SPARKS, PLASMA_SHAKE_TICKS } | Each Plasma variant: the sparks per pillar and the ticks of shake. |
enum | anonymous enum { SPARK_GROUPS_SPARKS, SPARK_GROUPS_BURSTS, SPARK_GROUPS_OFFSE … } | Each spark group variant: sparks per burst, bursts, and from SPARK_GROUPS_OFFSET each burst's offset across. |
enum | anonymous enum { SPARK_GROUPS_SEVERE_BLOW, SPARK_GROUPS_THRASH } | The spark groups' variants past the three strengths of Blast and Dynamite (EFFECT_VARIANT), which their callers set before the run. |
enum | anonymous enum { CYBELE_POSE_FACE_LEFT, CYBELE_POSE_FACE_RIGHT } | Cybele's face as she spits the thorns: the animations of sprites 3 and 4, the left and right halves of the middle row of SUMMON_FORMATION_CYBELE, as the cast's recording shows them. |
enum | anonymous enum { FROST_MOUND_X, FROST_MOUND_FOOT } | Where each ice mound of Frost stands: x and the y of its foot. |
enum | PROJECTILE_VOLLEY_COMET { PROJECTILE_VOLLEY_COMET_SLASH, PROJECTILE_VOLLEY_COMET_WIND_ … } | The volley's three comet sheets: Slash, Wind Slash and Sonic Slash fire the one their variant picks. |
enum | PROJECTILE_VOLLEY_MODE { PROJECTILE_VOLLEY_SLASH, PROJECTILE_VOLLEY_SHURIKEN, PROJECT … } | The projectile volley's modes (btEffectRunProjectileVolley), each named for the effect that fires it; the casting impacts fire two of them. |
enum | anonymous enum { SPIRE_SHARD_X, SPIRE_SHARD_Y } | Where each Spire shard starts, before its rock's offset across. |
enum | FLURRY_MODE { FLURRY_BEAR_CLAW, FLURRY_BACTERIA_RUSH, FLURRY_FREEBITE_RUSH … } | The flurry's modes (btEffectRunFlurry), its rows of FlurryStyles: Gust and Flying Attack take one, two or three strikes as a double or triple blow raises their variant. |
enum | FLURRY_ARC { FLURRY_ARCS_AND_WAVES, FLURRY_ARCS } | A flurry's arcs, its FLURRY_ARC_SHEET. |
enum | FLURRY_PAL { FLURRY_PALETTE_MARS_DJINNI, FLURRY_PALETTE_LIME, FLURRY_PALE … } | Whose palette a flurry takes, its FLURRY_PALETTE. |
Variables
| Name | Description | |
|---|---|---|
extern Uint16 | BattleEffectMotePictures [] | Where each picture begins in the sprite sheets many effects share: the ten motes and twenty flares of a glow sheet, the nine sparkles, the six flame puffs (size, drop and offset) and the six glints (offset and size). |
extern Uint16 | BattleEffectFlarePictures [] | Flare pictures: the first ten are squares 2x2 to 20x20, picture n (from 0) n + 1 pixels from its centre to each edge (EFFECT_DRAW_FLARE, and Neptune and Bind directly). |
extern Uint16 | BattleEffectSparklePictures [] | Nine square sparkle pictures (sparkle_dots_00 to _08), read by the falling, frost, healing, Djinni heal and Boreas parts. |
extern Uint8 | BattleEffectSparkleSizes [] | Each sparkle picture's side. |
extern Uint8 | BattleEffectPuffArcPictureWidths [] | The six pictures of an erupting flame puff: width, height, how far below its anchor its top goes (so that all six stand on about the same line) and where each begins in the sprite sheet. |
extern Uint8 | BattleEffectPuffArcPictureHeights [] | |
extern Uint8 | BattleEffectPuffArcPictureBiasY [] | |
extern Uint16 | BattleEffectPuffArcPictures [] | |
extern Uint16 | BattleEffectGlintPictures [] | Six glint pictures, each BattleEffectGlintPictureWidths by BattleEffectGlintPictureHeights pixels. |
extern Uint8 | BattleEffectGlintPictureWidths [] | |
extern Uint8 | BattleEffectGlintPictureHeights [] | |
extern Uint8 | IceCounts [][2] | Ice, by variant: shards and ticks (ICE_SHARD_COUNT, ICE_TICKS). |
extern Uint8 | DouseCounts [][4] | Douse, by variant: the DOUSE_ columns. |
extern Sint8 | StreakStyles [][4] | Each streak style's effect, hit, motion and shake, and the pixels a struck target trembles by, tick by tick. |
extern Sint8 | StreakTremble [] | Pixels the target trembles by, tick by tick. |
extern Uint8 | TargetStrikeStyles [][7] | The target strike: its twelve styles by the TARGET_STRIKE_ columns, the six slash pictures (size, offset and reach), the fang stage of each picture of a bite, and the flips a glint may take. |
extern Uint8 | TargetStrikeWidths [] | The six slash pictures: size, sprite sheet offset and reach from the target. |
extern Uint8 | TargetStrikeHeights [] | |
extern Uint16 | TargetStrikePictures [] | |
extern Uint8 | TargetStrikeReach [] | |
extern Uint8 | TargetStrikeBiteStages [] | The fang stage drawn at each picture time of a bite, four to a hit: the first hit closes through stages 0 to 3, and each later hit reads entries 4, 1, 2 and 3 (pictures above 4 wrap back by 4), opening to 2 and 1 and closing again to 3. |
extern Uint8 | TargetStrikeGlintDrawFlags [] | The flips a glint may be drawn in. |
extern Uint8 | BladeRainSwordWidths [] | The blade rain's four sword pictures, by how steeply the sword falls. |
extern Uint8 | BladeRainSwordHeights [] | |
extern Uint16 | BladeRainSwordPictures [] | |
extern Uint8 | ShatteringOpeningPieceWidths [] | The 33 pieces the shattering opening's picture breaks into: size, offset in the picture and where each starts on the canvas. |
extern Uint8 | ShatteringOpeningPieceHeights [] | |
extern Uint16 | ShatteringOpeningPiecePictures [] | |
extern Uint8 | ShatteringOpeningPieceStartX [] | |
extern Uint8 | ShatteringOpeningPieceStartY [] | |
extern Sint8 | ElementBurstSparkX [] | The element burst's four corner sparks: offsets and flips. |
extern Sint8 | ElementBurstSparkY [] | |
extern Uint8 | ElementBurstSparkFlips [] | |
extern Uint8 | SwirlSwipePictureWidths [] | The swirl swipe's six pictures (Spider Web): size, offset, an x for each side and a y offset. |
extern Uint8 | SwirlSwipePictureHeights [] | |
extern Uint16 | SwirlSwipePictures [] | |
extern Uint8 | SwirlSwipePictureX [] | |
extern Sint8 | SwirlSwipePictureBiasY [] | |
extern Uint8 | GatheringLightsCounts [][2] | Gathering lights, by mode (GATHERING_LIGHTS_MODE): the lights per target and the ticks before the targets' turns. |
extern Uint16 | MirroredWallPictures [] | The earth wall's three pictures, as the mirrored wall reads them. |
extern Uint8 | MirroredWallPictureWidths [] | |
extern Uint8 | MirroredWallPictureHeights [] | |
extern Uint8 | DjinnBeamsMotePictures [] | Revive's beams: the mote picture of each step of its eight-step cycle, and the three pictures of the glow at a target's feet. |
extern Uint16 | DjinnBeamsHeadPictures [] | The three pictures of the glow at a target's feet. |
extern Uint8 | DjinnBeamsHeadWidths [] | |
extern Uint8 | DjinnBeamsHeadHeights [] | |
extern Sint8 | LobbedShellsStyles [][2] | Each lobbed shell style (LOBBED_SHELLS_MODE, battle_effect_lobbed_shells.c): the LOBBED_SHELLS_STYLE_ columns. |
extern Uint8 | LobbedShellsShardWidths [] | The eighteen pictures of the lobbed shells' tumbling shards, a large set of nine and a small one. |
extern Uint8 | LobbedShellsShardHeights [] | |
extern Uint16 | LobbedShellsShardPictures [] | |
extern Uint8 | CondemnPictureX [][7] | Where Condemn draws the reaper's seven pictures: an x for each casting side, and a y. |
extern Uint8 | CondemnPictureY [][7] | |
extern VECTOR3 | BindVertex [] | The first vertex of Bind's spinning and striking triangles, 24 pixels up from the centre. |
extern VECTOR3 | BindTriangleStrikeVertex [] | The striking triangle's first vertex, the same. |
extern VECTOR3 | StarPoints [] | The stars' two points, 48 and 28 pixels up, and their radii. |
extern Uint8 | StarRadii [] | |
extern Uint8 | ProcneGridX [] | Procne's nine sprites on a 3x3 grid, the ticks of its four strikes, and its three comet pictures (size, lift and offset). |
extern Uint8 | ProcneGridY [] | |
extern Uint16 | ProcneTicks [] | |
extern Uint8 | ProcnePictureWidths [] | |
extern Uint8 | ProcnePictureHeights [] | |
extern Uint8 | ProcnePictureBiasY [] | |
extern Uint16 | ProcnePictures [] | |
extern Uint8 | TiamatEmberSpeeds [] | Tiamat's embers (speed and size by ember index & 3), its sparks' 1x2 picture, and the six flame pictures (size, drop and offset). |
extern Uint8 | TiamatSparkPixels [] | A spark's 1x2 picture, drawn additively, so a spark adds 32 of the ramp's 63 levels to what it covers. |
extern Uint8 | TiamatEmberSizes [] | Ember sizes, by ember index & 3: mote pictures 1x2, 1x2, 2x4 and 3x6. |
extern Uint8 | TiamatFlameWidths [] | The six flame pictures: size, drop below the flame and sprite sheet offset. |
extern Uint8 | TiamatFlameHeights [] | |
extern Uint8 | TiamatFlameDrops [] | |
extern Uint16 | TiamatFlamePictures [] | |
extern Uint8 | NereidColumns [][2] | Nereid's four columns of water (NEREID_COLUMN_X, NEREID_COLUMN_Y), drawn from the fire pillar picture in the water spray's colours. |
extern Sint32 | NereidGravity [] | A falling drop's gravity in 16.16 pixels a tick each tick, by drop index & 3. |
extern Uint8 | VorticesCounts [][2] | Froth, by variant: motes and ticks. |
extern Uint8 | VorticesShapes [][3] | Whirlwind, by variant: the WHIRLWIND_ columns. |
extern Uint8 | PrismShardStarts [][2] | Where each of the 16 shards starts in the crystal: x, then y. |
extern Uint8 | PrismCounts [][2] | Prism, by variant: crystals and ticks. |
extern Uint8 | PrismShardWidths [] | The twelve pictures of Prism's shards. |
extern Uint8 | PrismShardHeights [] | |
extern Sint32 | PrismShardPictures [] | |
extern Uint16 | PlasmaSparks [][2] | Plasma, by variant: sparks per pillar and shake ticks. |
extern Uint8 | PlasmaColumns [][7] | Each Plasma pillar's canvas x, seven for each side, and how many strike by variant. |
extern Uint8 | PlasmaCounts [] | How many pillars strike, by variant. |
extern Uint16 | SparkGroupsShapes [][5] | The spark groups, by variant: the SPARK_GROUPS_ columns. |
extern Uint8 | PlasmaFlashPictures [] | The flash picture for each three ticks at the end of a flash's life. |
extern Uint8 | VolcanoCounts [] | Volcano's fire pillars by variant: how many stand, the depth of each and the tick each starts. |
extern Sint8 | VolcanoDepths [][4] | Each pillar's depth in pixels, by variant. |
extern Uint8 | VolcanoStartTicks [] | The tick each pillar starts. |
extern Uint8 | TargetMotesGlintFlips [] | The flips a glint around a target may take. |
extern Uint8 | CybeleObjectPoses [][2] | The poses of the two halves of Cybele's face, three pairs, by CYBELE_POSE_FACE_LEFT and _RIGHT. |
extern Uint16 | CybeleThornPictures [] | Cybele's pictures, each by offset and size: the five thorns, the three flowers, the five chips (the thorns again), the five of a spark and the seven of the blast sheet, of which she draws only the last. |
extern Uint8 | CybeleThornWidths [] | |
extern Uint8 | CybeleThornHeights [] | |
extern Uint16 | CybeleFlowerPictures [] | The three flower pictures, square. |
extern Uint8 | CybeleFlowerSizes [] | |
extern Uint16 | CybeleChipPictures [] | The five chip pictures, the thorn pictures again. |
extern Uint8 | CybeleChipWidths [] | |
extern Uint8 | CybeleChipHeights [] | |
extern Uint16 | CybeleSparkPictures [] | The five pictures of a spark, square. |
extern Uint8 | CybeleSparkSizes [] | |
extern Uint16 | CybeleBlastPictures [] | The seven growing pictures of the blast sprite sheet, square. |
extern Uint16 | CybeleBlastSizes [] | |
extern Uint8 | BoreasPoints [][2] | Boreas: where the crystals stand, the background's jolt as the ice block lands, its third sprite's animations as the block sinks, and the pictures of the crystals, the shards thrown as they crumble, the spray, the crystals that rise among the targets and those that fall. |
extern Sint8 | BoreasShakeOffsets [] | The battle background's jolt on ticks 176 to 179. |
extern Uint16 | BoreasCrystalPictures [] | The first half's three crystal pictures, drawn standing on their points. |
extern Uint8 | BoreasCrystalWidths [] | |
extern Uint8 | BoreasCrystalHeights [] | |
extern Uint8 | BoreasAnimations [] | The third sprite's animations from tick 209, one every 4 ticks. |
extern Uint8 | BoreasDebrisWidths [] | Boreas: the shards thrown up as the crystals crumble: four large ones, then from tick 192 seven small ones. |
extern Uint8 | BoreasDebrisHeights [] | |
extern Uint16 | BoreasDebrisPictures [] | |
extern Uint8 | BoreasSprayWidths [] | Boreas: the three 16x16 spray pictures. |
extern Uint8 | BoreasSprayHeights [] | |
extern Uint16 | BoreasSprayPictures [] | |
extern Uint16 | BoreasRisingCrystalPictures [] | The second half's rising crystals (56 pixels left of the first half's points) and the crystals they burst into: the same three pictures. |
extern Uint8 | BoreasRisingCrystalWidths [] | |
extern Uint8 | BoreasRisingCrystalHeights [] | |
extern Uint8 | BoreasFallWidths [] | |
extern Uint8 | BoreasFallHeights [] | |
extern Uint16 | BoreasFallPictures [] | |
extern Sint32 | DrainGravities [] | The gravity of Drain's ice shards, by shard index & 3. |
extern Uint16 | StatChangeShardPictures [] | The twelve pictures of the stat changes' shards: four shapes, three ticks each. |
extern Uint8 | StatChangeShardWidths [] | |
extern Uint8 | StatChangeShardHeights [] | |
extern Uint8 | QuakeTimings [][3] | Each Quake variant: the effect's ticks, each pillar's and the shake. |
extern Uint8 | FireCounts [] | Fire's embers by variant, and the six pictures of its impact flare. |
extern Uint8 | FireFlareWidths [] | The six impact flare pictures: sizes, y offsets and where each begins. |
extern Uint8 | FireFlareHeights [] | |
extern Uint8 | FireFlareBiasY [] | |
extern Uint16 | FireFlarePictures [] | |
extern Uint8 | FrostMoundSpots [][2] | Where each ice mound stands: x, then the y of its foot. |
extern Uint8 | FrostTimings [][3] | Frost: its motes, mounds and burst tick by variant, and the pictures of its motes, its three ice mounds and its chips (the motes again). |
extern Uint8 | FrostMoteWidths [] | The eight mote pictures. |
extern Uint8 | FrostMoteHeights [] | |
extern Uint16 | FrostMotePictures [] | |
extern Uint16 | FrostMoundPictures [] | The three ice mound pictures, 32 wide. |
extern Uint8 | FrostMoundHeights [] | |
extern Uint8 | FrostChipWidths [] | The eight chip pictures (the same as the motes). |
extern Uint8 | FrostChipHeights [] | |
extern Uint16 | FrostChipPictures [] | |
extern Uint8 | RaySparks [][2] | Ray's sparks by variant; [1] is how many each bolt throws a tick. |
extern Uint8 | EruptionCounts [][3] | Eruption's motes, puffs and ticks by variant, and its seven puff pictures. |
extern Uint16 | EruptionPuffPictures [] | The seven puff pictures, square. |
extern Uint16 | EruptionPuffSizes [] | |
extern Uint16 | UnusedSheetPicturesShort [] | Unused: picture layouts nothing reads, from 6x6 to 20x20. |
extern Uint16 | UnusedSheetPictures [] | |
extern Uint8 | UnusedSheetWidths [] | |
extern Uint8 | UnusedSheetHeights [] | |
extern SPR_SCALE | AtalantaUnitScale | The scale Atalanta's sprites keep throughout, one to one. |
extern Uint8 | GrowthVineWidths [] | Growth's columns: the three shapes' vine and pillar pictures and height caps, the columns by variant, their roots and the pillars' heights, and the seven pictures of a puff of dust. |
extern Uint8 | GrowthHeightLimits [] | |
extern Uint16 | GrowthVinePictures [] | |
extern Uint8 | GrowthPillarWidths [] | |
extern Uint16 | GrowthPillarPictures [] | |
extern Uint8 | GrowthColumnCounts [] | Columns by variant, and where each column's root stands. |
extern Uint8 | GrowthColumnX [] | |
extern Sint8 | GrowthPillarHeights [] | |
extern Sint8 | GrowthPuffWidths [] | The seven pictures of a puff of dust. |
extern Uint8 | GrowthPuffHeights [] | |
extern Uint16 | GrowthPuffPictures [] | |
extern Sint8 | VineColumnOffsets [] | Each of Vine's roots, across from the middle of the targets. |
extern Uint8 | ThornKinds [] | Thorn: each thorn's kind and root, the thorns by variant, and the seven pictures of a puff of dust. |
extern Sint8 | ThornX [] | |
extern Uint8 | ThornCounts [] | Thorns by variant. |
extern Sint8 | ThornPuffWidths [] | The seven pictures of a puff of dust. |
extern Uint8 | ThornPuffHeights [] | |
extern Uint16 | ThornPuffPictures [] | |
extern Uint8 | BoltCounts [][4] | Bolt by variant (sparks, glints, their spread and bolts), the flips a glint may take, and the glints' blend mode by variant. |
extern Uint8 | BoltGlintFlips [] | The flips a glint may be drawn in, and its blend by variant. |
extern Uint8 | BoltGlintModes [] | The glints' blend mode by variant: the brighter pixel wins for Bolt and Flash Bolt, and Blue Bolt adds the glint to the canvas. |
extern Uint8 | ProjectileVolleyCometHeights [] | Each comet's picture height. |
extern Uint8 | ProjectileVolleyModes [][5] | Each projectile volley mode by its columns, the seven pictures of the hit flash (size, step, rise and offset), and the four ice chip pictures. |
extern Uint8 | ProjectileVolleyFlashWidths [] | Hit flash pictures, by step (flash tick / 2). |
extern Uint8 | ProjectileVolleyFlashHeights [] | |
extern Uint8 | ProjectileVolleyFlashSteps [] | |
extern Uint8 | ProjectileVolleyFlashRises [] | |
extern Uint16 | ProjectileVolleyFlashPictures [] | |
extern Uint16 | ProjectileVolleyPelletPictures [] | Ice chip pictures, by shot index & 3. |
extern Uint8 | DjinnAttacksLaunchTicks [] | The ticks on which the Mercury Djinni fires each of its five flames. |
extern Uint8 | HailPictureWidths [] | Hail's four 8x8 ice chip pictures. |
extern Uint8 | HailPictureHeights [] | |
extern Uint16 | HailPictures [] | |
extern Uint8 | GroundCrackleFlips [] | Ground: the flips a crackle may take, and the portal's nine pictures (the portal, its white core and its crackles) by size, offset and place. |
extern Uint8 | GroundPortalWidths [] | The portal (picture 0), its white core (1 and 2) and its crackles (3 to 8) in the portal sprite sheet: size, where each begins in the sprite sheet, and its offset from the portal's corner. |
extern Uint8 | GroundPortalHeights [] | |
extern Uint16 | GroundPortalPictures [] | |
extern Uint8 | GroundPortalX [] | |
extern Uint8 | GroundPortalY [] | |
extern Uint8 | ThorTargetPalettes [] | The colours a target flashes when Thor's bolt strikes it, and the flips of the crackles around Thor. |
extern Uint8 | ThorCrackleFlips [] | Flip flags for the crackles of lightning around Thor, chosen at random. |
extern Uint8 | SpireShardOffsets [][2] | Where each of a rock's 21 shards starts, x then y, before the rock's offset across. |
extern Sint8 | SpireRockX [] | Spire: each rock's offset across and the tick it appears, the rocks by variant, and its shards' fifteen pictures. |
extern Uint8 | SpireDropTicks [] | |
extern Uint8 | SpireRockCounts [] | |
extern Uint8 | SpireShardWidths [] | Shattering rocks: five shard shapes in three tumbling phases each, decoded after the boulder picture. |
extern Uint8 | SpireShardHeights [] | |
extern Uint16 | SpireShardPictures [] | |
extern Uint8 | FlurryStyles [][7] | Each flurry mode (FLURRY_MODE), by the FLURRY_ columns (battle_effect_flurry.c). |
extern Uint16 | GaiaRowPictures [] | Gaia's rising wall: its nine rows, the three flames at its foot, BG2's shift by side and variant, and the columns of the late rocks. |
extern Uint8 | GaiaRowWidths [] | |
extern Uint16 | GaiaFlamePictures [] | The three pictures of the flames at the wall's foot, after the rebuilt rows; they share the earth wall's sizes. |
extern Uint8 | GaiaFlameWidths [] | |
extern Uint8 | GaiaFlameHeights [] | |
extern Sint8 | GaiaBg2Shifts [][3] | BG2's x shift, by side and variant, in canvas pixels written to BG2X: a positive shift moves the canvas left on the screen. |
extern Uint8 | GaiaLateRockColumns [] | The columns rock particles[16] to particles[21] take. |
extern Uint8 | BeamPictureWidths [] | The six pictures of the growing beam, and how far each reaches short of the user. |
extern Uint8 | BeamPictureHeights [] | |
extern Uint16 | BeamPictures [] | |
extern Uint8 | BeamPictureReaches [] | |
extern Uint8 | CastingImpactGlintDrawFlags [] | The casting impacts: the flips a glint may take, where Mortal Danger draws the reaper's pictures, and the four ice chip pictures. |
extern Uint8 | ReaperPictureX [][7] | |
extern Uint8 | ReaperPictureY [] | |
extern Uint16 | CastingImpactIceChipPictures [] | The four ice chip pictures, 8x8. |
extern Uint8 | HelmSplitterPictureWidths [] | The seven pictures of Helm Splitter's fire swirl, and where each sits from the user. |
extern Uint8 | HelmSplitterPictureHeights [] | |
extern Uint16 | HelmSplitterPictures [] | |
extern Sint8 | HelmSplitterPictureBiasX [] | |
extern Sint8 | HelmSplitterPictureBiasY [] | |
extern Uint8 | SummonFormationNereidX [] | Where the sprites of a summon's formation stand, in pixels, one axis at a time (btEffectPlaceFormationSprites). |
extern Uint8 | SummonFormationNereidZ [] | |
extern Uint8 | SummonFormationCybeleX [] | |
extern Uint8 | SummonFormationCybeleZ [] | |
extern Uint8 | SummonFormationTiamatX [] | |
extern Uint8 | SummonFormationTiamatZ [] | |
extern Uint8 | ImpactBurstPictureWidths [] | The eight pictures of the impact flash. |
extern Uint8 | ImpactBurstPictureHeights [] | |
extern Uint16 | ImpactBurstPictures [] | |
extern Sint16 | StarfieldFallOrbitPoints [][3] | The starfield fall: the seven sparks that orbit the falling sprite, where the seven fireballs fall, and the blast sheet's seven flash pictures. |
extern Sint16 | StarfieldFallFireballPoints [][2] | Where the seven fireballs fall, in pixels. |
extern Uint16 | StarfieldFallFlashPictures [] | The seven growing flash pictures of the blast sprite sheet, square. |
extern Uint16 | StarfieldFallFlashSizes [] | |
extern Uint8 | RamsesStatueColumns [] | Where Ramses's sprites stand from the statue's corner, and the blast sheet's puff pictures. |
extern Uint8 | RamsesStatueRows [] | |
extern Uint16 | RamsesPuffPictures [] | The puff pictures of the blast sprite sheet, square; only the last four are used. |
extern Uint16 | RamsesPuffSizes [] | |
extern Uint8 | RagnarokStrikeColumns [][3] | Ragnarok's strike columns, three for each side, and the flash picture for each three ticks at the end of a flash's life. |
extern Uint8 | RagnarokFlashPictures [] | The flash picture for each three ticks at the end of a flash's life. |
extern Uint8 | TitanBladeFlashPictures [] | Titan Blade's fading flash pictures and its dust's gravity. |
extern Sint32 | TitanBladeDustGravity [] | Dust gravity, by particle index & 3, in NereidGravity's steps. |
extern Uint8 | JudgmentBurstHeights [] | Judgment: its burst's seven quarter pictures (height and offset), and the six shards thrown from it. |
extern Uint16 | JudgmentBurstPictures [] | |
extern Uint16 | JudgmentShardPictures [] | The six shard pictures thrown from the burst, from the sprite sheet's start. |
extern Uint8 | JudgmentShardWidths [] | |
extern Uint8 | JudgmentShardHeights [] | |
extern Uint8 | KirinColumns [] | Where Kirin's nine sprites stand, in pixels from its corner. |
extern Uint8 | KirinRows [] | |
extern Uint8 | NeptuneObjectX [] | Neptune's eight sprites, offsets in pixels scaled by 1.5 as placed, and its spray's gravity by particle index & 3. |
extern Uint8 | NeptuneObjectY [] | |
extern Sint32 | NeptuneGravity [] | Spray gravity, by particle index & 3, in NereidGravity's steps. |
extern Uint16 | UndeadSwordPuffPictures [] | The seven square pictures of Undead Sword's puffs. |
extern Uint16 | UndeadSwordPuffSizes [] |
Description
The tables the battle effects read (battle_effect_table.c), in its order:
picture offsets, sizes, timings and counts by variant. A table read by
columns is a two-dimensional array, its columns named by the enum above it.
Macros in detail
STRIKE_KIND_SLASH
#define STRIKE_KIND_SLASH 0
The two kinds of target strike (TargetStrikeStyles).
sideways slashes
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 13 of file battle_effect_table.h.
STRIKE_KIND_BITE
#define STRIKE_KIND_BITE 1
rows of fangs above and below that close on it
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 14 of file battle_effect_table.h.
STRIKE_SMOKE
#define STRIKE_SMOKE 0x01
A target strike style's extras, the bits of its TARGET_STRIKE_FLAGS.
each hit raises smoke puffs from the target's feet
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 17 of file battle_effect_table.h.
STRIKE_ABSORB
#define STRIKE_ABSORB 0x02
motes fly out of the target and back into the user
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 18 of file battle_effect_table.h.
STRIKE_GLINTS
#define STRIKE_GLINTS 0x04
glints sparkle around the target
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 19 of file battle_effect_table.h.
STRIKE_SPARKS
#define STRIKE_SPARKS 0x08
each hit scatters sparks
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 20 of file battle_effect_table.h.
STRIKE_HEAVY
#define STRIKE_HEAVY 0x10
one heavy hit: a big shake and the target recoils
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 21 of file battle_effect_table.h.
STRIKE_COLOR_BLUE
#define STRIKE_COLOR_BLUE 0
The palettes a target strike's background takes (TARGET_STRIKE_COLOR).
BlueBeamSheet's
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 24 of file battle_effect_table.h.
STRIKE_COLOR_LIME
#define STRIKE_COLOR_LIME 1
LimePalette
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 25 of file battle_effect_table.h.
STRIKE_COLOR_PINK
#define STRIKE_COLOR_PINK 2
PinkPalette
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 26 of file battle_effect_table.h.
STRIKE_COLOR_EMBER
#define STRIKE_COLOR_EMBER 3
EmberStreakSheet's
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 27 of file battle_effect_table.h.
STRIKE_COLOR_MARS
#define STRIKE_COLOR_MARS 4
MarsDjinnSheet's
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 28 of file battle_effect_table.h.
STRIKE_COLOR_LIGHTNING
#define STRIKE_COLOR_LIGHTNING 5
LightningBoltSheet's
Referenced by btEffectRunTargetStrike() and TargetStrikeStyles.
Definition at line 29 of file battle_effect_table.h.
THORN_MIRRORED
#define THORN_MIRRORED 0x01
The bits of a thorn's kind in ThornKinds.
drawn mirrored across
Referenced by btEffectRunThorn() and ThornKinds.
Definition at line 409 of file battle_effect_table.h.
THORN_SMALL
#define THORN_SMALL 0x02
32 pixels wide, not 48
Referenced by btEffectRunThorn() and ThornKinds.
Definition at line 410 of file battle_effect_table.h.
Enumerations in detail
TARGET_STRIKE_STYLE
enum TARGET_STRIKE_STYLE
The twelve target strike styles, rows of TargetStrikeStyles.
| Enumerator | Value | Description |
|---|---|---|
TARGET_STRIKE_STYLE_BLUE_SPARK_BITES | ||
TARGET_STRIKE_STYLE_LIME_SMOKE_BITE | ||
TARGET_STRIKE_STYLE_PINK_SMOKE_BITES | ||
TARGET_STRIKE_STYLE_EMBER_DRAIN_BITES | ||
TARGET_STRIKE_STYLE_MARS_DRAIN_BITES | ||
TARGET_STRIKE_STYLE_LIGHTNING_GLINT_BITES | ||
TARGET_STRIKE_STYLE_LIGHTNING_GLINT_SLASH | ||
TARGET_STRIKE_STYLE_LIGHTNING_SPARK_SLASHES | ||
TARGET_STRIKE_STYLE_MARS_HEAVY_SLASH | ||
TARGET_STRIKE_STYLE_LIME_SMOKE_SLASH | ||
TARGET_STRIKE_STYLE_MARS_SMOKE_BITE | ||
TARGET_STRIKE_STYLE_MARS_ADDITIVE_DRAIN_BITES |
Definition at line 32 of file battle_effect_table.h.
anonymous enum
enum { ICE_SHARD_COUNT, ICE_TICKS }
Each Ice variant: its shards and how many ticks it runs.
| Enumerator | Value | Description |
|---|---|---|
ICE_SHARD_COUNT | shards that fall | |
ICE_TICKS | the effect's ticks; the damage shows 16 before |
Definition at line 64 of file battle_effect_table.h.
anonymous enum
enum { DOUSE_DROP_COUNT, DOUSE_DROPLETS_PER_DROP, DOUSE_DROP_SPACING, DOUSE_TICKS }
Each Douse variant: its drops, the droplets each splash throws, the spacing and the ticks.
| Enumerator | Value | Description |
|---|---|---|
DOUSE_DROP_COUNT | drops that fall, of the 64 placed | |
DOUSE_DROPLETS_PER_DROP | droplets each landing drop throws up | |
DOUSE_DROP_SPACING | pixels between drops along the slant | |
DOUSE_TICKS | the effect's ticks; the damage shows 64 before |
Definition at line 74 of file battle_effect_table.h.
anonymous enum
enum { GATHERING_LIGHTS_COUNT, GATHERING_LIGHTS_TICKS }
Each gathering-lights mode: the lights per target and the ticks before the targets' turns.
| Enumerator | Value | Description |
|---|---|---|
GATHERING_LIGHTS_COUNT | lights for each target | |
GATHERING_LIGHTS_TICKS | ticks before the targets' turns |
Definition at line 123 of file battle_effect_table.h.
GATHERING_LIGHTS_MODE
enum GATHERING_LIGHTS_MODE
The gathering lights' modes (btEffectRunGatheringLights), each named for the
effect that plays it, and its row of GatheringLightsCounts.
| Enumerator | Value | Description |
|---|---|---|
GATHERING_LIGHTS_DEMON_NIGHT | pink | |
GATHERING_LIGHTS_RUMBLE | Mars Djinn colours | |
GATHERING_LIGHTS_HAUNTING | Mercury Djinn colours |
Definition at line 131 of file battle_effect_table.h.
anonymous enum
enum { LOBBED_SHELLS_STYLE_SHATTER, LOBBED_SHELLS_STYLE_UNUSED }
Each lobbed shells mode's style (LOBBED_SHELLS_MODE,
battle_effect_lobbed_shells.c).
| Enumerator | Value | Description |
|---|---|---|
LOBBED_SHELLS_STYLE_SHATTER | nonzero: the shells burst into shards, not smoke | |
LOBBED_SHELLS_STYLE_UNUSED | 0 in every row; nothing reads it |
Definition at line 153 of file battle_effect_table.h.
anonymous enum
enum { NEREID_COLUMN_X, NEREID_COLUMN_Y }
The foot of each of Nereid's columns of fire.
| Enumerator | Value | Description |
|---|---|---|
NEREID_COLUMN_X | canvas x of the column's middle | |
NEREID_COLUMN_Y | canvas y of its foot |
Definition at line 197 of file battle_effect_table.h.
anonymous enum
enum { FROTH_BUBBLE_COUNT, FROTH_TICKS }
Each Froth variant: its bubbles and ticks.
| Enumerator | Value | Description |
|---|---|---|
FROTH_BUBBLE_COUNT | bubbles, at most 30 (battle_effect_vortices.c) | |
FROTH_TICKS | the effect's ticks; the damage shows 16 before |
Definition at line 209 of file battle_effect_table.h.
anonymous enum
enum { WHIRLWIND_TORNADOES, WHIRLWIND_SWAY, WHIRLWIND_SHAKE }
Each Whirlwind variant: its tornadoes, their sway and the screen shake.
| Enumerator | Value | Description |
|---|---|---|
WHIRLWIND_TORNADOES | tornadoes drawn | |
WHIRLWIND_SWAY | how far each sways across, in pixels | |
WHIRLWIND_SHAKE | btCameraShake's range |
Definition at line 218 of file battle_effect_table.h.
anonymous enum
enum { PRISM_SHARD_START_X, PRISM_SHARD_START_Y }
Where each Prism shard starts in the crystal.
| Enumerator | Value | Description |
|---|---|---|
PRISM_SHARD_START_X | pixels from the crystal's left | |
PRISM_SHARD_START_Y | pixels from its top |
Definition at line 228 of file battle_effect_table.h.
anonymous enum
enum { PRISM_CRYSTAL_COUNT, PRISM_TICKS }
Each Prism variant: its crystals and ticks.
| Enumerator | Value | Description |
|---|---|---|
PRISM_CRYSTAL_COUNT | crystals drawn | |
PRISM_TICKS | the effect's ticks |
Definition at line 237 of file battle_effect_table.h.
anonymous enum
enum { PLASMA_SPARKS, PLASMA_SHAKE_TICKS }
Each Plasma variant: the sparks per pillar and the ticks of shake.
| Enumerator | Value | Description |
|---|---|---|
PLASMA_SPARKS | sparks each lightning pillar throws | |
PLASMA_SHAKE_TICKS | ticks the screen shakes at each strike |
Definition at line 251 of file battle_effect_table.h.
anonymous enum
enum { SPARK_GROUPS_SPARKS, SPARK_GROUPS_BURSTS, SPARK_GROUPS_OFFSET }
Each spark group variant: sparks per burst, bursts, and from
SPARK_GROUPS_OFFSET each burst's offset across.
| Enumerator | Value | Description |
|---|---|---|
SPARK_GROUPS_SPARKS | sparks each burst throws | |
SPARK_GROUPS_BURSTS | bursts, 8 ticks apart | |
SPARK_GROUPS_OFFSET | burst i's offset across, in pixels, at [2 + i] |
Definition at line 266 of file battle_effect_table.h.
anonymous enum
enum { SPARK_GROUPS_SEVERE_BLOW, SPARK_GROUPS_THRASH }
The spark groups' variants past the three strengths of Blast and Dynamite
(EFFECT_VARIANT), which their callers set before the run.
| Enumerator | Value | Description |
|---|---|---|
SPARK_GROUPS_SEVERE_BLOW | 3 | 340 sparks and a flash: Severe Blow's impact and btEffectRunUnusedSevereBlowLeap. |
SPARK_GROUPS_THRASH | 32 sparks: Thrash. |
Definition at line 275 of file battle_effect_table.h.
anonymous enum
enum { CYBELE_POSE_FACE_LEFT, CYBELE_POSE_FACE_RIGHT }
Cybele's face as she spits the thorns: the animations of sprites 3 and 4, the
left and right halves of the middle row of SUMMON_FORMATION_CYBELE, as the
cast's recording shows them. Her mouth, in the left half, opens and shuts;
her far eye, in the right, stays as it is.
| Enumerator | Value | Description |
|---|---|---|
CYBELE_POSE_FACE_LEFT | sprite 3's animation: the half with her mouth | |
CYBELE_POSE_FACE_RIGHT | sprite 4's animation |
Definition at line 298 of file battle_effect_table.h.
anonymous enum
enum { FROST_MOUND_X, FROST_MOUND_FOOT }
Where each ice mound of Frost stands: x and the y of its foot.
| Enumerator | Value | Description |
|---|---|---|
FROST_MOUND_X | canvas x of the mound's left edge | |
FROST_MOUND_FOOT | canvas y of its foot |
Definition at line 360 of file battle_effect_table.h.
PROJECTILE_VOLLEY_COMET
enum PROJECTILE_VOLLEY_COMET
The volley's three comet sheets: Slash, Wind Slash and Sonic Slash fire the one their variant picks.
| Enumerator | Value | Description |
|---|---|---|
PROJECTILE_VOLLEY_COMET_SLASH | SlashCometSheet, Slash's | |
PROJECTILE_VOLLEY_COMET_WIND_SLASH | WindSlashCometSheet, Wind Slash's | |
PROJECTILE_VOLLEY_COMET_SONIC_SLASH | SonicSlashCometSheet, Sonic Slash's and Cutting Edge's |
Definition at line 427 of file battle_effect_table.h.
PROJECTILE_VOLLEY_MODE
enum PROJECTILE_VOLLEY_MODE
The projectile volley's modes (btEffectRunProjectileVolley), each named for
the effect that fires it; the casting impacts fire two of them.
| Enumerator | Value | Description |
|---|---|---|
PROJECTILE_VOLLEY_SLASH | comets, picked by the variant | |
PROJECTILE_VOLLEY_SHURIKEN | spinning shurikens | |
PROJECTILE_VOLLEY_CRAZY_VOICE | bouncing pellets | |
PROJECTILE_VOLLEY_WING_FLUTTER | yellow sparks | |
PROJECTILE_VOLLEY_WING_BEAT | small yellow sparks | |
PROJECTILE_VOLLEY_CUTTING_EDGE | one large comet in ice colours | |
PROJECTILE_VOLLEY_HEAT_WAVE | fireballs trailing embers | |
PROJECTILE_VOLLEY_SLEET | ice chips falling from high above | |
PROJECTILE_VOLLEY_IMPACT_COMETS | comets, after CASTING_IMPACT_UNUSED_COMETS | |
PROJECTILE_VOLLEY_BLIZZARD | scattered ice chips; also CASTING_IMPACT_UNUSED_ICE_CHIPS | |
PROJECTILE_VOLLEY_ICE_BLESSING | ice chips streaming one a tick | |
PROJECTILE_VOLLEY_WING_STROKE | large yellow sparks, spread up and down |
Definition at line 440 of file battle_effect_table.h.
anonymous enum
enum { SPIRE_SHARD_X, SPIRE_SHARD_Y }
Where each Spire shard starts, before its rock's offset across.
| Enumerator | Value | Description |
|---|---|---|
SPIRE_SHARD_X | canvas x | |
SPIRE_SHARD_Y | canvas y |
Definition at line 487 of file battle_effect_table.h.
FLURRY_MODE
enum FLURRY_MODE
The flurry's modes (btEffectRunFlurry), its rows of FlurryStyles: Gust and
Flying Attack take one, two or three strikes as a double or triple blow
raises their variant.
| Enumerator | Value | Description |
|---|---|---|
FLURRY_BEAR_CLAW | five strikes; also Ransack | |
FLURRY_BACTERIA_RUSH | seven strikes, in lime | |
FLURRY_FREEBITE_RUSH | nine strikes, in blue | |
FLURRY_FLYING_ATTACK | one strike, in embers | |
FLURRY_FLYING_ATTACK_DOUBLE | two | |
FLURRY_FLYING_ATTACK_TRIPLE | three | |
FLURRY_GUST | one strike, each filling the canvas | |
FLURRY_GUST_DOUBLE | two | |
FLURRY_GUST_TRIPLE | three |
Definition at line 507 of file battle_effect_table.h.
FLURRY_ARC
enum FLURRY_ARC
A flurry's arcs, its FLURRY_ARC_SHEET.
| Enumerator | Value | Description |
|---|---|---|
FLURRY_ARCS_AND_WAVES | blue arc A, with a wave for the third and fourth of every four strikes | |
FLURRY_ARCS | blue arc B for every strike |
Definition at line 521 of file battle_effect_table.h.
FLURRY_PAL
enum FLURRY_PAL
Whose palette a flurry takes, its FLURRY_PALETTE.
| Enumerator | Value | Description |
|---|---|---|
FLURRY_PALETTE_MARS_DJINNI | the Mars Djinni sprite sheet's | |
FLURRY_PALETTE_LIME | ||
FLURRY_PALETTE_BLUE_ARC | ||
FLURRY_PALETTE_EMBER | the ember streak sprite sheet's |
Definition at line 529 of file battle_effect_table.h.