summaryrefslogtreecommitdiff
path: root/src/bridge_map.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-02-23 11:50:43 +0000
committerbelugas <belugas@openttd.org>2007-02-23 11:50:43 +0000
commit4160d85cd2571604c615500124ba8077fc26bfd2 (patch)
tree28f27070bd508fef07617bf83c63d2a16a0ccc95 /src/bridge_map.cpp
parentb3efec2e7d6ca583b3477ef3407844093a216a38 (diff)
downloadopenttd-4160d85cd2571604c615500124ba8077fc26bfd2.tar.xz
(svn r8859) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
Diffstat (limited to 'src/bridge_map.cpp')
-rw-r--r--src/bridge_map.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bridge_map.cpp b/src/bridge_map.cpp
index 416e603c5..6dd8b48c6 100644
--- a/src/bridge_map.cpp
+++ b/src/bridge_map.cpp
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file bridge_map.cpp */
+
#include "stdafx.h"
#include "openttd.h"
#include "bridge_map.h"
@@ -43,7 +45,7 @@ uint GetBridgeHeight(TileIndex t)
Slope tileh = GetTileSlope(t, &h);
uint f = GetBridgeFoundation(tileh, DiagDirToAxis(GetBridgeRampDirection(t)));
- // one height level extra if the ramp is on a flat foundation
+ /* one height level extra if the ramp is on a flat foundation */
return
h + TILE_HEIGHT +
(IS_INT_INSIDE(f, 1, 15) ? TILE_HEIGHT : 0) +