diff options
Diffstat (limited to 'include/lib')
| -rw-r--r-- | include/lib/files.h | 13 | ||||
| -rw-r--r-- | include/lib/math.h | 6 | ||||
| -rw-r--r-- | include/lib/touch.h | 3 |
3 files changed, 18 insertions, 4 deletions
diff --git a/include/lib/files.h b/include/lib/files.h new file mode 100644 index 00000000..e65e4d09 --- /dev/null +++ b/include/lib/files.h @@ -0,0 +1,13 @@ +#pragma once + +#include "global.h" +#include "types.h" + +struct FileEntry { + /* 00 (vtable )*/ + /* 04 */ void *path; + /* 08 */ unk32 mUnk_08; + /* 0c */ unk32 mUnk_0c; + /* 10 */ +}; + diff --git a/include/lib/math.h b/include/lib/math.h index 86c483a0..0eae4aa1 100644 --- a/include/lib/math.h +++ b/include/lib/math.h @@ -1,6 +1,6 @@ -#ifndef LIB_MATH_H -#define LIB_MATH_H +#pragma once +#include "global.h" #include "types.h" // Q20.12 fixed point number @@ -33,5 +33,3 @@ extern "C" u32 Divide(u32 a, u32 b); extern "C" bool Approach(unk32 *src, unk32 dest, unk32 step); extern "C" bool Approach_thunk(unk32 *src, unk32 dest, unk32 step); extern "C" bool func_01ffec34(Vec4p *param1, Vec4p *param2); - -#endif diff --git a/include/lib/touch.h b/include/lib/touch.h index 41d29e4d..4bc0ed30 100644 --- a/include/lib/touch.h +++ b/include/lib/touch.h @@ -1,5 +1,8 @@ #pragma once +#include "global.h" +#include "types.h" + struct TouchStateFlags { u16 touchX; u16 touchY; |
