From 3bb33875b31bc53b3161ac2b58741b44a005d803 Mon Sep 17 00:00:00 2001 From: Brian Savage Date: Sat, 29 Jan 2022 11:43:30 -0500 Subject: More PlacementMap functions --- src/KingSystem/System/CMakeLists.txt | 2 ++ src/KingSystem/System/Patrol.cpp | 7 +++++++ src/KingSystem/System/Patrol.h | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 src/KingSystem/System/Patrol.cpp create mode 100644 src/KingSystem/System/Patrol.h (limited to 'src/KingSystem/System') diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt index a0d1eb08..82594ea2 100644 --- a/src/KingSystem/System/CMakeLists.txt +++ b/src/KingSystem/System/CMakeLists.txt @@ -28,6 +28,8 @@ target_sources(uking PRIVATE OverlayArenaSystem.h OverlayArenaSystemS1.h OverlayArenaSystemS2.h + Patrol.cpp + Patrol.h PlayReportMgr.cpp PlayReportMgr.h ProductReporter.cpp diff --git a/src/KingSystem/System/Patrol.cpp b/src/KingSystem/System/Patrol.cpp new file mode 100644 index 00000000..75e53224 --- /dev/null +++ b/src/KingSystem/System/Patrol.cpp @@ -0,0 +1,7 @@ +#include "KingSystem/System/Patrol.h" + +namespace ksys { + +SEAD_SINGLETON_DISPOSER_IMPL(Patrol) + +} // namespace ksys diff --git a/src/KingSystem/System/Patrol.h b/src/KingSystem/System/Patrol.h new file mode 100644 index 00000000..a45fb16d --- /dev/null +++ b/src/KingSystem/System/Patrol.h @@ -0,0 +1,25 @@ +#pragma once + +#include +#include +#include +#include "KingSystem/Utils/Types.h" + +namespace ksys { + +class Patrol { + SEAD_SINGLETON_DISPOSER(Patrol) + +public: + Patrol() = default; + ~Patrol() = default; + + u8 _0[0x3 - 0x0]; + bool mLoadStaticPhysUnstableMapUnit; + sead::FixedSafeString<0x100> mBuildURL; + sead::ListNode _140; + u32 _150; + u32 _154; +}; +KSYS_CHECK_SIZE_NX150(Patrol, 0x158); +} // namespace ksys -- cgit v1.2.3