Files
Petari/include/Game/Map/RailGraphEdge.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

47 lines
1.1 KiB
C++

#pragma once
#include <revolution.h>
class JMapInfo;
class RailGraphEdge {
public:
RailGraphEdge();
void clearConnectInfo();
s32 getNextNode(s32) const;
s32 getNextEdge(s32) const;
void setNextEdge(s32, s32);
void setArgs(const JMapInfo*, s32);
void operator=(const RailGraphEdge& rEdge) {
mDistance = rEdge.mDistance;
_4 = rEdge._4;
_8 = rEdge._8;
_C = rEdge._C;
_10 = rEdge._10;
mPointArg0 = rEdge.mPointArg0;
mPointArg1 = rEdge.mPointArg1;
mPointArg2 = rEdge.mPointArg2;
mPointArg3 = rEdge.mPointArg3;
mPointArg4 = rEdge.mPointArg4;
mPointArg5 = rEdge.mPointArg5;
mPointArg6 = rEdge.mPointArg6;
mPointArg7 = rEdge.mPointArg7;
}
/* 0x00 */ f32 mDistance;
/* 0x04 */ s32 _4;
/* 0x08 */ s32 _8;
/* 0x0C */ s32 _C;
/* 0x10 */ s32 _10;
/* 0x14 */ s32 mPointArg0;
/* 0x18 */ s32 mPointArg1;
/* 0x1C */ s32 mPointArg2;
/* 0x20 */ s32 mPointArg3;
/* 0x24 */ s32 mPointArg4;
/* 0x28 */ s32 mPointArg5;
/* 0x2C */ s32 mPointArg6;
/* 0x30 */ s32 mPointArg7;
};