2020-11-06 14:25:02 +00:00
|
|
|
|
/// Headerless, uncompressed 16-color + alpha, upside-down 288×184 image format
|
|
|
|
|
/// ---------------------------------------------------------------------------
|
|
|
|
|
/// .CDG was apparently not good enough? Used for gauge attack portraits and
|
|
|
|
|
/// bomb backgrounds.
|
|
|
|
|
|
|
|
|
|
static const int MRS_SLOT_COUNT = 8;
|
|
|
|
|
static const pixel_t MRS_W = 288;
|
|
|
|
|
static const pixel_t MRS_H = 184;
|
2020-11-07 19:12:04 +00:00
|
|
|
|
|
2020-11-10 13:23:04 +00:00
|
|
|
|
// Frees the .MRS image in the given [slot].
|
|
|
|
|
void pascal mrs_free(int slot);
|
|
|
|
|
|
2020-11-09 14:34:53 +00:00
|
|
|
|
// Displays the .MRS image in the given [slot] at (⌊left/8⌋*8, top).
|
|
|
|
|
void pascal mrs_put_8(screen_x_t left, uscreen_y_t top, int slot);
|
|
|
|
|
|
2020-11-08 20:04:36 +00:00
|
|
|
|
// Displays the .MRS image in the given [slot] at (⌊left/8⌋*8, top),
|
|
|
|
|
// disregarding its alpha plane, and optionally altering its colors slightly.
|
|
|
|
|
void pascal mrs_put_noalpha_8(
|
|
|
|
|
screen_x_t left, uscreen_y_t top, int slot, bool altered_colors
|
|
|
|
|
);
|
|
|
|
|
|
2020-11-07 19:12:04 +00:00
|
|
|
|
// Persistently flips the image in [slot] horizontally, using the [hflip_lut].
|
|
|
|
|
void pascal mrs_hflip(int slot);
|
2020-11-06 14:25:02 +00:00
|
|
|
|
/// ---------------------------------------------------------------------------
|