mirror of https://github.com/zeldaret/botw.git
Update sead
This commit is contained in:
parent
3dd4331fc9
commit
a9de0746e2
2
lib/sead
2
lib/sead
|
@ -1 +1 @@
|
|||
Subproject commit be07bdf3a2053cc22d353793d0875564180b1997
|
||||
Subproject commit 09f3cdd5c83e0bcf6e67eb983e3f992e17f44b39
|
|
@ -7,6 +7,7 @@ namespace ksys::act {
|
|||
// FIXME: very incomplete
|
||||
class ASSetting {
|
||||
SEAD_SINGLETON_DISPOSER(ASSetting)
|
||||
ASSetting() = default;
|
||||
};
|
||||
|
||||
} // namespace ksys::act
|
||||
|
|
|
@ -16,6 +16,7 @@ public:
|
|||
|
||||
class ActorFactoryHolder {
|
||||
SEAD_SINGLETON_DISPOSER(ActorFactoryHolder)
|
||||
ActorFactoryHolder() = default;
|
||||
virtual ~ActorFactoryHolder();
|
||||
|
||||
public:
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace ksys::act {
|
|||
|
||||
class ActorTemplate {
|
||||
SEAD_SINGLETON_DISPOSER(ActorTemplate)
|
||||
ActorTemplate() = default;
|
||||
virtual ~ActorTemplate();
|
||||
|
||||
public:
|
||||
|
|
|
@ -87,6 +87,7 @@ KSYS_CHECK_SIZE_NX150(BaseProcLinkData, 0x58);
|
|||
|
||||
class BaseProcLinkDataMgr {
|
||||
SEAD_SINGLETON_DISPOSER(BaseProcLinkDataMgr)
|
||||
BaseProcLinkDataMgr() = default;
|
||||
|
||||
public:
|
||||
bool acquireLink(BaseProc* proc);
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace ksys::act {
|
|||
|
||||
class ActorDebug {
|
||||
SEAD_SINGLETON_DISPOSER(ActorDebug)
|
||||
ActorDebug();
|
||||
virtual ~ActorDebug();
|
||||
|
||||
public:
|
||||
|
|
|
@ -13,6 +13,8 @@ namespace ksys::dmg {
|
|||
class DamageInfoMgr {
|
||||
public:
|
||||
SEAD_SINGLETON_DISPOSER(DamageInfoMgr);
|
||||
DamageInfoMgr();
|
||||
virtual ~DamageInfoMgr();
|
||||
|
||||
public:
|
||||
// FIXME: incomplete
|
||||
|
@ -22,7 +24,7 @@ public:
|
|||
sead::SafeArray<u8, 3> mCanTakeDamageFromType;
|
||||
};
|
||||
|
||||
u8 TEMP1[0x5F8]; // Fields
|
||||
u8 TEMP1[0x5F0]; // Fields
|
||||
res::Handle* mReactionTable; // 0x5D0
|
||||
sead::Buffer<DamageItem> mDamagesArray; // 0x620
|
||||
};
|
||||
|
|
|
@ -103,12 +103,15 @@ KSYS_CHECK_SIZE_NX150(PlacementActors, 0x2A80D0);
|
|||
|
||||
class PlacementMgr {
|
||||
SEAD_SINGLETON_DISPOSER(PlacementMgr)
|
||||
PlacementMgr();
|
||||
virtual ~PlacementMgr();
|
||||
|
||||
public:
|
||||
enum class MgrFlag {
|
||||
_1000000 = 0x1000000,
|
||||
};
|
||||
|
||||
u8 TEMP1[0x1D0];
|
||||
u8 TEMP1[0x1C8];
|
||||
PlacementActors* mPlacementActors;
|
||||
u8 TEMP2[0x48C];
|
||||
sead::TypedBitFlag<MgrFlag, sead::Atomic<u32>> mFlags;
|
||||
|
|
|
@ -10,6 +10,8 @@ namespace ksys::res {
|
|||
/// Stubbed in release builds.
|
||||
class CurrentResNameMgr {
|
||||
SEAD_SINGLETON_DISPOSER(CurrentResNameMgr)
|
||||
CurrentResNameMgr() = default;
|
||||
|
||||
public:
|
||||
void init(sead::Heap* heap);
|
||||
sead::SafeString getCurrentResName() const;
|
||||
|
|
|
@ -8,6 +8,7 @@ namespace ksys::snd {
|
|||
// FIXME: incomplete
|
||||
class SoundResource {
|
||||
SEAD_SINGLETON_DISPOSER(SoundResource)
|
||||
SoundResource() = default;
|
||||
virtual ~SoundResource();
|
||||
|
||||
public:
|
||||
|
|
|
@ -16,6 +16,7 @@ public:
|
|||
// FIXME
|
||||
class KingEditor {
|
||||
SEAD_SINGLETON_DISPOSER(KingEditor)
|
||||
KingEditor() = default;
|
||||
|
||||
public:
|
||||
void registerComponent(KingEditorComponent* component);
|
||||
|
|
|
@ -19,6 +19,7 @@ class ProductReporter;
|
|||
|
||||
class PlayReportMgr {
|
||||
SEAD_SINGLETON_DISPOSER(PlayReportMgr)
|
||||
PlayReportMgr() = default;
|
||||
virtual ~PlayReportMgr();
|
||||
|
||||
public:
|
||||
|
|
|
@ -7,6 +7,8 @@ namespace ksys::util {
|
|||
// Name, layout and purpose unknown; this is stubbed in release builds
|
||||
class DebugHeapHolder {
|
||||
SEAD_SINGLETON_DISPOSER(DebugHeapHolder)
|
||||
DebugHeapHolder() = default;
|
||||
|
||||
public:
|
||||
virtual ~DebugHeapHolder() = default;
|
||||
virtual sead::Heap* getHeap() { return nullptr; }
|
||||
|
@ -17,6 +19,8 @@ SEAD_SINGLETON_DISPOSER_IMPL(DebugHeapHolder)
|
|||
// Name, layout and purpose unknown; this is stubbed in release builds
|
||||
class DebugHeapHolder2 {
|
||||
SEAD_SINGLETON_DISPOSER(DebugHeapHolder2)
|
||||
DebugHeapHolder2() = default;
|
||||
|
||||
public:
|
||||
virtual ~DebugHeapHolder2() = default;
|
||||
virtual sead::Heap* getHeap() { return nullptr; }
|
||||
|
|
Loading…
Reference in New Issue