From b25a4f8231f3ded44038ea454a3d4c6a2dc9217d Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 15 Mar 2009 00:32:18 +0000 Subject: (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too --- src/namegen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/namegen.cpp') diff --git a/src/namegen.cpp b/src/namegen.cpp index 6ed465644..db213ad17 100644 --- a/src/namegen.cpp +++ b/src/namegen.cpp @@ -22,8 +22,8 @@ static inline uint32 SeedModChance(int shift_by, int max, uint32 seed) * SeedChance() and SeedModChance(). Do not get dicouraged by the * never-use-modulo myths, which hold true only for the linear * congruential generators (and Random() isn't such a generator). - * --pasky */ - // TODO: Perhaps we should use it for all the name generators? --pasky + * --pasky + * TODO: Perhaps we should use it for all the name generators? --pasky */ return (seed >> shift_by) % max; } @@ -361,8 +361,8 @@ static byte MakePolishTownName(char *buf, uint32 seed, const char *last) static byte MakeCzechTownName(char *buf, uint32 seed, const char *last) { - /* Probability of prefixes/suffixes */ - /* 0..11 prefix, 12..13 prefix+suffix, 14..17 suffix, 18..31 nothing */ + /* Probability of prefixes/suffixes + * 0..11 prefix, 12..13 prefix+suffix, 14..17 suffix, 18..31 nothing */ int prob_tails; bool do_prefix, do_suffix, dynamic_subst; /* IDs of the respective parts */ -- cgit v1.2.3-54-g00ecf