From 0d4345a9bf2623df079c50a3bc73cbb7deca1176 Mon Sep 17 00:00:00 2001 From: "John Wilbert M. Villamor" Date: Wed, 17 Jul 2019 11:30:07 +0800 Subject: Added C++ support, updated build instructions and makefiles, consolidated libc and libgcc (during build process), libraries now v0.12b and more --- libpsn00b/include/psxgte.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libpsn00b/include/psxgte.h') diff --git a/libpsn00b/include/psxgte.h b/libpsn00b/include/psxgte.h index 0a8ded0..43d529a 100644 --- a/libpsn00b/include/psxgte.h +++ b/libpsn00b/include/psxgte.h @@ -29,6 +29,10 @@ typedef struct { unsigned char r, g, b, cd; } CVECTOR; +typedef struct { + short vx, vy; +} DVECTOR; + #ifdef __cplusplus extern "C" { @@ -46,8 +50,8 @@ int icos(int a); int hisin(int a); int hicos(int a); -void PushMatrix(); -void PopMatrix(); +void PushMatrix(void); +void PopMatrix(void); MATRIX *RotMatrix(SVECTOR *r, MATRIX *m); MATRIX *HiRotMatrix(VECTOR *r, MATRIX *m); -- cgit v1.2.3