pokeemerald/include/global.h

35 lines
631 B
C
Raw Normal View History

2016-01-08 09:08:16 +00:00
#ifndef GUARD_GLOBAL_H
#define GUARD_GLOBAL_H
2016-01-03 14:40:10 +00:00
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;
typedef signed char s8;
typedef signed short s16;
typedef signed int s32;
2016-01-08 07:27:40 +00:00
typedef volatile u8 vu8;
typedef volatile u16 vu16;
typedef volatile u32 vu32;
typedef volatile s8 vs8;
typedef volatile s16 vs16;
typedef volatile s32 vs32;
typedef float f32;
typedef double f64;
2016-01-03 14:40:10 +00:00
typedef u8 bool8;
typedef u16 bool16;
typedef u32 bool32;
#define NULL (void *)0
#define TRUE 1
#define FALSE 0
#include "gba/io_reg.h"
#include "gba/syscall.h"
#include "gba/macro.h"
2016-01-08 09:08:16 +00:00
#endif // GUARD_GLOBAL_H