![]() |
VR-Forces 4.7 Class Documentation
|
Go to the source code of this file.
Classes | |
| class | DtRailMovementControllerPSR |
| Instances of DtRailMovementControllerPSR are used to hold the shared/checkpointable data for a rail movement system. More... | |
Enumerations | |
| enum | DtRailMovementState { DtNoMovement = 0, DtMovementAlongSegment, DtMovementApproachingTurn, DtMovementTurning, DtMovementApproachingSwitchLanes, DtMovementSwitchLanes, DtMovementPassing, DtMovementRerouteToNextSegment, DtMovementApproachingDestination, DtMovementStop } |
| Used to keep the current state of an entity as it travels along a route using the rail system. More... | |
| enum DtRailMovementState |
Used to keep the current state of an entity as it travels along a route using the rail system.
If the enumeration below is changed, also change the string names for these states defined in railMovementController.cxx. For road movement, 3 states are used: DtMovementAlongSegment is the normal state when doing the task. DtMovementStop means that the task is finished, and should exit. DtNoMovement means the entity has been stopped because it is out of fuel, has a mobility kill, or is destroyed; in this state it will not compute movement, but will retain its route in case it is restored.