2022-05-27 19:44:19 +00:00
|
|
|
// Needed outside to allow callers to set these to "custom" colors… i.e., the
|
|
|
|
// intended ones after they partied on the palette themselves. Would be cleaner
|
2024-01-16 11:42:22 +00:00
|
|
|
// if regist_menu() just set the correct hardware palette itself… oh well, it
|
|
|
|
// also helps to document which colors you'd better not use in the background
|
|
|
|
// image.
|
2022-05-27 19:44:19 +00:00
|
|
|
#define COL_REGIST_SELECTED 3 // V_GREEN
|
|
|
|
#define COL_REGIST_REGULAR V_WHITE
|
|
|
|
|
2022-05-29 23:45:47 +00:00
|
|
|
#define regist_colors_set() { \
|
|
|
|
z_Palettes[COL_REGIST_SELECTED].set(0x7, 0xF, 0x7); \
|
|
|
|
z_Palettes[COL_REGIST_REGULAR ].set(0xF, 0xF, 0xF); \
|
|
|
|
z_palette_set_all_show(z_Palettes); \
|
|
|
|
}
|
|
|
|
|
2020-05-22 17:27:50 +00:00
|
|
|
// Shows the high score list for the current difficulty. If the given game
|
|
|
|
// result is good enough to be on there, the player is asked to enter a name,
|
|
|
|
// before the result is inserted and written to the high score file.
|
2024-01-16 11:42:22 +00:00
|
|
|
void regist_menu(
|
2023-02-01 03:29:07 +00:00
|
|
|
score_t score,
|
2022-08-14 04:21:01 +00:00
|
|
|
int16_t stage_num_or_scoredat_constant,
|
2022-08-14 05:41:03 +00:00
|
|
|
const sshiftjis_t route[SCOREDAT_ROUTE_LEN + 1]
|
2020-05-22 17:27:50 +00:00
|
|
|
);
|