diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-08 15:51:44 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-11-08 16:17:44 +0100 |
| commit | a9ec880f2ef182947bb1bf037a3e388f1f466a86 (patch) | |
| tree | 58453ce275df02bdd2b1168039ee49861a44be13 /src/KingSystem/System | |
| parent | aa92bf882c41b292a9ee11b6ec5ba8593b4b4fc2 (diff) | |
ksys/act: Fix ActorParamMgr struct and add ASSetting stub
Diffstat (limited to 'src/KingSystem/System')
| -rw-r--r-- | src/KingSystem/System/DebugMessage.h | 30 | ||||
| -rw-r--r-- | src/KingSystem/System/KingEditor.h | 5 |
2 files changed, 34 insertions, 1 deletions
diff --git a/src/KingSystem/System/DebugMessage.h b/src/KingSystem/System/DebugMessage.h new file mode 100644 index 00000000..96ab60da --- /dev/null +++ b/src/KingSystem/System/DebugMessage.h @@ -0,0 +1,30 @@ +#pragma once + +#include <basis/seadTypes.h> +#include <gfx/seadColor.h> +#include <prim/seadSafeString.h> +#include "KingSystem/Utils/Types.h" + +namespace ksys { + +struct DebugMessage { + DebugMessage() = default; + explicit DebugMessage(const sead::SafeString& msg) : message(msg) {} + + virtual ~DebugMessage() { ; } + + void log(const char* format, ...); + + u64 _8 = 0; + sead::FixedSafeString<64> message; + sead::Color4f color = sead::Color4f::cWhite; + f32 _78 = 0.3; + f32 _7c = 0.3; + f32 _80 = 0.3; + f32 _84 = 0.8; + bool _88 = true; + bool _89 = true; +}; +KSYS_CHECK_SIZE_NX150(DebugMessage, 0x90); + +} // namespace ksys diff --git a/src/KingSystem/System/KingEditor.h b/src/KingSystem/System/KingEditor.h index 45404ca9..2b103d2f 100644 --- a/src/KingSystem/System/KingEditor.h +++ b/src/KingSystem/System/KingEditor.h @@ -7,7 +7,10 @@ namespace ksys { class KingEditorComponent { public: virtual const char* getName() const = 0; - virtual void syncData() = 0; + virtual void syncData(const char* data) = 0; + + void* _8 = nullptr; + void* _10 = nullptr; }; // FIXME |
