mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Match all libultra, and more closely match ultralib (#466)
* Massive libultra changes * Fix the build! * Remove crc comment that seemd to break the score script for some reason. * Update README score. * Apply some suggestions * rename sins and coss funcs.
This commit is contained in:
+2
-37
@@ -1,48 +1,13 @@
|
||||
#ifndef _TYPES_H_
|
||||
#define _TYPES_H_
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
#endif
|
||||
|
||||
#define TRUE 1
|
||||
#define FALSE 0
|
||||
|
||||
typedef signed char s8;
|
||||
typedef unsigned char u8;
|
||||
typedef signed short int s16;
|
||||
typedef unsigned short int u16;
|
||||
typedef signed int s32;
|
||||
typedef unsigned int u32;
|
||||
typedef signed long long int s64;
|
||||
typedef unsigned long long int u64;
|
||||
|
||||
typedef volatile u8 vu8;
|
||||
typedef volatile u16 vu16;
|
||||
typedef volatile u32 vu32;
|
||||
typedef volatile u64 vu64;
|
||||
typedef volatile s8 vs8;
|
||||
typedef volatile s16 vs16;
|
||||
typedef volatile s32 vs32;
|
||||
typedef volatile s64 vs64;
|
||||
|
||||
typedef float f32;
|
||||
typedef double f64;
|
||||
|
||||
//#ifdef TARGET_N64
|
||||
typedef u32 size_t;
|
||||
typedef s32 ssize_t;
|
||||
typedef u32 uintptr_t;
|
||||
typedef s32 intptr_t;
|
||||
typedef s32 ptrdiff_t;
|
||||
//#else
|
||||
//#include <stddef.h>
|
||||
//#endif
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
typedef float Matrix[4][4];
|
||||
typedef s32 MatrixS[4][4];
|
||||
typedef s16 VertexList;
|
||||
typedef u8 TriangleList;
|
||||
typedef u32 uintptr_t;
|
||||
|
||||
#if defined(__sgi)
|
||||
#define stubbed_printf
|
||||
|
||||
Reference in New Issue
Block a user