ReC98/th03/formats/pi.h

13 lines
455 B
C
Raw Normal View History

#include "th02/formats/pi.h"
#define PI_MASK_COUNT 4
#define PI_MASK_H 4
extern const planar16_t PI_MASKS[PI_MASK_COUNT][PI_MASK_H];
// 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);