summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorAetias <aetias@outlook.com>2024-03-20 19:48:26 +0100
committerAetias <aetias@outlook.com>2024-03-20 19:48:26 +0100
commit29e5b949c0bcd43af41effe6ecab677aecf28a29 (patch)
tree574535b53b6c00ae901b3e28b49cb3285799adda /include/lib
parentbd0a74f62fa297ddcd041d8fb5f1149d3a4a4669 (diff)
Add `LinkDamage` class definition
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/files.h13
-rw-r--r--include/lib/math.h6
-rw-r--r--include/lib/touch.h3
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;