summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-09-21 11:01:16 +0000
committersmatz <smatz@openttd.org>2009-09-21 11:01:16 +0000
commit662ef3173b5eb27905255929401c7d18b349f8f0 (patch)
treed51fc11f210777cd51935f503b3f6760db94b20d /src
parent114d48e492cc38644c0c020c6a30ab6c57179862 (diff)
downloadopenttd-662ef3173b5eb27905255929401c7d18b349f8f0.tar.xz
(svn r17597) -Codechange: rename namegen* to townname*
Diffstat (limited to 'src')
-rw-r--r--src/saveload/oldloader_sl.cpp2
-rw-r--r--src/strings.cpp2
-rw-r--r--src/table/townname.h (renamed from src/table/namegen.h)2
-rw-r--r--src/townname.cpp (renamed from src/namegen.cpp)6
-rw-r--r--src/townname_func.h (renamed from src/namegen_func.h)2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp
index ee9216cdc..9b5303c0e 100644
--- a/src/saveload/oldloader_sl.cpp
+++ b/src/saveload/oldloader_sl.cpp
@@ -35,7 +35,7 @@
#include "table/strings.h"
#include "../table/engines.h"
-#include "../table/namegen.h"
+#include "../table/townname.h"
static bool _read_ttdpatch_flags;
diff --git a/src/strings.cpp b/src/strings.cpp
index 29fbfb41b..437619480 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -13,7 +13,7 @@
#include "openttd.h"
#include "currency.h"
#include "spritecache.h"
-#include "namegen_func.h"
+#include "townname_func.h"
#include "station_base.h"
#include "town.h"
#include "screenshot.h"
diff --git a/src/table/namegen.h b/src/table/townname.h
index 47c9ff05f..389530081 100644
--- a/src/table/namegen.h
+++ b/src/table/townname.h
@@ -7,7 +7,7 @@
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
-/** @file table/namegen.h Namepart tables for the town name generator */
+/** @file table/townname.h Namepart tables for the town name generator */
#include "../core/enum_type.hpp"
diff --git a/src/namegen.cpp b/src/townname.cpp
index 211e21d9b..ec63267b8 100644
--- a/src/namegen.cpp
+++ b/src/townname.cpp
@@ -7,14 +7,14 @@
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
-/** @file namegen.cpp Town name generators. */
+/** @file townname.cpp Town name generators. */
#include "stdafx.h"
-#include "namegen_func.h"
+#include "townname_func.h"
#include "string_func.h"
#include "core/alloc_func.hpp"
-#include "table/namegen.h"
+#include "table/townname.h"
/**
diff --git a/src/namegen_func.h b/src/townname_func.h
index 7ce83fc41..d0e2da77c 100644
--- a/src/namegen_func.h
+++ b/src/townname_func.h
@@ -7,7 +7,7 @@
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
-/** @file namegen_func.h Town name generator stuff. */
+/** @file townname_func.h Town name generator stuff. */
#ifndef NAMEGEN_FUNC_H
#define NAMEGEN_FUNC_H