Decompile 4 functions in Source/Client/Mode/CGameMode.h, Source/Contents/Ground/TerrainCoordinates.cpp, ...
Batch #1556 by ragnarok-clanker: 2 byte-identical, 2 confirmed by peer review. - fn_19489 CNavi_Link::GetLinkedInfo: byte-identical - fn_19481 CNaviInfo::IsVisited: byte-identical - fn_45449 CNaviData::Clear: logic confirmed by peer review - fn_19371 CNaviData::~CNaviData: logic confirmed by peer review Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/Contents/NavigationDestinations.cpp, Source/Contents/NavigationGraph.cpp, Source/Contents/WorldNavigation.cpp
This commit is contained in:
parent
f0050dbf61
commit
4cf3413524
12 changed files with 350 additions and 27 deletions
|
|
@ -194,19 +194,19 @@ CNaviInfo* CNaviData::GetInfo() {
|
|||
// OFFSET: 0x00B88A00
|
||||
// FUNCTION: fn_45449
|
||||
void CNaviData::Clear() {
|
||||
this->unknown_0034.clear();
|
||||
this->startLinks.clear();
|
||||
this->info = nullptr;
|
||||
this->cellX = 0;
|
||||
this->cellY = 0;
|
||||
this->range = 50000;
|
||||
this->unknown_0040.clear();
|
||||
this->endLinks.clear();
|
||||
|
||||
for (NaviDataEntry& entry : this->unknown_0028) {
|
||||
entry.unknown_0000 = -1;
|
||||
entry.unknown_0004 = 0;
|
||||
entry.unknown_0008 = 0;
|
||||
for (NaviDataEntry& entry : this->entries) {
|
||||
entry.previous = -1;
|
||||
entry.link = nullptr;
|
||||
entry.cost = 0;
|
||||
}
|
||||
this->unknown_0028.clear();
|
||||
this->entries.clear();
|
||||
}
|
||||
|
||||
// OFFSET: 0x00B8CD60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue