summaryrefslogtreecommitdiff
path: root/src/misc.cpp
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/misc.cpp
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/misc.cpp')
-rw-r--r--src/misc.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/misc.cpp b/src/misc.cpp
index afb5da538..bfb1177cf 100644
--- a/src/misc.cpp
+++ b/src/misc.cpp
@@ -1,5 +1,7 @@
/* $Id$ */
+/** @file misc.cpp */
+
#include "stdafx.h"
#include "openttd.h"
#include "currency.h"
@@ -234,7 +236,7 @@ void ConvertNameArray(void)
}
}
-// Calculate constants that depend on the landscape type.
+/* Calculate constants that depend on the landscape type. */
void InitializeLandscapeVariables(bool only_constants)
{
if (only_constants) return;
@@ -249,8 +251,8 @@ void InitializeLandscapeVariables(bool only_constants)
int FindFirstBit(uint32 value)
{
- // The macro FIND_FIRST_BIT is better to use when your value is
- // not more than 128.
+ /* The macro FIND_FIRST_BIT is better to use when your value is
+ not more than 128. */
byte i = 0;
if (value == 0) return 0;
@@ -310,8 +312,8 @@ static const SaveLoadGlobVarList _date_desc[] = {
SLEG_END()
};
-// Save load date related variables as well as persistent tick counters
-// XXX: currently some unrelated stuff is just put here
+/* Save load date related variables as well as persistent tick counters
+ * XXX: currently some unrelated stuff is just put here */
static void SaveLoad_DATE(void)
{
SlGlobList(_date_desc);