document some symbols and add global/types headers

This commit is contained in:
Yanis002
2025-02-14 03:34:31 +01:00
parent 9e05943d10
commit b14019290f
4 changed files with 67 additions and 4 deletions
+26
View File
@@ -0,0 +1,26 @@
#ifndef TYPES_H
#define 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;
#ifndef __cplusplus
typedef s32 bool;
#endif
#define CEIL_DIV(a, b) (((a) + (b) - 1) / (b))
#endif