* Get the tile location group of a tile. * @param t The tile to get the tile location group of. * @return The tile location group. */
| 73 | * @return The tile location group. |
| 74 | */ |
| 75 | static inline TileLocationGroup GetTileLocationGroup(TileIndex t) |
| 76 | { |
| 77 | return static_cast<TileLocationGroup>((GB(TileX(t), 0, 1) << 1) + GB(TileY(t), 0, 1)); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Finds which Electrified Rail Bits are present on a given tile. |
no test coverage detected