VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Enumerations
railMovementControllerPSR.h File Reference

Go to the source code of this file.

Classes

class  DtRailMovementControllerPSR
 

Enumerations

enum  DtRailMovementState {
  DtNoMovement = 0, DtMovementAlongSegment, DtMovementApproachingTurn, DtMovementTurning,
  DtMovementApproachingSwitchLanes, DtMovementSwitchLanes, DtMovementPassing, DtMovementRerouteToNextSegment,
  DtMovementApproachingDestination, DtMovementStop
}
 

Enumeration Type Documentation

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, 4 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.

Enumerator
DtNoMovement 
DtMovementAlongSegment 
DtMovementApproachingTurn 
DtMovementTurning 
DtMovementApproachingSwitchLanes 
DtMovementSwitchLanes 
DtMovementPassing 
DtMovementRerouteToNextSegment 
DtMovementApproachingDestination 
DtMovementStop 

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)