SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RailGraph Class Reference

Public Member Functions

s32 addNode (const TVec3f &)
 
void connectNodeTwoWay (s32, s32, const RailGraphEdge *)
 
RailGraphNodegetNode (s32) const
 
RailGraphEdgegetEdge (s32) const
 
bool isValidEdge (s32) const
 
void connectEdgeToNode (s32, s32)
 
RailGraphIter getIterator () const
 

Public Attributes

RailGraphNodemNodes
 
s32 mNodeCount
 
u32 _8
 
RailGraphEdgemEdges
 
s32 mEdgeCount
 
s32 _14
 

Detailed Description

Definition at line 10 of file RailGraph.hpp.

Constructor & Destructor Documentation

◆ RailGraph()

RailGraph::RailGraph ( )

Definition at line 6 of file RailGraph.cpp.

Member Function Documentation

◆ addNode()

s32 RailGraph::addNode ( const TVec3f & rVec)

Definition at line 20 of file RailGraph.cpp.

◆ connectNodeTwoWay()

void RailGraph::connectNodeTwoWay ( s32 a1,
s32 a2,
const RailGraphEdge * pEdge )

Definition at line 35 of file RailGraph.cpp.

◆ getNode()

RailGraphNode * RailGraph::getNode ( s32 idx) const

Definition at line 54 of file RailGraph.cpp.

◆ getEdge()

RailGraphEdge * RailGraph::getEdge ( s32 idx) const

Definition at line 58 of file RailGraph.cpp.

◆ isValidEdge()

bool RailGraph::isValidEdge ( s32 edgeIdx) const

Definition at line 62 of file RailGraph.cpp.

◆ connectEdgeToNode()

void RailGraph::connectEdgeToNode ( s32 a1,
s32 a2 )

Definition at line 72 of file RailGraph.cpp.

◆ getIterator()

RailGraphIter RailGraph::getIterator ( ) const

Definition at line 93 of file RailGraph.cpp.

Member Data Documentation

◆ mNodes

RailGraphNode* RailGraph::mNodes

Definition at line 22 of file RailGraph.hpp.

◆ mNodeCount

s32 RailGraph::mNodeCount

Definition at line 23 of file RailGraph.hpp.

◆ _8

u32 RailGraph::_8

Definition at line 24 of file RailGraph.hpp.

◆ mEdges

RailGraphEdge* RailGraph::mEdges

Definition at line 25 of file RailGraph.hpp.

◆ mEdgeCount

s32 RailGraph::mEdgeCount

Definition at line 26 of file RailGraph.hpp.

◆ _14

s32 RailGraph::_14

Definition at line 27 of file RailGraph.hpp.