# HG changeset patch # User rubidium # Date 1206695708 0 # Node ID 771b642c60e02abc7389f75b0d319dc93b560c18 # Parent 81fadd257f675317a8839bd3f6c364d881841604 (svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist. diff -r 81fadd257f67 -r 771b642c60e0 src/namegen.cpp --- a/src/namegen.cpp Fri Mar 28 08:53:36 2008 +0000 +++ b/src/namegen.cpp Fri Mar 28 09:15:08 2008 +0000 @@ -5,7 +5,7 @@ #include "stdafx.h" #include "openttd.h" #include "debug.h" -#include "namegen.h" +#include "namegen_func.h" #include "string_func.h" #include "table/namegen.h" diff -r 81fadd257f67 -r 771b642c60e0 src/namegen.h --- a/src/namegen.h Fri Mar 28 08:53:36 2008 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -/* $Id$ */ - -/** @file namegen.h Town name generator stuff. */ - -#ifndef NAMEGEN_H -#define NAMEGEN_H - -typedef byte TownNameGenerator(char *buf, uint32 seed, const char *last); - -extern TownNameGenerator * const _town_name_generators[]; - -#endif /* NAMEGEN_H */ diff -r 81fadd257f67 -r 771b642c60e0 src/namegen_func.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/namegen_func.h Fri Mar 28 09:15:08 2008 +0000 @@ -0,0 +1,12 @@ +/* $Id$ */ + +/** @file namegen.h Town name generator stuff. */ + +#ifndef NAMEGEN_H +#define NAMEGEN_H + +typedef byte TownNameGenerator(char *buf, uint32 seed, const char *last); + +extern TownNameGenerator * const _town_name_generators[]; + +#endif /* NAMEGEN_H */ diff -r 81fadd257f67 -r 771b642c60e0 src/strings.cpp --- a/src/strings.cpp Fri Mar 28 08:53:36 2008 +0000 +++ b/src/strings.cpp Fri Mar 28 09:15:08 2008 +0000 @@ -5,7 +5,7 @@ #include "stdafx.h" #include "openttd.h" #include "currency.h" -#include "namegen.h" +#include "namegen_func.h" #include "station.h" #include "town.h" #include "screenshot.h"