Tools for preprocessing data files from Quake to make them suitable for use on PS1 hardware
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
463 B

#pragma once
#include <stdint.h>
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef struct _MATRIX {
int16_t m[3][3];
int32_t t[3];
} MATRIX;
typedef struct _VECTOR {
int32_t vx, vy, vz;
} VECTOR;
typedef struct _SVECTOR {
int16_t vx, vy, vz, pad;
} SVECTOR;
typedef struct _CVECTOR {
uint8_t r, g, b, cd;
} CVECTOR;
typedef struct _DVECTOR {
int16_t vx, vy;
} DVECTOR;