changeset 8764:9ff7f6dafbfb draft

(svn r12460) -Change: rename src/namegen.h to src/namegen_func.h so MSVC can have both files in it's treelist.
author rubidium <rubidium@openttd.org>
date Fri, 28 Mar 2008 09:15:08 +0000
parents d6e363672edb
children 4ab1f33cd8c9
files src/namegen.cpp src/namegen.h src/namegen_func.h src/strings.cpp
diffstat 4 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- 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"
deleted file mode 100644
--- 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 */
new file mode 100644
--- /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 */
--- 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"