summaryrefslogtreecommitdiff
path: root/src/yapf
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-03 04:04:22 +0000
committerbelugas <belugas@openttd.org>2007-03-03 04:04:22 +0000
commitb71354dc406340a0d9b57b64b17ea5f3758e4309 (patch)
treea56d1e1d13bc7d618e33a50ed711f4c5387a5c21 /src/yapf
parent6887fbbaaf73751fe0675e322c83fddcdb9f09d8 (diff)
downloadopenttd-b71354dc406340a0d9b57b64b17ea5f3758e4309.tar.xz
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
Diffstat (limited to 'src/yapf')
-rw-r--r--src/yapf/yapf_common.cpp34
1 files changed, 18 insertions, 16 deletions
diff --git a/src/yapf/yapf_common.cpp b/src/yapf/yapf_common.cpp
index 39d119858..31e3a7b2e 100644
--- a/src/yapf/yapf_common.cpp
+++ b/src/yapf/yapf_common.cpp
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file yapf_common.cpp */
+
#include "../stdafx.h"
#include "yapf.hpp"
@@ -10,20 +12,20 @@
/** translate tileh to the bitset of up-hill trackdirs */
const TrackdirBits CYapfCostBase::c_upwards_slopes[] = {
- TRACKDIR_BIT_NONE , // no tileh
- TRACKDIR_BIT_X_SW | TRACKDIR_BIT_Y_NW, // 1
- TRACKDIR_BIT_X_SW | TRACKDIR_BIT_Y_SE, // 2
- TRACKDIR_BIT_X_SW , // 3
- TRACKDIR_BIT_X_NE | TRACKDIR_BIT_Y_SE, // 4
- TRACKDIR_BIT_NONE , // 5
- TRACKDIR_BIT_Y_SE , // 6
- TRACKDIR_BIT_NONE , // 7
- TRACKDIR_BIT_X_NE | TRACKDIR_BIT_Y_NW, // 8,
- TRACKDIR_BIT_Y_NW , // 9
- TRACKDIR_BIT_NONE , //10
- TRACKDIR_BIT_NONE , //11,
- TRACKDIR_BIT_X_NE , //12
- TRACKDIR_BIT_NONE , //13
- TRACKDIR_BIT_NONE , //14
- TRACKDIR_BIT_NONE , //15
+ TRACKDIR_BIT_NONE , ///< no tileh
+ TRACKDIR_BIT_X_SW | TRACKDIR_BIT_Y_NW, ///< 1
+ TRACKDIR_BIT_X_SW | TRACKDIR_BIT_Y_SE, ///< 2
+ TRACKDIR_BIT_X_SW , ///< 3
+ TRACKDIR_BIT_X_NE | TRACKDIR_BIT_Y_SE, ///< 4
+ TRACKDIR_BIT_NONE , ///< 5
+ TRACKDIR_BIT_Y_SE , ///< 6
+ TRACKDIR_BIT_NONE , ///< 7
+ TRACKDIR_BIT_X_NE | TRACKDIR_BIT_Y_NW, ///< 8
+ TRACKDIR_BIT_Y_NW , ///< 9
+ TRACKDIR_BIT_NONE , ///< 10
+ TRACKDIR_BIT_NONE , ///< 11
+ TRACKDIR_BIT_X_NE , ///< 12
+ TRACKDIR_BIT_NONE , ///< 13
+ TRACKDIR_BIT_NONE , ///< 14
+ TRACKDIR_BIT_NONE , ///< 15
};