blob: 296a24e29ed87d56f815906b46beede99dc42339 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "KingSystem/Map/mapDebug.h"
#include "KingSystem/ActorSystem/actActor.h"
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
|