Mercurial > hg > openttd
diff src/misc.cpp @ 6201:3b141366478a draft
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
author | belugas <belugas@openttd.org> |
---|---|
date | Sat, 03 Mar 2007 04:04:22 +0000 |
parents | 17ebeb5a2c37 |
children | a4e11dd2d7c6 |
line wrap: on
line diff
--- 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 @@ } } -// 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);