NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
types.h
1
#pragma once
2
3
// Codewarrior-specific pragmas
4
#ifdef __CWCC__
5
#pragma cpp1x on
6
#pragma gcc_extensions on
7
#endif
8
9
// Base types
10
typedef
unsigned
char
u8;
11
typedef
unsigned
short
u16;
12
typedef
unsigned
int
u32;
13
typedef
unsigned
long
long
u64;
14
typedef
signed
char
s8;
15
typedef
signed
short
s16;
16
typedef
signed
int
s32;
17
typedef
signed
long
long
s64;
18
typedef
float
f32;
19
typedef
double
f64;
20
#ifdef __CWCC__
21
typedef
unsigned
long
size_t;
22
#endif
23
typedef
unsigned
long
ulong;
24
typedef
volatile
s8 vs8;
25
typedef
volatile
s16 vs16;
26
typedef
volatile
s32 vs32;
27
typedef
volatile
s64 vs64;
28
typedef
volatile
u8 vu8;
29
typedef
volatile
u16 vu16;
30
typedef
volatile
u32 vu32;
31
typedef
volatile
u64 vu64;
32
typedef
volatile
f32 vf32;
33
typedef
volatile
f64 vf64;
34
35
// Macros
36
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
37
#define BIT_FLAG(bit) ((bit) < 0 ? 0 : 1 << (bit))
include
types.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.12.0