mirror of
https://github.com/zeldaret/oot3d.git
synced 2026-09-26 05:31:59 -04:00
a87ddae432
* pull known Actor functions GLOBAL_ASMs into their cpp files * attempt to pull unidentified actor functions GLOBAL_ASMs into their corresponding source files by scanning the call-graph
28 lines
520 B
C
28 lines
520 B
C
#pragma once
|
|
|
|
#define NULL 0
|
|
|
|
typedef signed char s8;
|
|
typedef unsigned char u8;
|
|
typedef signed short s16;
|
|
typedef unsigned short u16;
|
|
typedef signed int s32;
|
|
typedef unsigned int u32;
|
|
typedef signed long long s64;
|
|
typedef unsigned long long u64;
|
|
|
|
typedef float f32;
|
|
typedef double f64;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define nullptr NULL
|
|
|
|
typedef u32 uintptr_t;
|
|
typedef s32 intptr_t;
|
|
|
|
#endif
|
|
|
|
#define static_assert(COND, MSG) typedef int __static_assert_balls[(COND) ? 1 : -1]
|
|
#define split(S) __attribute__((section("i." #S))) S
|