From 7c30d3f6e5ceebddbe1a366231e36d680494f564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 9 May 2021 12:18:15 +0200 Subject: [PATCH] ksys: Add CameraEditor --- data/uking_functions.csv | 6 +++--- src/KingSystem/System/CMakeLists.txt | 2 ++ src/KingSystem/System/CameraEditor.cpp | 7 +++++++ src/KingSystem/System/CameraEditor.h | 13 +++++++++++++ 4 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 src/KingSystem/System/CameraEditor.cpp create mode 100644 src/KingSystem/System/CameraEditor.h diff --git a/data/uking_functions.csv b/data/uking_functions.csv index 6a7d8fab..40b5161d 100644 --- a/data/uking_functions.csv +++ b/data/uking_functions.csv @@ -88717,9 +88717,9 @@ 0x00000071010ba104,Revision::createInstance,164,_ZN4ksys8Revision14createInstanceEPN4sead4HeapE 0x00000071010ba1a8,Revision::initStubbed1,4,_ZN4ksys8Revision4initEPN4sead4HeapE 0x00000071010ba1ac,Revision::initStubbed2,4,_ZN4ksys8Revision8loadInfoEv -0x00000071010ba1b0,sub_71010BA1B0,56, -0x00000071010ba1e8,sub_71010BA1E8,92, -0x00000071010ba244,CameraEditor::createInstance,120, +0x00000071010ba1b0,sub_71010BA1B0,56,_ZN4ksys12CameraEditor18SingletonDisposer_D1Ev +0x00000071010ba1e8,sub_71010BA1E8,92,_ZN4ksys12CameraEditor18SingletonDisposer_D0Ev +0x00000071010ba244,CameraEditor::createInstance,120,_ZN4ksys12CameraEditor14createInstanceEPN4sead4HeapE 0x00000071010ba2bc,Profiler::Push,136, 0x00000071010ba344,Profiler::Pop,596, 0x00000071010ba598,sub_71010BA598,176, diff --git a/src/KingSystem/System/CMakeLists.txt b/src/KingSystem/System/CMakeLists.txt index a98df700..1fe4bd60 100644 --- a/src/KingSystem/System/CMakeLists.txt +++ b/src/KingSystem/System/CMakeLists.txt @@ -1,6 +1,8 @@ target_sources(uking PRIVATE Account.cpp Account.h + CameraEditor.cpp + CameraEditor.h DebugMessage.h HavokWorkerMgr.cpp HavokWorkerMgr.h diff --git a/src/KingSystem/System/CameraEditor.cpp b/src/KingSystem/System/CameraEditor.cpp new file mode 100644 index 00000000..5062c8af --- /dev/null +++ b/src/KingSystem/System/CameraEditor.cpp @@ -0,0 +1,7 @@ +#include "KingSystem/System/CameraEditor.h" + +namespace ksys { + +SEAD_SINGLETON_DISPOSER_IMPL(CameraEditor) + +} // namespace ksys diff --git a/src/KingSystem/System/CameraEditor.h b/src/KingSystem/System/CameraEditor.h new file mode 100644 index 00000000..64e4c648 --- /dev/null +++ b/src/KingSystem/System/CameraEditor.h @@ -0,0 +1,13 @@ +#pragma once + +#include + +namespace ksys { + +// Completely stubbed in release builds +class CameraEditor { + SEAD_SINGLETON_DISPOSER(CameraEditor) + CameraEditor() = default; +}; + +} // namespace ksys