diff options
| author | Brian Savage <savage13@gmail.com> | 2022-01-29 11:43:30 -0500 |
|---|---|---|
| committer | Brian Savage <savage13@gmail.com> | 2022-01-29 17:37:42 -0500 |
| commit | 3bb33875b31bc53b3161ac2b58741b44a005d803 (patch) | |
| tree | 79e387fd4ac89866ad5ceb671f66bf477619a8e9 /src/KingSystem/System | |
| parent | 93bc93051cbf112541d7e790a639e348a28ee7a5 (diff) | |
More PlacementMap functions
Diffstat (limited to 'src/KingSystem/System')
| -rw-r--r-- | src/KingSystem/System/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/KingSystem/System/Patrol.cpp | 7 | ||||
| -rw-r--r-- | src/KingSystem/System/Patrol.h | 25 |
3 files changed, 34 insertions, 0 deletions
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 <basis/seadTypes.h> +#include <heap/seadDisposer.h> +#include <prim/seadSafeString.h> +#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 |
