OpenTTD Source: ShipSubcoordData Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
ShipSubcoordData Struct Reference

Structure for ship sub-coordinate data for moving into a new tile via a Diagdir onto a Track. More...

## Data Fields
uint8_t | x_subcoord
| New X sub-coordinate on the new tile.
uint8_t | y_subcoord
| New Y sub-coordinate on the new tile.
Direction | dir
| New Direction to move in on the new track.

## Detailed Description

Structure for ship sub-coordinate data for moving into a new tile via a Diagdir onto a Track.

Definition at line 542 of file ship_cmd.cpp.

## Field Documentation

## ◆ dir

Direction ShipSubcoordData::dir

New Direction to move in on the new track.

Definition at line 545 of file ship_cmd.cpp.

## ◆ x_subcoord

uint8_t ShipSubcoordData::x_subcoord

New X sub-coordinate on the new tile.

Definition at line 543 of file ship_cmd.cpp.

## ◆ y_subcoord

uint8_t ShipSubcoordData::y_subcoord

New Y sub-coordinate on the new tile.

Definition at line 544 of file ship_cmd.cpp.

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

- src/ship_cmd.cpp