OpenTTD Source 20241224-master-gf74b0cf984
TrainCollideChecker Struct Reference

Temporary data storage for testing collisions. More...

Data Fields

Trainv
 Vehicle we are testing for collision.
 
uint num
 Total number of victims if train collided.
 

Detailed Description

Temporary data storage for testing collisions.

Definition at line 3168 of file train_cmd.cpp.

Field Documentation

◆ num

uint TrainCollideChecker::num

Total number of victims if train collided.

Definition at line 3170 of file train_cmd.cpp.

Referenced by CheckTrainCollision(), and FindTrainCollideEnum().

◆ v

Train* TrainCollideChecker::v

Vehicle we are testing for collision.

Definition at line 3169 of file train_cmd.cpp.

Referenced by CheckTrainCollision(), and FindTrainCollideEnum().


The documentation for this struct was generated from the following file: