mirror of
https://github.com/zeldaret/botw
synced 2026-08-25 15:26:27 -04:00
map debug stubs
This commit is contained in:
@@ -1,3 +1,23 @@
|
||||
#include "KingSystem/Map/mapDebug.h"
|
||||
#include "KingSystem/ActorSystem/actActor.h"
|
||||
|
||||
namespace ksys::map {} // namespace ksys::map
|
||||
namespace ksys::map {
|
||||
|
||||
bool printDebugMsg(Object* object, const sead::SafeString& msg, const char* config_name) {
|
||||
if (object == nullptr)
|
||||
return false;
|
||||
|
||||
makeProjectMapMuuntPath(sead::FixedSafeString<0x200>(), object);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool printDebugMsg(ksys::act::Actor* actor, const sead::SafeString& msg, const char* config_name) {
|
||||
Object* o = actor->getMapObject();
|
||||
if (o == nullptr)
|
||||
return false;
|
||||
|
||||
makeProjectMapMuuntPath(sead::FixedSafeString<0x200>(), o);
|
||||
return true;
|
||||
}
|
||||
|
||||
} // namespace ksys::map
|
||||
|
||||
@@ -2,10 +2,16 @@
|
||||
|
||||
#include <prim/seadSafeString.h>
|
||||
|
||||
namespace ksys::act {
|
||||
class Actor;
|
||||
} // namespace ksys::act
|
||||
|
||||
namespace ksys::map {
|
||||
|
||||
class Object;
|
||||
|
||||
void* makeProjectMapMuuntPath(const sead::SafeString& path, Object* object);
|
||||
bool printDebugMsg(Object* object, const sead::SafeString& msg, const char* config_name);
|
||||
bool printDebugMsg(ksys::act::Actor* actor, const sead::SafeString& msg, const char* config_name);
|
||||
|
||||
} // namespace ksys::map
|
||||
|
||||
Reference in New Issue
Block a user