openttd.h
changeset 2537 5e4ca74e995a
parent 2536 634914d741b4
child 2786 b7c44575cd8d
equal deleted inserted replaced
2536:634914d741b4 2537:5e4ca74e995a
   290 } ViewportSign;
   290 } ViewportSign;
   291 
   291 
   292 typedef int32 CommandProc(int x, int y, uint32 flags, uint32 p1, uint32 p2);
   292 typedef int32 CommandProc(int x, int y, uint32 flags, uint32 p1, uint32 p2);
   293 
   293 
   294 typedef void DrawTileProc(TileInfo *ti);
   294 typedef void DrawTileProc(TileInfo *ti);
   295 typedef uint GetSlopeZProc(TileInfo *ti);
   295 typedef uint GetSlopeZProc(const TileInfo* ti);
   296 typedef int32 ClearTileProc(TileIndex tile, byte flags);
   296 typedef int32 ClearTileProc(TileIndex tile, byte flags);
   297 typedef void GetAcceptedCargoProc(TileIndex tile, AcceptedCargo res);
   297 typedef void GetAcceptedCargoProc(TileIndex tile, AcceptedCargo res);
   298 typedef void GetTileDescProc(TileIndex tile, TileDesc *td);
   298 typedef void GetTileDescProc(TileIndex tile, TileDesc *td);
   299 /* GetTileTrackStatusProcs return a value that contains the possible tracks
   299 /* GetTileTrackStatusProcs return a value that contains the possible tracks
   300  * that can be taken on a given tile by a given transport. The return value is
   300  * that can be taken on a given tile by a given transport. The return value is