OpenTTD Source 20250503-master-gf4f05dea33
|
Set of callback functions for performing tile operations of a given tile type. More...
#include <tile_cmd.h>
Data Fields | |
DrawTileProc * | draw_tile_proc |
Called to render the tile and its contents to the screen. | |
GetSlopeZProc * | get_slope_z_proc |
ClearTileProc * | clear_tile_proc |
AddAcceptedCargoProc * | add_accepted_cargo_proc |
Adds accepted cargo of the tile to cargo array supplied as parameter. | |
GetTileDescProc * | get_tile_desc_proc |
Get a description of a tile (for the 'land area information' tool) | |
GetTileTrackStatusProc * | get_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 |
AddProducedCargoProc * | add_produced_cargo_proc |
Adds produced cargo of the tile to cargo array supplied as parameter. | |
VehicleEnterTileProc * | vehicle_enter_tile_proc |
Called when a vehicle enters a tile. | |
GetFoundationProc * | get_foundation_proc |
TerraformTileProc * | terraform_tile_proc |
Called when a terraforming operation is about to take place. | |
Set of callback functions for performing tile operations of a given tile type.
Definition at line 144 of file tile_cmd.h.
AddAcceptedCargoProc* TileTypeProcs::add_accepted_cargo_proc |
Adds accepted cargo of the tile to cargo array supplied as parameter.
Definition at line 148 of file tile_cmd.h.
AddProducedCargoProc* TileTypeProcs::add_produced_cargo_proc |
Adds produced cargo of the tile to cargo array supplied as parameter.
Definition at line 155 of file tile_cmd.h.
AnimateTileProc* TileTypeProcs::animate_tile_proc |
Definition at line 152 of file tile_cmd.h.
ChangeTileOwnerProc* TileTypeProcs::change_tile_owner_proc |
Definition at line 154 of file tile_cmd.h.
ClearTileProc* TileTypeProcs::clear_tile_proc |
Definition at line 147 of file tile_cmd.h.
ClickTileProc* TileTypeProcs::click_tile_proc |
Called when tile is clicked.
Definition at line 151 of file tile_cmd.h.
DrawTileProc* TileTypeProcs::draw_tile_proc |
Called to render the tile and its contents to the screen.
Definition at line 145 of file tile_cmd.h.
Referenced by ViewportAddLandscape().
GetFoundationProc* TileTypeProcs::get_foundation_proc |
Definition at line 157 of file tile_cmd.h.
GetSlopeZProc* TileTypeProcs::get_slope_z_proc |
Definition at line 146 of file tile_cmd.h.
GetTileDescProc* TileTypeProcs::get_tile_desc_proc |
Get a description of a tile (for the 'land area information' tool)
Definition at line 149 of file tile_cmd.h.
GetTileTrackStatusProc* TileTypeProcs::get_tile_track_status_proc |
Get available tracks and status of a tile.
Definition at line 150 of file tile_cmd.h.
Referenced by GetTileTrackStatus().
TerraformTileProc* TileTypeProcs::terraform_tile_proc |
Called when a terraforming operation is about to take place.
Definition at line 158 of file tile_cmd.h.
Referenced by CmdTerraformLand().
TileLoopProc* TileTypeProcs::tile_loop_proc |
Definition at line 153 of file tile_cmd.h.
VehicleEnterTileProc* TileTypeProcs::vehicle_enter_tile_proc |
Called when a vehicle enters a tile.
Definition at line 156 of file tile_cmd.h.
Referenced by VehicleEnterTile().