rodecomp/Source/Contents/Pathfinding.cpp
ragnarok-clanker 73cc345898 Decompile 7 functions in Source/Contents/MapSkyMgr.cpp, Source/Contents/MapSkyMgr.h, ...
Batch #1447 by Yommy: 0 byte-identical, 7 confirmed by peer review.

- fn_03435 CMapSkyMgr::LoadData: logic confirmed by peer review
- fn_23794 CSession::GetAccessoryName: logic confirmed by peer review
- fn_17667 WorldActors::Lookup: logic confirmed by peer review
- fn_17698 WorldObjects::SendObjectMessage: logic confirmed by peer review
- fn_17865 CPathFinder::~CPathFinder: logic confirmed by peer review
- fn_18334 LuaScript::TableField: logic confirmed by peer review
- fn_07925 CImfRes::Load: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker
Reviewed-by: ragnarok-clanker
2026-10-28 13:18:31 +00:00

27 lines
523 B
C++

#include "Contents/TerrainPathSearch.h"
#include "Resource/World/TerrainResource.h"
// OFFSET: 0x00AD85A0
// FUNCTION: fn_17865
CPathFinder::~CPathFinder() {
this->nodePool.clear();
this->Reset();
for (auto& [name, cached] : this->attrCache) {
delete cached;
}
this->attrCache.clear();
}
// OFFSET: 0x00AD8DB0
// FUNCTION: fn_17872
int CPathFinder::Height() const {
return this->attr->height;
}
// OFFSET: 0x00AD8DC0
// FUNCTION: fn_17873
int CPathFinder::Width() const {
return this->attr->width;
}