mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-10 04:41:32 -10:00
* (Cleanup) offset comments for DinoPackun * (Cleanup) offset comments for SkeletalFishBoss * (Cleanup) offset comments for CameraTranslators * (Cleanup) offset comments for Demos * (Cleanup) offset comments for Enemies * (Cleanup) offset comments for Gravities * (Cleanup) offset comments for LiveActors * (Cleanup) offset comments for Maps * (Cleanup) offset comments for MapObjs * (Cleanup) offset comments for NameObjs * (Cleanup) offset comments for NPCs * (Cleanup) offset comments for Player * (Cleanup) offset comments for Scenes * (Cleanup) offset comments for System * (Cleanup) offset comments for Utils * (Cleanup) offset comments for JSystem * (Cleanup) offset comments for MetroTRK * forgot the union comments * (Cleanup) offset comments for MSL_C * (Cleanup) offset comments for nw4r * (Cleanup) offset comments for the SDK * (Cleanup) offset comments for all that was left
29 lines
649 B
C++
29 lines
649 B
C++
#pragma once
|
|
|
|
#include <JSystem/JGeometry.hpp>
|
|
#include <revolution.h>
|
|
|
|
class RailGraphIter;
|
|
class RailGraphNode;
|
|
class RailGraphEdge;
|
|
|
|
class RailGraph {
|
|
public:
|
|
RailGraph();
|
|
|
|
s32 addNode(const TVec3f&);
|
|
void connectNodeTwoWay(s32, s32, const RailGraphEdge*);
|
|
RailGraphNode* getNode(s32) const;
|
|
RailGraphEdge* getEdge(s32) const;
|
|
bool isValidEdge(s32) const;
|
|
void connectEdgeToNode(s32, s32);
|
|
RailGraphIter getIterator() const;
|
|
|
|
/* 0x00 */ RailGraphNode* mNodes;
|
|
/* 0x04 */ s32 mNodeCount;
|
|
/* 0x08 */ u32 _8;
|
|
/* 0x0C */ RailGraphEdge* mEdges;
|
|
/* 0x10 */ s32 mEdgeCount;
|
|
/* 0x14 */ s32 _14;
|
|
};
|