2020-02-12 20:22:49 +00:00
|
|
|
#include "th04/sprites/cels.h"
|
|
|
|
|
2020-02-26 21:24:36 +00:00
|
|
|
#define PARTICLE_CELS 4
|
2020-02-27 20:06:35 +00:00
|
|
|
#define B4BALL_CELS 4
|
2020-02-26 21:24:36 +00:00
|
|
|
|
2020-02-10 20:59:23 +00:00
|
|
|
/// 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 {
|
2020-02-12 20:22:49 +00:00
|
|
|
// miko32.bft
|
|
|
|
// ----------
|
|
|
|
PAT_CLOUD_BULLET16_BLUE = 12,
|
|
|
|
PAT_CLOUD_BULLET16_BLUE_last = (PAT_CLOUD_BULLET16_BLUE + BULLET_CLOUD_CELS - 1),
|
|
|
|
PAT_CLOUD_BULLET16_RED,
|
|
|
|
// ----------
|
2020-02-10 20:59:23 +00:00
|
|
|
// reimu16.bft / mari16.bft / mima16.bft / yuka16.bft
|
|
|
|
// --------------------------------------------------
|
|
|
|
PAT_SHOT_SUB = 22,
|
|
|
|
PAT_OPTION = 26,
|
|
|
|
// --------------------------------------------------
|
|
|
|
// miko16.bft
|
|
|
|
// ----------
|
|
|
|
PAT_ITEM = 36,
|
2020-02-12 20:22:49 +00:00
|
|
|
|
|
|
|
// 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,
|
2020-02-26 21:24:36 +00:00
|
|
|
|
|
|
|
PAT_PARTICLE = 172,
|
|
|
|
PAT_PARTICLE_last = (PAT_PARTICLE + PARTICLE_CELS),
|
2020-02-10 20:59:23 +00:00
|
|
|
// ----------
|
|
|
|
} main_patnum_t;
|
|
|
|
/// -------------------------------------------------------------
|
2020-02-27 20:06:35 +00:00
|
|
|
|
|
|
|
/// 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;
|
|
|
|
/// -------
|