OpenTTD
Data Fields
TileTypeProcs Struct Reference

Set of callback functions for performing tile operations of a given tile type. More...

#include <tile_cmd.h>

Data Fields

DrawTileProcdraw_tile_proc
 Called to render the tile and its contents to the screen.
GetSlopeZProc * get_slope_z_proc
ClearTileProc * clear_tile_proc
AddAcceptedCargoProcadd_accepted_cargo_proc
 Adds accepted cargo of the tile to cargo array supplied as parameter.
GetTileDescProcget_tile_desc_proc
 Get a description of a tile (for the 'land area information' tool)
GetTileTrackStatusProcget_tile_track_status_proc
 Get available tracks and status of a tile.
ClickTileProc * click_tile_proc
 Called when tile is clicked.
AnimateTileProc * animate_tile_proc
TileLoopProc * tile_loop_proc
ChangeTileOwnerProc * change_tile_owner_proc
AddProducedCargoProcadd_produced_cargo_proc
 Adds produced cargo of the tile to cargo array supplied as parameter.
VehicleEnterTileProcvehicle_enter_tile_proc
 Called when a vehicle enters a tile.
GetFoundationProc * get_foundation_proc
TerraformTileProcterraform_tile_proc
 Called when a terraforming operation is about to take place.

Detailed Description

Set of callback functions for performing tile operations of a given tile type.

See Also
TileType

Definition at line 143 of file tile_cmd.h.


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