summaryrefslogtreecommitdiff
path: root/src/KingSystem/System
diff options
context:
space:
mode:
authoriTNTPiston <zhaoyizhu2000@gmail.com>2021-08-09 16:40:04 -0700
committeriTNTPiston <zhaoyizhu2000@gmail.com>2021-08-09 16:40:04 -0700
commit488f2c3e71af8d443c1fc04d0f03e70e0aa7aefd (patch)
tree14e78c8e78addea09d79b3bc7c6f0430e1a8cc44 /src/KingSystem/System
parent0f6a9d95b5ab16c22e62291b98f0d66f76cdebd8 (diff)
Implemented DebugFinder
Diffstat (limited to 'src/KingSystem/System')
-rw-r--r--src/KingSystem/System/CMakeLists.txt2
-rw-r--r--src/KingSystem/System/DebugFinder.cpp14
-rw-r--r--src/KingSystem/System/DebugFinder.h22
3 files changed, 38 insertions, 0 deletions
diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt
index f3fe4e5b..95afaea7 100644
--- a/src/KingSystem/System/CMakeLists.txt
+++ b/src/KingSystem/System/CMakeLists.txt
@@ -9,6 +9,8 @@ target_sources(uking PRIVATE
CameraEditor.h
CameraMgr.cpp
CameraMgr.h
+ DebugFinder.cpp
+ DebugFinder.h
DebugMessage.h
HavokWorkerMgr.cpp
HavokWorkerMgr.h
diff --git a/src/KingSystem/System/DebugFinder.cpp b/src/KingSystem/System/DebugFinder.cpp
new file mode 100644
index 00000000..d566df2b
--- /dev/null
+++ b/src/KingSystem/System/DebugFinder.cpp
@@ -0,0 +1,14 @@
+#include "KingSystem/System/DebugFinder.h"
+
+namespace ksys {
+
+SEAD_SINGLETON_DISPOSER_IMPL(DebugFinder)
+
+DebugFinder::DebugFinder() = default;
+
+void DebugFinder::init(sead::Heap* heap) {
+
+}
+
+}
+
diff --git a/src/KingSystem/System/DebugFinder.h b/src/KingSystem/System/DebugFinder.h
new file mode 100644
index 00000000..c1b26cf5
--- /dev/null
+++ b/src/KingSystem/System/DebugFinder.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include <heap/seadDisposer.h>
+#include <prim/seadSafeString.h>
+
+namespace ksys {
+
+class DebugFinder{
+ SEAD_SINGLETON_DISPOSER(DebugFinder)
+ DebugFinder();
+ virtual ~DebugFinder();
+
+public:
+ void init(sead::Heap* heap);
+
+private:
+ sead::FixedSafeString<0x40> unused_1;
+ sead::FixedSafeString<0x100> unused_2;
+ u32 unused_3 = 0;
+};
+
+} // namespace ksys::evt \ No newline at end of file