ReC98/th01/sprites/main_ptn.h

17 lines
411 B
C
Raw Normal View History

#include "th01/score.h"
#define last_for_quarters(base, quarters) \
((base + ((quarters + 3) / 4)) - 1)
typedef enum {
PTN_SLOT_BG_HUD = 5,
} main_ptn_slot_t;
typedef enum {
// HUD (snapped backgrounds)
// -------------------------
PTN_BG_MAX_SCORE = PTN_ID(PTN_SLOT_BG_HUD, 10),
PTN_BG_MAX_SCORE_last = last_for_quarters(PTN_BG_MAX_SCORE, SCORE_DIGITS),
// -------------------------
} main_ptn_id_t;