16 |
16 |
17 static uint GetSlopeTileh_Dummy(TileInfo *ti) { |
17 static uint GetSlopeTileh_Dummy(TileInfo *ti) { |
18 return ti->tileh; |
18 return ti->tileh; |
19 } |
19 } |
20 |
20 |
21 static int32 ClearTile_Dummy(uint tile, byte flags) { |
21 static int32 ClearTile_Dummy(TileIndex tile, byte flags) |
|
22 { |
22 return_cmd_error(STR_0001_OFF_EDGE_OF_MAP); |
23 return_cmd_error(STR_0001_OFF_EDGE_OF_MAP); |
23 } |
24 } |
24 |
25 |
25 |
26 |
26 static void GetAcceptedCargo_Dummy(uint tile, AcceptedCargo ac) |
27 static void GetAcceptedCargo_Dummy(TileIndex tile, AcceptedCargo ac) |
27 { |
28 { |
28 /* not used */ |
29 /* not used */ |
29 } |
30 } |
30 |
31 |
31 static void GetTileDesc_Dummy(uint tile, TileDesc *td) |
32 static void GetTileDesc_Dummy(TileIndex tile, TileDesc *td) |
32 { |
33 { |
33 td->str = STR_EMPTY; |
34 td->str = STR_EMPTY; |
34 td->owner = OWNER_NONE; |
35 td->owner = OWNER_NONE; |
35 } |
36 } |
36 |
37 |
37 static void AnimateTile_Dummy(uint tile) |
38 static void AnimateTile_Dummy(TileIndex tile) |
38 { |
39 { |
39 /* not used */ |
40 /* not used */ |
40 } |
41 } |
41 |
42 |
42 static void TileLoop_Dummy(uint tile) |
43 static void TileLoop_Dummy(TileIndex tile) |
43 { |
44 { |
44 /* not used */ |
45 /* not used */ |
45 } |
46 } |
46 |
47 |
47 static void ClickTile_Dummy(uint tile) |
48 static void ClickTile_Dummy(TileIndex tile) |
48 { |
49 { |
49 /* not used */ |
50 /* not used */ |
50 } |
51 } |
51 |
52 |
52 static void ChangeTileOwner_Dummy(uint tile, byte old_player, byte new_player) |
53 static void ChangeTileOwner_Dummy(TileIndex tile, byte old_player, byte new_player) |
53 { |
54 { |
54 /* not used */ |
55 /* not used */ |
55 } |
56 } |
56 |
57 |
57 static uint32 GetTileTrackStatus_Dummy(uint tile, TransportType mode) |
58 static uint32 GetTileTrackStatus_Dummy(TileIndex tile, TransportType mode) |
58 { |
59 { |
59 return 0; |
60 return 0; |
60 } |
61 } |
61 |
62 |
62 const TileTypeProcs _tile_type_dummy_procs = { |
63 const TileTypeProcs _tile_type_dummy_procs = { |