add some header files
This commit is contained in:
parent
060f1a1d28
commit
e6481709b4
4 changed files with 55 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
#ifndef _COMMON_H_
|
#ifndef _COMMON_H_
|
||||||
#define _COMMON_H_
|
#define _COMMON_H_
|
||||||
|
|
||||||
void OSReport(const char * format, ...);
|
#include "types.h"
|
||||||
|
#include "common_structs.h"
|
||||||
|
#include "functions.h"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
12
include/common_structs.h
Normal file
12
include/common_structs.h
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#ifndef _COMMON_STRUCTS_H
|
||||||
|
#define _COMMON_STRUCTS_H
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
|
||||||
|
typedef struct UnkOvl {
|
||||||
|
s32 unk0;
|
||||||
|
char unk4[4];
|
||||||
|
s32 unk8;
|
||||||
|
} UnkOvl;
|
||||||
|
|
||||||
|
#endif
|
||||||
17
include/functions.h
Normal file
17
include/functions.h
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#ifndef _FUNCTIONS_H_
|
||||||
|
#define _FUNCTIONS_H_
|
||||||
|
|
||||||
|
#include "types.h"
|
||||||
|
#include "common_structs.h"
|
||||||
|
|
||||||
|
void OSReport(const char * format, ...);
|
||||||
|
void *HuPrcCreate(void (*), s32, s32, s32);
|
||||||
|
void Hu3DBGColorSet(u8, u8, u8);
|
||||||
|
void Hu3DCameraCreate(s16);
|
||||||
|
void Hu3DCameraPerspectiveSet(s16, f32, f32, f32, f32);
|
||||||
|
void Hu3DCameraViewportSet(s16, f32, f32, f32, f32, f32, f32);
|
||||||
|
void omOvlHisChg(s32, s32, s32, s32);
|
||||||
|
UnkOvl* omOvlHisGet(s32);
|
||||||
|
void * omInitObjMan(s32, s32);
|
||||||
|
|
||||||
|
#endif
|
||||||
23
include/types.h
Normal file
23
include/types.h
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
#ifndef _TYPES_H_
|
||||||
|
#define _TYPES_H_
|
||||||
|
|
||||||
|
typedef unsigned char u8;
|
||||||
|
typedef unsigned short u16;
|
||||||
|
typedef unsigned long u32;
|
||||||
|
typedef unsigned long long u64;
|
||||||
|
typedef signed char s8;
|
||||||
|
typedef short s16;
|
||||||
|
typedef long s32;
|
||||||
|
typedef long long s64;
|
||||||
|
typedef volatile unsigned char vu8;
|
||||||
|
typedef volatile unsigned short vu16;
|
||||||
|
typedef volatile unsigned long vu32;
|
||||||
|
typedef volatile unsigned long long vu64;
|
||||||
|
typedef volatile signed char vs8;
|
||||||
|
typedef volatile short vs16;
|
||||||
|
typedef volatile long vs32;
|
||||||
|
typedef volatile long long vs64;
|
||||||
|
typedef float f32;
|
||||||
|
typedef double f64;
|
||||||
|
|
||||||
|
#endif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue