mirror of
https://github.com/zeldaret/ph
synced 2026-05-23 06:54:18 -04:00
aee9c362bb
* Remove `force_data` macro * Use size_t in `operator new` * Bump objdiff to v3.0.0-beta.10 * Decompile functions using gRandom * ActorRupee 90% * Fix old gRandom.Next calls * Revert objdiff * Clean up
29 lines
478 B
C
29 lines
478 B
C
#ifndef PH_TYPES_H
|
|
#define PH_TYPES_H
|
|
|
|
#include <stddef.h>
|
|
|
|
typedef unsigned long long u64;
|
|
typedef unsigned int u32;
|
|
typedef unsigned short u16;
|
|
typedef unsigned char u8;
|
|
|
|
typedef long long s64;
|
|
typedef int s32;
|
|
typedef short s16;
|
|
typedef char s8;
|
|
|
|
typedef s8 unk8;
|
|
typedef s16 unk16;
|
|
typedef s32 unk32;
|
|
typedef s64 unk64;
|
|
|
|
#ifndef __cplusplus
|
|
typedef s32 bool;
|
|
#endif
|
|
|
|
#define CEIL_DIV(a, b) (((a) + (b) - 1) / (b))
|
|
#define UNK_PTR unk32 *
|
|
|
|
#endif
|