openttd.h
changeset 3418 a592d40a4d04
parent 3416 a6cb21272cc5
child 3491 4c8427796c64
equal deleted inserted replaced
3417:c867f87873ae 3418:a592d40a4d04
   331  * result << 8 contains the id of the station entered. If the return value has
   331  * result << 8 contains the id of the station entered. If the return value has
   332  * bit 0x8 set, the vehicle could not and did not enter the tile. Are there
   332  * bit 0x8 set, the vehicle could not and did not enter the tile. Are there
   333  * other bits that can be set? */
   333  * other bits that can be set? */
   334 typedef uint32 VehicleEnterTileProc(Vehicle *v, TileIndex tile, int x, int y);
   334 typedef uint32 VehicleEnterTileProc(Vehicle *v, TileIndex tile, int x, int y);
   335 typedef void VehicleLeaveTileProc(Vehicle *v, TileIndex tile, int x, int y);
   335 typedef void VehicleLeaveTileProc(Vehicle *v, TileIndex tile, int x, int y);
   336 typedef uint GetSlopeTilehProc(const TileInfo *ti);
   336 typedef uint GetSlopeTilehProc(TileIndex, uint tileh);
   337 
   337 
   338 typedef struct {
   338 typedef struct {
   339 	DrawTileProc *draw_tile_proc;
   339 	DrawTileProc *draw_tile_proc;
   340 	GetSlopeZProc *get_slope_z_proc;
   340 	GetSlopeZProc *get_slope_z_proc;
   341 	ClearTileProc *clear_tile_proc;
   341 	ClearTileProc *clear_tile_proc;