Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
#ifndef TYPES_H_
2
#define TYPES_H_
3
4
typedef
signed
char
s8
;
5
typedef
signed
short
s16
;
6
typedef
signed
long
s32
;
7
typedef
signed
long
long
s64
;
8
typedef
unsigned
char
u8
;
9
typedef
unsigned
short
u16
;
10
typedef
unsigned
long
u32
;
11
typedef
unsigned
long
long
u64
;
12
13
typedef
volatile
u8
vu8
;
14
typedef
volatile
u16
vu16
;
15
typedef
volatile
u32
vu32
;
16
typedef
volatile
u64
vu64
;
17
typedef
volatile
s8
vs8
;
18
typedef
volatile
s16
vs16
;
19
typedef
volatile
s32
vs32
;
20
typedef
volatile
s64
vs64
;
21
22
typedef
float
f32
;
23
typedef
double
f64
;
24
typedef
volatile
f32
vf32
;
25
typedef
volatile
f64
vf64
;
26
27
typedef
int
BOOL
;
28
29
#define TRUE 1
30
#define FALSE 0
31
32
#define READU32_BE(ptr, offset) \
33
(((u32)ptr[offset] << 24) | ((u32)ptr[offset + 1] << 16) | ((u32)ptr[offset + 2] << 8) | (u32)ptr[offset + 3]);
34
35
#define ALIGN_DECL(ALIGNMENT) __attribute__((aligned(ALIGNMENT)))
36
37
#include "
stddef.h
"
38
39
#define INT32_MAX (0x7fffffff)
40
#define UINT32_MAX (0xffffffff)
41
42
#define FLOAT_MIN (1.175494351e-38f)
43
#define FLOAT_MAX (3.40282346638528860e+38f)
44
45
#ifdef __MWERKS__
46
#define AT_ADDRESS(xyz) : (xyz)
47
#else
48
#define AT_ADDRESS(xyz)
49
#endif
50
51
#endif
stddef.h
BOOL
int BOOL
Definition
types.h:27
vs8
volatile s8 vs8
Definition
types.h:17
s8
signed char s8
Definition
types.h:4
vu8
volatile u8 vu8
Definition
types.h:13
u32
unsigned long u32
Definition
types.h:10
s64
signed long long s64
Definition
types.h:7
vs64
volatile s64 vs64
Definition
types.h:20
f32
float f32
Definition
types.h:22
s16
signed short s16
Definition
types.h:5
vu16
volatile u16 vu16
Definition
types.h:14
vs32
volatile s32 vs32
Definition
types.h:19
vs16
volatile s16 vs16
Definition
types.h:18
f64
double f64
Definition
types.h:23
vf64
volatile f64 vf64
Definition
types.h:25
u16
unsigned short u16
Definition
types.h:9
vu32
volatile u32 vu32
Definition
types.h:15
vu64
volatile u64 vu64
Definition
types.h:16
vf32
volatile f32 vf32
Definition
types.h:24
u64
unsigned long long u64
Definition
types.h:11
s32
signed long s32
Definition
types.h:6
u8
unsigned char u8
Definition
types.h:8
include
dolphin
types.h
Generated by
1.9.8