Files
Microtransactions64/s2d_print.h
2020-12-15 17:46:07 -05:00

21 lines
558 B
C

#include <ultra64.h>
#include <PR/gs2dex.h>
#define SCALE "\x80" // SCALE (some scale)
#define ROTATE "\x81" // ROTATE (degrees) // TODO: maybe add axis?
#define TRANSLATE "\x82" // TRANSLATE (x) (y)
#define COLOR "\x83" // COLOR (r) (g) (b) (a)
#define CH_SCALE '\x80'
#define CH_ROT '\x81'
#define CH_TRANSLATE '\x82'
#define CH_COLOR '\x83'
// ASCII standard escape codes
#define CH_NEWLINE '\n'
#define CH_GET_NEXT(x) (*(++x))
#define CH_SKIP(x) ((x++))
extern void s2d_print(int x, int y, const char *str, uObjMtx *buf);