Chunnel: Adjust documentation and whitespace in tunnel_map.h

pull/16/head
Jonathan G Rennison 7 years ago
parent 75410ddae4
commit ab38623ea6

@ -57,6 +57,7 @@ bool IsTunnelInWay(TileIndex, int z, bool chunnel_allowed = false);
* Makes a road tunnel entrance
* @param t the entrance of the tunnel
* @param o the owner of the entrance
* @param id the tunnel ID
* @param d the direction facing out of the tunnel
* @param r the road type used in the tunnel
*/
@ -79,10 +80,11 @@ static inline void MakeRoadTunnel(TileIndex t, Owner o, TunnelID id, DiagDirecti
* Makes a rail tunnel entrance
* @param t the entrance of the tunnel
* @param o the owner of the entrance
* @param id the tunnel ID
* @param d the direction facing out of the tunnel
* @param r the rail type used in the tunnel
*/
static inline void MakeRailTunnel(TileIndex t, Owner o,TunnelID id, DiagDirection d, RailType r)
static inline void MakeRailTunnel(TileIndex t, Owner o, TunnelID id, DiagDirection d, RailType r)
{
SetTileType(t, MP_TUNNELBRIDGE);
SetTileOwner(t, o);
@ -96,6 +98,4 @@ static inline void MakeRailTunnel(TileIndex t, Owner o,TunnelID id, DiagDirectio
_me[t].m7 = 0;
}
#endif /* TUNNEL_MAP_H */

Loading…
Cancel
Save