OpenTTD Source 20241224-master-gf74b0cf984
GetNewVehiclePosResult Struct Reference

Position information of a vehicle after it moved. More...

#include <vehicle_func.h>

Data Fields

int x
 
int y
 x and y position of the vehicle after moving
 
TileIndex old_tile
 Current tile of the vehicle.
 
TileIndex new_tile
 Tile of the vehicle after moving.
 

Detailed Description

Position information of a vehicle after it moved.

Definition at line 77 of file vehicle_func.h.

Field Documentation

◆ new_tile

TileIndex GetNewVehiclePosResult::new_tile

Tile of the vehicle after moving.

Definition at line 80 of file vehicle_func.h.

Referenced by AircraftController(), GetNewVehiclePos(), and TrainController().

◆ old_tile

TileIndex GetNewVehiclePosResult::old_tile

Current tile of the vehicle.

Definition at line 79 of file vehicle_func.h.

Referenced by AircraftController(), GetNewVehiclePos(), and TrainController().

◆ x

int GetNewVehiclePosResult::x

Definition at line 78 of file vehicle_func.h.

◆ y


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