rail.h
changeset 1950 6e4d384034d9
parent 1948 e5f34b543a3c
child 1967 c57192f4c121
equal deleted inserted replaced
1949:ee5d398ea802 1950:6e4d384034d9
   432 {
   432 {
   433 	assert(IsValidTrack(track));
   433 	assert(IsValidTrack(track));
   434 	return (_map3_hi[tile] & SIG_SEMAPHORE_MASK);
   434 	return (_map3_hi[tile] & SIG_SEMAPHORE_MASK);
   435 }
   435 }
   436 
   436 
       
   437 /**
       
   438  * Return the rail type of tile, or INVALID_RAILTYPE if this is no rail tile.
       
   439  * Note that there is no check if the given trackdir is actually present on
       
   440  * the tile!
       
   441  * The given trackdir is used when there are (could be) multiple rail types on
       
   442  * one tile.
       
   443  */
       
   444 RailType GetTileRailType(TileIndex tile, byte trackdir);
       
   445 
   437 #endif // RAIL_H
   446 #endif // RAIL_H