Chunnel: Adjust documentation and whitespace in tunnel_map.h

This commit is contained in:
Jonathan G Rennison
2017-03-04 12:43:48 +00:00
parent 75410ddae4
commit ab38623ea6

View File

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