mirror of https://github.com/zeldaret/botw.git
map debug stubs
This commit is contained in:
parent
5fd19128f5
commit
4758d41d69
|
@ -80435,8 +80435,8 @@ Address,Quality,Size,Name
|
||||||
0x0000007100ee9c40,U,000080,
|
0x0000007100ee9c40,U,000080,
|
||||||
0x0000007100ee9c90,U,000088,wm::isExposureZero
|
0x0000007100ee9c90,U,000088,wm::isExposureZero
|
||||||
0x0000007100ee9ce8,U,000120,
|
0x0000007100ee9ce8,U,000120,
|
||||||
0x0000007100ee9d60,U,000144,PlacementObj::printDebugMsg
|
0x0000007100ee9d60,O,000144,_ZN4ksys3map13printDebugMsgEPNS0_6ObjectERKN4sead14SafeStringBaseIcEEPKc
|
||||||
0x0000007100ee9df0,U,000144,actSomeDebugLogForMapObj
|
0x0000007100ee9df0,O,000144,_ZN4ksys3map13printDebugMsgEPNS_3act5ActorERKN4sead14SafeStringBaseIcEEPKc
|
||||||
0x0000007100ee9e80,U,000012,getIsGetPrefix
|
0x0000007100ee9e80,U,000012,getIsGetPrefix
|
||||||
0x0000007100ee9e8c,U,000112,checkIsGetSameGroupActorName
|
0x0000007100ee9e8c,U,000112,checkIsGetSameGroupActorName
|
||||||
0x0000007100ee9efc,U,000636,checkIsGet
|
0x0000007100ee9efc,U,000636,checkIsGet
|
||||||
|
|
Can't render this file because it is too large.
|
|
@ -1,3 +1,23 @@
|
||||||
#include "KingSystem/Map/mapDebug.h"
|
#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>
|
#include <prim/seadSafeString.h>
|
||||||
|
|
||||||
|
namespace ksys::act {
|
||||||
|
class Actor;
|
||||||
|
} // namespace ksys::act
|
||||||
|
|
||||||
namespace ksys::map {
|
namespace ksys::map {
|
||||||
|
|
||||||
class Object;
|
class Object;
|
||||||
|
|
||||||
|
void* makeProjectMapMuuntPath(const sead::SafeString& path, Object* object);
|
||||||
bool printDebugMsg(Object* object, const sead::SafeString& msg, const char* config_name);
|
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
|
} // namespace ksys::map
|
||||||
|
|
Loading…
Reference in New Issue