equal
deleted
inserted
replaced
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 |