OpenTTD Source 20241224-master-gf74b0cf984
|
A pair-construct of a TileIndexDiff. More...
#include <map_type.h>
Data Fields | |
int16_t | x |
The x value of the coordinate. | |
int16_t | y |
The y value of the coordinate. | |
A pair-construct of a TileIndexDiff.
This can be used to save the difference between to tiles as a pair of x and y value.
Definition at line 31 of file map_type.h.
int16_t TileIndexDiffC::x |
The x value of the coordinate.
Definition at line 32 of file map_type.h.
Referenced by AddTileIndexDiffCWrap(), CircularTileSearch(), DoWatchedCargoCallback(), Airport::GetRotatedTileFromOffset(), GetTownRoadGridElement(), IndustriesChangeInfo(), AirportTileTableIterator::operator++(), TileIndexToTileIndexDiffC(), TileLoop_Town(), ToTileIndexDiff(), TownLayoutAllows2x2HouseHere(), TownLayoutAllowsHouseHere(), and VisitAdjacentWaterRegionPatchNeighbors().
int16_t TileIndexDiffC::y |
The y value of the coordinate.
Definition at line 33 of file map_type.h.
Referenced by AddTileIndexDiffCWrap(), CircularTileSearch(), DoWatchedCargoCallback(), Airport::GetRotatedTileFromOffset(), GetTownRoadGridElement(), IndustriesChangeInfo(), TileIndexToTileIndexDiffC(), TileLoop_Town(), ToTileIndexDiff(), TownLayoutAllows2x2HouseHere(), TownLayoutAllowsHouseHere(), and VisitAdjacentWaterRegionPatchNeighbors().