mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-04 13:23:46 +00:00
(svn r14702) -Documentation: Add a note about the meaning and validity of Vehicle::dest_tile.
This commit is contained in:
parent
4ed946bca2
commit
74ed0b5efc
@ -217,7 +217,13 @@ public:
|
||||
char *name; ///< Name of vehicle
|
||||
|
||||
TileIndex tile; ///< Current tile index
|
||||
TileIndex dest_tile; ///< Heading for this tile
|
||||
|
||||
/**
|
||||
* Heading for this tile.
|
||||
* For airports and train stations this tile does not necessarily belong to the destination station,
|
||||
* but it can be used for heuristical purposes to estimate the distance.
|
||||
*/
|
||||
TileIndex dest_tile;
|
||||
|
||||
Money profit_this_year; ///< Profit this year << 8, low 8 bits are fract
|
||||
Money profit_last_year; ///< Profit last year << 8, low 8 bits are fract
|
||||
|
Loading…
Reference in New Issue
Block a user