OpenTTD Source 20260208-master-g43af8e94d0
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 214 of file vehicle_func.h.

Field Documentation

◆ new_tile

TileIndex GetNewVehiclePosResult::new_tile

Tile of the vehicle after moving.

Definition at line 217 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 216 of file vehicle_func.h.

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

◆ x

int GetNewVehiclePosResult::x

Definition at line 215 of file vehicle_func.h.

◆ y


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