Skip to content

Commit

Permalink
Add initial pathfinding class files
Browse files Browse the repository at this point in the history
  • Loading branch information
Antidote committed Dec 17, 2024
1 parent c854a74 commit 29b6f94
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/MetroidPrime/PathFinding/CPathFindArea.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "MetroidPrime/PathFinding/CPathFindArea.hpp"
21 changes: 21 additions & 0 deletions src/MetroidPrime/PathFinding/CPathFindRegion.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#include "MetroidPrime/PathFinding/CPathFindRegion.hpp"

#include "MetroidPrime/PathFinding/CPathFindArea.hpp"

CPFRegionData::CPFRegionData()
: x0_bestPointDistSq(0.f)
, x4_bestPoint(CVector3f::Zero())
, x10_cookie(-1)
, x14_cost(0.f)
, x18_g(0.f)
, x1c_h(0.f)
, x20_parent(nullptr)
, x24_openLess(nullptr)
, x28_openMore(nullptr)
, x2c_parentLink(0) {

};


void CPFRegion::Fixup(CPFArea& area, int& numNodes) {
}
1 change: 1 addition & 0 deletions src/MetroidPrime/PathFinding/CPathFindSearch.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "MetroidPrime/PathFinding/CPathFindSearch.hpp"

0 comments on commit 29b6f94

Please sign in to comment.