4#include "JSystem/JGeometry.hpp"
10 f32 getRailTotalLength(
const LiveActor *);
13 s32 getCurrentRailPointNo(
const LiveActor *);
15 void calcRailPosAtCoord(TVec3f *,
const LiveActor *, f32);
17 void calcRailDirectionAtCoord(TVec3f *,
const LiveActor *, f32);
19 void calcRailPointPos(TVec3f *,
const LiveActor *,
int);
21 f32 getRailPointCoord(
const LiveActor *,
int);
23 bool isRailReachedGoal(
const LiveActor *);
25 void initAndSetRailClipping(TVec3f *,
LiveActor *, f32, f32);
27 void moveCoordToNearestPos(
LiveActor *,
const TVec3f &);
29 void moveCoordAndTransToNearestRailPos(
LiveActor *);
30 void moveTransToCurrentRailPos(
LiveActor *);
36 void accelerateRailCoordSpeed(
LiveActor *, f32);
42 const TVec3f& getRailPos(
const LiveActor *);
43 const TVec3f& getRailDirection(
const LiveActor *);
47 bool getJMapInfoRailArg0NoInit(
const LiveActor *, s32 *);
48 bool getRailPointArg0NoInit(
const LiveActor *, s32, f32 *);
50 bool getRailPointArg0WithInit(
const LiveActor *, s32, s32 *);
52 bool getRailArg0WithInit(
const LiveActor *, s32 *);
53 bool getRailArg1WithInit(
const RailRider *, s32 *);
55 f64 calcNearestRailCoord(
const LiveActor *,
const TVec3f &);
57 void moveCoordAndFollowTrans(
LiveActor *, f32);
63 void moveCoordToEndPos(
const LiveActor *);
65 void slowDownRailCoordSpeed(
const LiveActor *, f32);
71 void setRailDirectionToEnd(
const LiveActor *);
75 const TVec3f& getRailPointPosEnd(
const LiveActor *);
76 void calcRailEndPointPos(TVec3f *,
const LiveActor *);
77 void calcNearestRailPos(TVec3f *,
const LiveActor *,
const TVec3f &);
The basis of a drawable actor that can contain states (see: Nerve)