summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAetias <144526980+AetiasHax@users.noreply.github.com>2025-07-19 18:51:07 +0200
committerGitHub <noreply@github.com>2025-07-19 18:51:07 +0200
commit32cc123547fef2ff4aa170ef27ee0a825957a859 (patch)
tree291fbb077310d0b515f022cdd46c166e08e4d456 /include
parent573b696ff8d3e83765d4483e5a31e0ec5676044d (diff)
Game 73% (#122)
* Game 73% * Fix build
Diffstat (limited to 'include')
-rw-r--r--include/DTCM/UnkStruct_027e037c.hpp43
-rw-r--r--include/DTCM/UnkStruct_027e077c.hpp2
-rw-r--r--include/DTCM/UnkStruct_027e080c.hpp29
-rw-r--r--include/DTCM/UnkStruct_027e08fc.hpp18
-rw-r--r--include/DTCM/UnkStruct_027e0c38.hpp20
-rw-r--r--include/DTCM/UnkStruct_027e0c54.hpp21
-rw-r--r--include/DTCM/UnkStruct_027e0e2c.hpp1
-rw-r--r--include/DTCM/UnkStruct_027e103c.hpp1
-rw-r--r--include/Game/Game.hpp4
-rw-r--r--include/Message/MessageManager.hpp2
-rw-r--r--include/Message/MsgProc.hpp6
-rw-r--r--include/Unknown/UnkStruct_020ee734.hpp1
-rw-r--r--include/Unknown/UnkStruct_027e0d54.hpp7
-rw-r--r--include/Unknown/UnkStruct_027e0dbc.hpp3
14 files changed, 151 insertions, 7 deletions
diff --git a/include/DTCM/UnkStruct_027e037c.hpp b/include/DTCM/UnkStruct_027e037c.hpp
new file mode 100644
index 00000000..96359f03
--- /dev/null
+++ b/include/DTCM/UnkStruct_027e037c.hpp
@@ -0,0 +1,43 @@
+#pragma once
+
+#include "global.h"
+#include "types.h"
+
+#include <nds/math.h>
+
+struct UnkStruct_027e037c {
+public:
+ /* 000 */ unk32 mUnk_000;
+ /* 004 */ unk32 mUnk_004;
+ /* 008 */ Mat4p mUnk_008;
+ /* 048 */ unk32 mUnk_048;
+ /* 04c */ Mat4x3p mUnk_04c;
+ /* 07c */ unk32 mUnk_07c;
+ /* 080 */ unk32 mUnk_080;
+ /* 084 */ unk32 mUnk_084;
+ /* 088 */ unk32 mUnk_088;
+ /* 08c */ unk32 mUnk_08c;
+ /* 090 */ unk32 mUnk_090;
+ /* 094 */ unk32 mUnk_094;
+ /* 098 */ unk32 mUnk_098;
+ /* 09c */ unk32 mUnk_09c;
+ /* 0a0 */ unk32 mUnk_0a0;
+ /* 0a4 */ unk32 mUnk_0a4;
+ /* 0a8 */ unk32 mUnk_0a8;
+ /* 0ac */ unk32 mUnk_0ac;
+ /* 0b0 */ unk32 mUnk_0b0;
+ /* 0b4 */ unk32 mUnk_0b4;
+ /* 0b8 */ unk32 mUnk_0b8;
+ /* 0bc */ Mat3p rotation;
+ /* 0e0 */ Vec3p translation;
+ /* 0ec */ Vec3p scale;
+ /* 0f8 */ unk32 mUnk_0f8;
+ /* 0fc */ u32 flags;
+ /* 100 */ Mat4x3p mUnk_100;
+ /* 130 */ Mat4x3p mUnk_130;
+ /* 160 */ Mat4x3p mUnk_160;
+ /* 190 */ Mat4x3p mUnk_190;
+ /* 1c0 */
+};
+
+extern UnkStruct_027e037c data_027e037c;
diff --git a/include/DTCM/UnkStruct_027e077c.hpp b/include/DTCM/UnkStruct_027e077c.hpp
index d5d1788a..f7f2cf32 100644
--- a/include/DTCM/UnkStruct_027e077c.hpp
+++ b/include/DTCM/UnkStruct_027e077c.hpp
@@ -14,6 +14,8 @@ public:
void Init(unk32 param1);
bool func_0202e740(unk32 param1);
+ void func_ov009_02116364();
+
inline volatile unk32 GetUnk0() const {
return mUnk_0;
}
diff --git a/include/DTCM/UnkStruct_027e080c.hpp b/include/DTCM/UnkStruct_027e080c.hpp
new file mode 100644
index 00000000..8c021336
--- /dev/null
+++ b/include/DTCM/UnkStruct_027e080c.hpp
@@ -0,0 +1,29 @@
+#pragma once
+
+#include "global.h"
+#include "types.h"
+
+struct UnkStruct_027e080c_010 {
+ /* 00 */ s32 mUnk_00;
+ /* 04 */ unk8 mUnk_04[0x8];
+ /* 0c */ unk32 mUnk_0c;
+ /* 10 */ unk32 mUnk_10;
+ /* 14 */ unk8 mUnk_14[0x50];
+ /* 64 */
+};
+
+struct UnkStruct_027e080c {
+public:
+ /* 00 */ u8 mUnk_00;
+ /* 01 */ u8 mUnk_01;
+ /* 02 */ u8 mUnk_02;
+ /* 04 */ unk32 mUnk_04;
+ /* 08 */ unk32 mUnk_08;
+ /* 0c */ unk8 mUnk_0c[0x4];
+ /* 10 */ UnkStruct_027e080c_010 mUnk_10[2];
+ /* d8 */
+
+ void func_0202eebc(unk32);
+};
+
+extern UnkStruct_027e080c data_027e080c;
diff --git a/include/DTCM/UnkStruct_027e08fc.hpp b/include/DTCM/UnkStruct_027e08fc.hpp
new file mode 100644
index 00000000..24553edd
--- /dev/null
+++ b/include/DTCM/UnkStruct_027e08fc.hpp
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "global.h"
+#include "types.h"
+
+#include "Game/GameMode.hpp"
+
+struct UnkStruct_027e08fc {
+public:
+ /* 0 */ u8 mUnk_0;
+ /* 1 */ bool mUnk_1;
+ /* 2 */ u16 mUnk_2;
+ /* 4 */
+
+ void func_0202fbe4();
+};
+
+extern UnkStruct_027e08fc data_027e08fc;
diff --git a/include/DTCM/UnkStruct_027e0c38.hpp b/include/DTCM/UnkStruct_027e0c38.hpp
new file mode 100644
index 00000000..8957bc80
--- /dev/null
+++ b/include/DTCM/UnkStruct_027e0c38.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "global.h"
+#include "types.h"
+
+struct UnkStruct_027e0c38 {
+public:
+ /* 00 */ unk32 mUnk_00;
+ /* 04 */ unk32 mUnk_04;
+ /* 08 */ unk32 mUnk_08;
+ /* 0c */ unk32 mUnk_0c;
+ /* 10 */ unk32 mUnk_10;
+ /* 14 */ unk32 mUnk_14;
+ /* 18 */
+
+ void func_02033d70(s32 param1);
+ void func_02033d40();
+};
+
+extern "C" UnkStruct_027e0c38 data_027e0c38;
diff --git a/include/DTCM/UnkStruct_027e0c54.hpp b/include/DTCM/UnkStruct_027e0c54.hpp
new file mode 100644
index 00000000..57a5db1f
--- /dev/null
+++ b/include/DTCM/UnkStruct_027e0c54.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "global.h"
+#include "types.h"
+
+#include "Game/GameMode.hpp"
+
+struct UnkStruct_027e0c54 {
+public:
+ /* 0 */ bool mUnk_0;
+ /* 4 */ unk32 mUnk_4;
+ /* 8 */
+
+ void func_02036014(GameModeId modeId);
+ void func_02036050();
+ bool func_02036174();
+ bool func_020361d0();
+ void func_020363b0();
+};
+
+extern UnkStruct_027e0c54 data_027e0c54;
diff --git a/include/DTCM/UnkStruct_027e0e2c.hpp b/include/DTCM/UnkStruct_027e0e2c.hpp
index 00efac4c..8f7a2749 100644
--- a/include/DTCM/UnkStruct_027e0e2c.hpp
+++ b/include/DTCM/UnkStruct_027e0e2c.hpp
@@ -19,6 +19,7 @@ struct UnkStruct_027e0e2c {
/* 2c */
void func_ov000_0207bcb4();
+ void func_ov000_0207be84(unk32 param_1);
};
extern UnkStruct_027e0e2c data_027e0e2c;
diff --git a/include/DTCM/UnkStruct_027e103c.hpp b/include/DTCM/UnkStruct_027e103c.hpp
index 02f58f4c..bb094ec1 100644
--- a/include/DTCM/UnkStruct_027e103c.hpp
+++ b/include/DTCM/UnkStruct_027e103c.hpp
@@ -117,6 +117,7 @@ struct UnkStruct_027e103c {
void func_ov004_02104ffc(unk32 param1, unk32 param2);
void func_ov004_0210504c();
+ void func_ov005_02103e58(u16 *param1);
void func_ov005_02103f20();
void func_ov005_02103f3c();
bool func_ov005_02103f4c();
diff --git a/include/Game/Game.hpp b/include/Game/Game.hpp
index 4c60c0ab..53c03988 100644
--- a/include/Game/Game.hpp
+++ b/include/Game/Game.hpp
@@ -31,14 +31,14 @@ public:
/* 008 */ GameMode *mMode;
/* 00c */ unk8 mUnk_00c[0xc0];
/* 0cc */ FadeControl mFadeControl;
- /* 0f0 */ unk16 mUnk_0f0;
+ /* 0f0 */ u16 mUnk_0f0;
/* 0f2 */ u16 mUnk_0f2;
/* 0f4 */ s32 mUnk_0f4;
/* 0f8 */ s32 mUnk_0f8;
/* 0fc */ u16 mUnk_0fc;
/* 0fe */ u16 mUnk_0fe;
/* 100 */ unk8 mUnk_100;
- /* 101 */ s8 mUnk_101;
+ /* 101 */ u8 mUnk_101;
/* 102 */ bool mUnk_102;
/* 103 */ u8 mUnk_103;
/* 104 */
diff --git a/include/Message/MessageManager.hpp b/include/Message/MessageManager.hpp
index 7884cadc..d7cbc98e 100644
--- a/include/Message/MessageManager.hpp
+++ b/include/Message/MessageManager.hpp
@@ -56,7 +56,7 @@ public:
bool func_02036850(void);
void func_02036888(UnkStruct_020386d8 *param_2);
bool func_020368f4(UnkStruct_02037750 *param_2);
- void func_0203690c(unk32 param_2, unk32 param_3, unk32 param_4);
+ void func_0203690c(unk32 param_2);
void func_02036bbc(void);
void func_02036c50(unk32 param_2);
void func_02036ca4(unk32 param_2);
diff --git a/include/Message/MsgProc.hpp b/include/Message/MsgProc.hpp
index bdef3a22..81497633 100644
--- a/include/Message/MsgProc.hpp
+++ b/include/Message/MsgProc.hpp
@@ -94,6 +94,7 @@ struct Struct_027e0db0 {
/* 0x04 */ unk32 mUnk_04;
void func_ov000_0207b288(GameModeId modeId);
+ void func_ov000_0207b378(unk32 param_1);
};
extern Struct_027e0db0 data_027e0db0;
@@ -101,6 +102,8 @@ class UnkClass_027e0cbc {
public:
void func_0203d57c();
void func_0203d5c0();
+ void func_0203d64c(s32);
+ void func_0203d664(s32);
void func_0203d6d0();
unk32 func_0203d7e0(unk32);
unk32 func_0203d77c(unk32, s32, s32);
@@ -109,7 +112,6 @@ extern UnkClass_027e0cbc data_027e0cbc;
extern unk16 data_02056a10[];
extern unk16 data_02056a16[];
extern unk32 data_02056a04[];
-extern unk32 data_027e0c38[];
extern "C" void func_0203489c(unk32, unk16, unk32 *, unk32 *);
extern "C" void func_020347b0(unk32, unk16, unk32 *, unk32 *, unk32, unk32);
extern THUMB unk32 func_0202ab48(void);
@@ -123,7 +125,6 @@ public:
void func_ov000_0207bc9c();
};
extern UnkClass_027e0e28 *data_027e0e28;
-extern u8 data_027e0c54;
extern unk32 *data_ov009_0211f5b4;
extern "C" unk32 func_ov003_020f3f94(unk32 *);
extern "C" void func_ov003_020f4060(unk32 **);
@@ -174,6 +175,7 @@ class UnkClass_ov000_027e0d04 {
public:
/* 0x00 */ unk16 mUnk_00;
+ void func_0203fe00();
void func_0203fe60(unk32);
};
extern UnkClass_ov000_027e0d04 data_027e0d04;
diff --git a/include/Unknown/UnkStruct_020ee734.hpp b/include/Unknown/UnkStruct_020ee734.hpp
index 9b958c9f..bd30e7fd 100644
--- a/include/Unknown/UnkStruct_020ee734.hpp
+++ b/include/Unknown/UnkStruct_020ee734.hpp
@@ -32,6 +32,7 @@ public:
void func_ov000_020d6488();
void func_ov000_020d6620(void);
void func_ov000_020d6438(GameModeId modeId);
+ void func_ov000_020d64ac();
void func_ov008_021131ac(void);
};
diff --git a/include/Unknown/UnkStruct_027e0d54.hpp b/include/Unknown/UnkStruct_027e0d54.hpp
index 4604778a..c7ce111f 100644
--- a/include/Unknown/UnkStruct_027e0d54.hpp
+++ b/include/Unknown/UnkStruct_027e0d54.hpp
@@ -1,9 +1,11 @@
#pragma once
-#include "System/SysNew.hpp"
#include "global.h"
#include "types.h"
+#include "Game/GameMode.hpp"
+#include "System/SysNew.hpp"
+
class UnkStruct_027e0d54_08 : public SysObject {
public:
/* 00 */ u32 mUnk_00[1];
@@ -17,7 +19,7 @@ public:
/* 04 */ bool mUnk_0c;
/* 04 */ unk8 mUnk_0d;
/* 04 */ unk8 mUnk_0e;
- /* 04 */ unk8 mUnk_0f;
+ /* 04 */ u8 mUnk_0f;
/* 10 */ unk32 mUnk_10;
/* 10 */ u16 mUnk_14;
/* 10 */ unk16 mUnk_16;
@@ -25,6 +27,7 @@ public:
UnkStruct_027e0d54();
void func_ov008_02112f28();
+ void func_ov000_0207a2e8(GameModeId modeId);
};
extern UnkStruct_027e0d54 data_027e0d54;
diff --git a/include/Unknown/UnkStruct_027e0dbc.hpp b/include/Unknown/UnkStruct_027e0dbc.hpp
index 2a2e077a..76dbf9a1 100644
--- a/include/Unknown/UnkStruct_027e0dbc.hpp
+++ b/include/Unknown/UnkStruct_027e0dbc.hpp
@@ -21,6 +21,9 @@ public:
UnkStruct_027e0dbc();
void func_02042744(unk32 *param_1);
+ void func_ov000_0207b9dc();
+ void func_ov000_0207b9c8();
+ void func_ov000_0207b988(GameModeId modeId);
};
extern UnkStruct_027e0dbc data_027e0dbc;