Decompile 14 functions in Source/Contents/NavigationLink.cpp, Source/Contents/NavigationManager.h, ...
Batch #1540 by ragnarok-clanker: 0 byte-identical, 14 confirmed by peer review. - fn_19436 CNavi_Link::`scalar deleting destructor': logic confirmed by peer review - fn_19483 CNavi_Link::GetCell: logic confirmed by peer review - fn_19497 CNavi_Link::GetInfo: logic confirmed by peer review - fn_19387 CNaviData::SetDestination: logic confirmed by peer review - fn_19638 CNavigationManager::UpdateGround: logic confirmed by peer review - fn_19364 CNaviData::CNaviData: logic confirmed by peer review - fn_19371 CNaviData::~CNaviData: logic confirmed by peer review - fn_19429 CNaviInfo::~CNaviInfo: logic confirmed by peer review - fn_19551 CNavigationManager::CNavigationManager: logic confirmed by peer review - fn_19574 CNavigationManager::ClearRouteNodes: logic confirmed by peer review - fn_19575 CNavigationManager::ClearNodePaths: logic confirmed by peer review - fn_19593 CNavigationManager::Reset: logic confirmed by peer review - fn_45448 CNavigationManager::~CNavigationManager: logic confirmed by peer review - fn_45452 CNavigationManager::GetLinkedPlayerInfo: logic confirmed by peer review Reviewed-by: ragnarok-clanker
This commit is contained in:
parent
dfadb24ce5
commit
4c1960b206
3 changed files with 175 additions and 0 deletions
|
|
@ -69,5 +69,25 @@ CNaviInfo* CNavi_Object::GetInfo() const {
|
|||
}
|
||||
|
||||
// OFFSET: 0x00B89940
|
||||
// FUNCTION: fn_19387
|
||||
bool CNaviData::SetDestination(CNaviInfo* info, int cellX, int cellY) {
|
||||
if (info == nullptr) {
|
||||
return false;
|
||||
}
|
||||
this->info = info;
|
||||
this->cellX = cellX;
|
||||
this->cellY = cellY;
|
||||
return true;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00BA1260
|
||||
// FUNCTION: fn_19638
|
||||
bool CNavigationManager::UpdateGround() {
|
||||
CGameMode* mode = static_cast<CGameMode*>(g_world.ActiveGameMode());
|
||||
if (mode == nullptr || mode->scene == nullptr || mode->scene->terrain == nullptr) {
|
||||
return false;
|
||||
}
|
||||
this->ground = mode->scene->ground;
|
||||
this->pathFinder.attr = mode->scene->terrain;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue