mirror of https://github.com/zeldaret/botw.git
ksys: Add Revision
This commit is contained in:
parent
b8eb5960ec
commit
52c4ba1fc0
|
@ -88712,11 +88712,11 @@
|
|||
0x00000071010b9e5c,sub_71010B9E5C,56,
|
||||
0x00000071010b9e94,sub_71010B9E94,92,
|
||||
0x00000071010b9ef0,Patrol::createInstance,384,
|
||||
0x00000071010ba070,sub_71010BA070,56,
|
||||
0x00000071010ba0a8,sub_71010BA0A8,92,
|
||||
0x00000071010ba104,Revision::createInstance,164,
|
||||
0x00000071010ba1a8,Revision::initStubbed1,4,
|
||||
0x00000071010ba1ac,Revision::initStubbed2,4,
|
||||
0x00000071010ba070,sub_71010BA070,56,_ZN4ksys8Revision18SingletonDisposer_D1Ev
|
||||
0x00000071010ba0a8,sub_71010BA0A8,92,_ZN4ksys8Revision18SingletonDisposer_D0Ev
|
||||
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,
|
||||
|
|
Can't render this file because it is too large.
|
|
@ -16,6 +16,8 @@ target_sources(uking PRIVATE
|
|||
PlayReportMgr.h
|
||||
ProductReporter.cpp
|
||||
ProductReporter.h
|
||||
Revision.cpp
|
||||
Revision.h
|
||||
StageInfo.cpp
|
||||
StageInfo.h
|
||||
StringBoard.h
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#include "KingSystem/System/Revision.h"
|
||||
|
||||
namespace ksys {
|
||||
|
||||
SEAD_SINGLETON_DISPOSER_IMPL(Revision)
|
||||
|
||||
// Stubbed in release builds
|
||||
|
||||
void Revision::init(sead::Heap* heap) {}
|
||||
|
||||
void Revision::loadInfo() {}
|
||||
|
||||
} // namespace ksys
|
|
@ -0,0 +1,36 @@
|
|||
#pragma once
|
||||
|
||||
#include <heap/seadDisposer.h>
|
||||
#include <hostio/seadHostIONode.h>
|
||||
#include "KingSystem/Utils/Types.h"
|
||||
|
||||
namespace ksys {
|
||||
|
||||
class Revision final : public sead::hostio::Node {
|
||||
SEAD_SINGLETON_DISPOSER(Revision)
|
||||
Revision() = default;
|
||||
|
||||
public:
|
||||
void init(sead::Heap* heap);
|
||||
void loadInfo();
|
||||
|
||||
void* get28() const { return _28; }
|
||||
int getResourceVer() const { return mResourceVer; }
|
||||
int getProgramVer() const { return mProgramVer; }
|
||||
const sead::SafeString* getBuilderName() const { return mBuilderName; }
|
||||
const sead::SafeString* getStageSelectName() const { return mStageSelectName; }
|
||||
int get48() const { return _48; }
|
||||
int get4C() const { return _4c; }
|
||||
|
||||
private:
|
||||
void* _28{};
|
||||
int mResourceVer = -1;
|
||||
int mProgramVer = -1;
|
||||
const sead::SafeString* mBuilderName{};
|
||||
const sead::SafeString* mStageSelectName{};
|
||||
int _48 = -1;
|
||||
int _4c = 0;
|
||||
};
|
||||
KSYS_CHECK_SIZE_NX150(Revision, 0x50);
|
||||
|
||||
} // namespace ksys
|
Loading…
Reference in New Issue