src/misc.cpp
branchcpp_gui
changeset 6285 187e3ef04cc9
parent 6268 4b5241e5dd10
child 6298 c30fe89622df
child 6557 8381016f71f3
child 9881 fbb3eab0e186
--- a/src/misc.cpp	Sat Mar 03 20:33:32 2007 +0000
+++ b/src/misc.cpp	Sun Mar 04 04:25:36 2007 +0000
@@ -1,5 +1,7 @@
 /* $Id$ */
 
+/** @file misc.cpp */
+
 #include "stdafx.h"
 #include "openttd.h"
 #include "currency.h"
@@ -234,7 +236,7 @@
 	}
 }
 
-// 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 @@
 
 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 @@
 	    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);