summaryrefslogtreecommitdiff
path: root/openttd.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-04-25 07:32:33 +0000
committertron <tron@openttd.org>2006-04-25 07:32:33 +0000
commit18ad0ae50ee5cc57c571677de1a4e458d2d9de08 (patch)
treec52854038a7463251f059ce8699ab9ab6a257684 /openttd.h
parent288f4eed6577de01c9dafeee3dd2e803030da9fb (diff)
downloadopenttd-18ad0ae50ee5cc57c571677de1a4e458d2d9de08.tar.xz
(svn r4572) Remove vehicle_leave_tile_proc
There's exactly one implemented function (unbarring a level crossing) and one place where it can be triggered (a train leaves a level crossing) It's a bit overkill, so just handle this one case where it can happen
Diffstat (limited to 'openttd.h')
-rw-r--r--openttd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/openttd.h b/openttd.h
index 576d17895..d1e680c05 100644
--- a/openttd.h
+++ b/openttd.h
@@ -331,7 +331,6 @@ typedef void ChangeTileOwnerProc(TileIndex tile, PlayerID old_player, PlayerID n
* bit 0x8 set, the vehicle could not and did not enter the tile. Are there
* other bits that can be set? */
typedef uint32 VehicleEnterTileProc(Vehicle *v, TileIndex tile, int x, int y);
-typedef void VehicleLeaveTileProc(Vehicle *v, TileIndex tile, int x, int y);
typedef Slope GetSlopeTilehProc(TileIndex, Slope tileh);
typedef struct {
@@ -347,7 +346,6 @@ typedef struct {
ChangeTileOwnerProc *change_tile_owner_proc;
GetProducedCargoProc *get_produced_cargo_proc;
VehicleEnterTileProc *vehicle_enter_tile_proc;
- VehicleLeaveTileProc *vehicle_leave_tile_proc;
GetSlopeTilehProc *get_slope_tileh_proc;
} TileTypeProcs;