ReC98/th05/sprites/main_pat.h

85 lines
2.7 KiB
C

#include "th04/sprites/cels.h"
#define PARTICLE_CELS 4
#define B4BALL_CELS 4
/// Stage-independent pattern numbers for the super_*() functions
/// -------------------------------------------------------------
/// Since super_entry_bfnt() doesn't take a "start patnum" parameter, the
/// order in which the files are loaded has to match the order here.
typedef enum {
// miko32.bft
// ----------
PAT_CLOUD_BULLET16_BLUE = 12,
PAT_CLOUD_BULLET16_BLUE_last = (PAT_CLOUD_BULLET16_BLUE + BULLET_CLOUD_CELS - 1),
PAT_CLOUD_BULLET16_RED,
// ----------
// reimu16.bft / mari16.bft / mima16.bft / yuka16.bft
// --------------------------------------------------
PAT_SHOT_SUB = 22,
PAT_OPTION = 26,
// --------------------------------------------------
// miko16.bft
// ----------
PAT_ITEM = 36,
// Non-directional bullets
PAT_BULLET16_N_BLUE = 44,
PAT_BULLET16_N_BALL_BLUE = PAT_BULLET16_N_BLUE,
PAT_BULLET16_N_OUTLINED_BALL_BLUE,
PAT_BULLET16_N_SMALL_BALL_BLUE,
PAT_BULLET16_N_CROSS_BLUE, // Green during the EX-Alice battle
PAT_BULLET16_N_RED,
PAT_BULLET16_N_BALL_RED = PAT_BULLET16_N_RED,
PAT_BULLET16_N_OUTLINED_BALL_RED,
PAT_BULLET16_N_SMALL_BALL_RED,
PAT_BULLET16_N_STAR,
// Directional bullets
PAT_BULLET16_D,
PAT_BULLET16_D_BLUE = PAT_BULLET16_D,
PAT_BULLET16_D_BLUE_last = (PAT_BULLET16_D_BLUE + BULLET_D_CELS - 1),
PAT_BULLET16_D_GREEN, // Purple during the EX-Alice battle
PAT_BULLET16_D_GREEN_last = (PAT_BULLET16_D_GREEN + BULLET_D_CELS - 1),
// Vector bullets
PAT_BULLET16_V,
PAT_BULLET16_V_RED = PAT_BULLET16_V,
PAT_BULLET16_V_RED_last = (PAT_BULLET16_V_RED + BULLET_V_CELS - 1),
PAT_BULLET16_V_BLUE, // Yellow during the EX-Alice battle
PAT_BULLET16_V_BLUE_last = (PAT_BULLET16_V_BLUE + BULLET_V_CELS - 1),
PAT_CLOUD_PELLET,
PAT_CLOUD_PELLET_last = (PAT_CLOUD_PELLET + BULLET_CLOUD_CELS - 1),
PAT_BULLET_KILL,
PAT_BULLET_KILL_last = (PAT_BULLET_KILL + BULLET_DECAY_CELS - 1),
PAT_DECAY_PELLET,
PAT_DECAY_PELLET_last = (PAT_DECAY_PELLET + BULLET_DECAY_CELS - 1),
PAT_DECAY_BULLET16,
PAT_DECAY_BULLET16_last = (PAT_DECAY_BULLET16 + BULLET_DECAY_CELS - 1),
PAT_EXPLOSION_SMALL,
PAT_PARTICLE = 172,
PAT_PARTICLE_last = (PAT_PARTICLE + PARTICLE_CELS),
// ----------
} main_patnum_t;
/// -------------------------------------------------------------
/// Stage 4
/// -------
typedef enum {
// st03.bb3
// --------
PAT_B4BALL_SNOW = 212,
PAT_B4BALL_SNOW_last = (PAT_B4BALL_SNOW + B4BALL_CELS - 1),
PAT_B4BALL_FIRE,
PAT_B4BALL_FIRE_last = (PAT_B4BALL_FIRE + B4BALL_CELS - 1),
PAT_B4BALL_SNOW_HIT,
PAT_B4BALL_SNOW_HIT_last = (PAT_B4BALL_SNOW_HIT + B4BALL_CELS - 1),
PAT_DECAY_B4BALL,
PAT_DECAY_B4BALL_last = (PAT_DECAY_B4BALL + BULLET_DECAY_CELS - 1),
// --------
} stage4_patnum_t;
/// -------