summaryrefslogtreecommitdiff
path: root/src/direction.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-02-23 18:55:07 +0000
committerbelugas <belugas@openttd.org>2007-02-23 18:55:07 +0000
commit6dbf9f2f41e82a05d284c72ab3acbae949c3e904 (patch)
tree28b541cce9a8abd90d47b1524d635b9a38e37e51 /src/direction.h
parent1bbbbeeef19727639d80c9bfe760248d50720bc2 (diff)
downloadopenttd-6dbf9f2f41e82a05d284c72ab3acbae949c3e904.tar.xz
(svn r8862) -Cleanup: doxygen changes, again. Mostly @files missing tags and a few comments style.
Some documentation addition, when i can easily supply them
Diffstat (limited to 'src/direction.h')
-rw-r--r--src/direction.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/direction.h b/src/direction.h
index 576d8e1bb..5feda580c 100644
--- a/src/direction.h
+++ b/src/direction.h
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file direction.h */
+
#ifndef DIRECTION_H
#define DIRECTION_H
@@ -9,7 +11,7 @@
typedef enum Direction {
DIR_BEGIN = 0,
DIR_N = 0,
- DIR_NE = 1, /* Northeast, upper right on your monitor */
+ DIR_NE = 1, ///< Northeast, upper right on your monitor
DIR_E = 2,
DIR_SE = 3,
DIR_S = 4,
@@ -59,7 +61,7 @@ static inline Direction ChangeDir(Direction d, DirDiff delta)
/* Direction commonly used as the direction of entering and leaving tiles, 4-way */
typedef enum DiagDirection {
DIAGDIR_BEGIN = 0,
- DIAGDIR_NE = 0, /* Northeast, upper right on your monitor */
+ DIAGDIR_NE = 0, ///< Northeast, upper right on your monitor
DIAGDIR_SE = 1,
DIAGDIR_SW = 2,
DIAGDIR_NW = 3,