From 4ce279812f3cec8a0c583d5fb3afd7557bcc6208 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 28 Mar 2008 09:15:08 +0000 Subject: (svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist. --- src/namegen.cpp | 2 +- src/namegen.h | 12 ------------ src/namegen_func.h | 12 ++++++++++++ src/strings.cpp | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 src/namegen.h create mode 100644 src/namegen_func.h diff --git a/src/namegen.cpp b/src/namegen.cpp index 26b117126..3027e920b 100644 --- a/src/namegen.cpp +++ b/src/namegen.cpp @@ -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 --git a/src/namegen.h b/src/namegen.h deleted file mode 100644 index 6fdb9400a..000000000 --- a/src/namegen.h +++ /dev/null @@ -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 --git a/src/namegen_func.h b/src/namegen_func.h new file mode 100644 index 000000000..6fdb9400a --- /dev/null +++ b/src/namegen_func.h @@ -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 --git a/src/strings.cpp b/src/strings.cpp index f6af86831..aa62e30d7 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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" -- cgit v1.2.3-70-g09d2