ksys: Implement KingEditor (stubbed)

This commit is contained in:
Léo Lam
2021-04-03 15:33:44 +02:00
parent 54934db3c4
commit 1b280ba633
4 changed files with 62 additions and 11 deletions
+27
View File
@@ -0,0 +1,27 @@
#include "KingSystem/System/KingEditor.h"
namespace ksys {
SEAD_SINGLETON_DISPOSER_IMPL(KingEditor)
void KingEditor::init(sead::Heap* heap) {
// Stubbed in release.
}
void KingEditor::calc() {
// Stubbed in release.
}
void KingEditor::registerComponent(KingEditorComponent* component) {
// Stubbed in release.
}
void KingEditor::log(const char* system, const char* message, void*, int) {
// Stubbed in release.
}
void KingEditorComponent::log(const char* message, void* x, int y) const {
KingEditor::instance()->log(getName(), message, x, y);
}
} // namespace ksys