diff options
author | rubidium <rubidium@openttd.org> | 2011-09-23 19:27:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-09-23 19:27:15 +0000 |
commit | a6f9488ae4285b7904755d0913a6134a95d43c28 (patch) | |
tree | 3f00471a1ed4d9d70b58dad9be7351cedbc454f9 /src/strings_type.h | |
parent | 514fa060a21f58298cb7fda01b925d865ecce094 (diff) | |
download | openttd-a6f9488ae4285b7904755d0913a6134a95d43c28.tar.xz |
(svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table
Diffstat (limited to 'src/strings_type.h')
-rw-r--r-- | src/strings_type.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/strings_type.h b/src/strings_type.h index 1dea474f9..35f22e5fc 100644 --- a/src/strings_type.h +++ b/src/strings_type.h @@ -54,16 +54,11 @@ enum SpecialStrings { SPECSTR_TOWNNAME_CATALAN, SPECSTR_TOWNNAME_LAST = SPECSTR_TOWNNAME_CATALAN, - /* special strings for player names on the form "TownName transport". */ - SPECSTR_PLAYERNAME_START = 0x70EA, - SPECSTR_PLAYERNAME_ENGLISH = SPECSTR_PLAYERNAME_START, - SPECSTR_PLAYERNAME_FRENCH, - SPECSTR_PLAYERNAME_GERMAN, - SPECSTR_PLAYERNAME_AMERICAN, - SPECSTR_PLAYERNAME_LATIN, - SPECSTR_PLAYERNAME_SILLY, - SPECSTR_PLAYERNAME_LAST = SPECSTR_PLAYERNAME_SILLY, + /* special strings for company names on the form "TownName transport". */ + SPECSTR_COMPANY_NAME_START = 0x70EA, + SPECSTR_COMPANY_NAME_LAST = SPECSTR_COMPANY_NAME_START + SPECSTR_TOWNNAME_LAST - SPECSTR_TOWNNAME_START, + SPECSTR_SILLY_NAME = 0x70E5, SPECSTR_ANDCO_NAME = 0x70E6, SPECSTR_PRESIDENT_NAME = 0x70E7, |