|
@@ -24,29 +24,24 @@ static uint GetSlopeZ_Dummy(TileIndex ti
|
|
|
|
|
|
static Foundation GetFoundation_Dummy(TileIndex tile, Slope tileh)
|
|
|
{
|
|
|
return FOUNDATION_NONE;
|
|
|
}
|
|
|
|
|
|
static CommandCost ClearTile_Dummy(TileIndex tile, DoCommandFlag flags)
|
|
|
{
|
|
|
return_cmd_error(STR_ERROR_OFF_EDGE_OF_MAP);
|
|
|
}
|
|
|
|
|
|
|
|
|
static void GetAcceptedCargo_Dummy(TileIndex tile, AcceptedCargo ac)
|
|
|
{
|
|
|
/* not used */
|
|
|
}
|
|
|
|
|
|
static void GetTileDesc_Dummy(TileIndex tile, TileDesc *td)
|
|
|
{
|
|
|
td->str = STR_EMPTY;
|
|
|
td->owner[0] = OWNER_NONE;
|
|
|
}
|
|
|
|
|
|
static void AnimateTile_Dummy(TileIndex tile)
|
|
|
{
|
|
|
/* not used */
|
|
|
}
|
|
|
|
|
|
static void TileLoop_Dummy(TileIndex tile)
|
|
@@ -70,24 +65,24 @@ static TrackStatus GetTileTrackStatus_Du
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
static CommandCost TerraformTile_Dummy(TileIndex tile, DoCommandFlag flags, uint z_new, Slope tileh_new)
|
|
|
{
|
|
|
return_cmd_error(STR_ERROR_OFF_EDGE_OF_MAP);
|
|
|
}
|
|
|
|
|
|
extern const TileTypeProcs _tile_type_dummy_procs = {
|
|
|
DrawTile_Dummy, // draw_tile_proc
|
|
|
GetSlopeZ_Dummy, // get_slope_z_proc
|
|
|
ClearTile_Dummy, // clear_tile_proc
|
|
|
GetAcceptedCargo_Dummy, // get_accepted_cargo_proc
|
|
|
NULL, // get_accepted_cargo_proc
|
|
|
GetTileDesc_Dummy, // get_tile_desc_proc
|
|
|
GetTileTrackStatus_Dummy, // get_tile_track_status_proc
|
|
|
ClickTile_Dummy, // click_tile_proc
|
|
|
AnimateTile_Dummy, // animate_tile_proc
|
|
|
TileLoop_Dummy, // tile_loop_clear
|
|
|
ChangeTileOwner_Dummy, // change_tile_owner_clear
|
|
|
NULL, // get_produced_cargo_proc
|
|
|
NULL, // vehicle_enter_tile_proc
|
|
|
GetFoundation_Dummy, // get_foundation_proc
|
|
|
TerraformTile_Dummy, // terraform_tile_proc
|
|
|
};
|