2019-12-15 19:17:00 +00:00
|
|
|
#include "th02/formats/pi.h"
|
|
|
|
|
2019-12-10 07:52:24 +00:00
|
|
|
#define PI_MASK_COUNT 4
|
|
|
|
#define PI_MASK_H 4
|
2020-03-06 23:25:03 +00:00
|
|
|
extern const dots16_t PI_MASKS[PI_MASK_COUNT][PI_MASK_H];
|
2019-12-10 07:52:24 +00:00
|
|
|
|
2017-01-11 15:12:39 +00:00
|
|
|
// Like pi_put(), but only displays every second row in the given PI.
|
|
|
|
int pascal pi_put_interlace(screen_x_t left, vram_y_t top, int slot);
|
2019-12-15 19:17:00 +00:00
|
|
|
|
2017-01-11 15:12:39 +00:00
|
|
|
// Like pi_put(), but only displays the n-th 320x200 [quarter], counted
|
2020-08-20 19:59:45 +00:00
|
|
|
// from the top left, of the PI image in slot #[slot] at ([left], [top]).
|
2017-01-11 15:12:39 +00:00
|
|
|
int pascal pi_put_quarter(
|
2020-08-20 19:59:45 +00:00
|
|
|
screen_x_t left, vram_y_t top, int slot, int quarter
|
|
|
|
);
|