Files
Petari/include/Game/Map/RailGraphIter.hpp
NextOp-Next 7a82158b17 (Cleanup) Fix wrongly formatted offset comments. (#2147)
* (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
2026-10-10 14:47:49 -07:00

36 lines
896 B
C++

#pragma once
#include "Game/Map/RailGraph.hpp"
#include "Game/Map/RailGraphEdge.hpp"
#include "Game/Map/RailGraphNode.hpp"
class RailGraphIter {
public:
RailGraphIter(const RailGraph*);
RailGraphIter(const RailGraphIter& rIter) NO_INLINE {
*this = rIter;
}
void moveNodeNext();
void setNode(s32);
void watchStartEdge();
void watchNextEdge();
bool isWatchEndEdge() const;
void selectEdge();
void selectEdge(s32);
bool isWatchedPrevEdge() const;
bool isSelectedEdge() const;
RailGraphNode* getCurrentNode() const;
RailGraphNode* getNextNode() const;
RailGraphNode* getWatchNode() const;
RailGraphEdge* getCurrentEdge() const;
RailGraphEdge* getWatchEdge() const;
/* 0x00 */ const RailGraph* mGraph;
/* 0x04 */ s32 _4;
/* 0x08 */ s32 mSelectedEdge;
/* 0x0C */ s32 mNextEdge;
/* 0x10 */ s32 _10;
};