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
|
|
|
|
extern const planar16_t PI_MASKS[PI_MASK_COUNT][PI_MASK_H];
|
|
|
|
|
2019-12-15 19:17:00 +00:00
|
|
|
// Like pi_slot_put(), but only displays every second row in the given PI.
|
|
|
|
int pascal pi_slot_put_interlace(int x, int y, int slot);
|
|
|
|
|
|
|
|
// Displays the n-th 320x200 [quarter], counted from the top left, of the PI
|
|
|
|
// image in slot #[slot] at ([x], [y]).
|
|
|
|
int pascal pi_slot_put_quarter(int x, int y, int slot, int quarter);
|