ReC98/th03/formats/pi.hpp

18 lines
617 B
C++

#include "th02/formats/pi.h"
#define PI_MASK_COUNT 4
#define PI_MASK_H 4
extern const dot_rect_t(16, PI_MASK_H) PI_MASKS[PI_MASK_COUNT];
// Like pi_put_8(), but only displays every second row in the given PI.
void pascal pi_put_interlace_8(screen_x_t left, vram_y_t top, int slot);
// Like pi_put_8(), but only displays the n-th 320x200 [quarter], counted
// from the top left, of the PI image in slot #[slot] at ([left], [top]).
void pascal pi_put_quarter_8(
screen_x_t left, vram_y_t top, int slot, int quarter
);
static const pixel_t PI_QUARTER_W = (PI_W / 2);
static const pixel_t PI_QUARTER_H = (PI_H / 2);