|
@@ -100,13 +100,13 @@ typedef TrackStatus GetTileTrackStatusPr
|
|
|
/**
|
|
|
* Tile callback function signature for obtaining the produced cargo of a tile.
|
|
|
* @param tile Tile being queried
|
|
|
* @param b Destination array of produced cargo
|
|
|
*/
|
|
|
typedef void GetProducedCargoProc(TileIndex tile, CargoID *b);
|
|
|
typedef void ClickTileProc(TileIndex tile);
|
|
|
typedef bool ClickTileProc(TileIndex tile);
|
|
|
typedef void AnimateTileProc(TileIndex tile);
|
|
|
typedef void TileLoopProc(TileIndex tile);
|
|
|
typedef void ChangeTileOwnerProc(TileIndex tile, Owner old_owner, Owner new_owner);
|
|
|
|
|
|
/** @see VehicleEnterTileStatus to see what the return values mean */
|
|
|
typedef VehicleEnterTileStatus VehicleEnterTileProc(Vehicle *v, TileIndex tile, int x, int y);
|
|
@@ -153,10 +153,10 @@ extern const TileTypeProcs * const _tile
|
|
|
|
|
|
TrackStatus GetTileTrackStatus(TileIndex tile, TransportType mode, uint sub_mode, DiagDirection side = INVALID_DIAGDIR);
|
|
|
VehicleEnterTileStatus VehicleEnterTile(Vehicle *v, TileIndex tile, int x, int y);
|
|
|
void GetAcceptedCargo(TileIndex tile, AcceptedCargo ac);
|
|
|
void ChangeTileOwner(TileIndex tile, Owner old_owner, Owner new_owner);
|
|
|
void AnimateTile(TileIndex tile);
|
|
|
void ClickTile(TileIndex tile);
|
|
|
bool ClickTile(TileIndex tile);
|
|
|
void GetTileDesc(TileIndex tile, TileDesc *td);
|
|
|
|
|
|
#endif /* TILE_CMD_H */
|