Changeset - r124:791aeb2dce0d
[Not reviewed]
master
0 4 0
dominik - 20 years ago 2004-08-23 21:40:01
dominik@openttd.org
(svn r125) Add: [ 1014684 ] Czech town names (supr)
4 files changed with 98 insertions and 1 deletions:
0 comments (0 inline, 0 general)
lang/english.txt
Show inline comments
 
@@ -830,6 +830,7 @@ STR_TOWNNAME_SWEDISH					:Swedish
 
STR_TOWNNAME_DUTCH						:Dutch
 
STR_TOWNNAME_FINNISH					:Finnish
 
STR_TOWNNAME_POLISH						:Polish
 
STR_TOWNNAME_CZECH					:Czech
 
STR_TOWNNAME_SLOVAKISH					:Slovakish
 
STR_TOWNNAME_HUNGARIAN					:Hungarian
 
STR_TOWNNAME_AUSTRIAN					:Austrian
namegen.c
Show inline comments
 
@@ -1691,6 +1691,100 @@ static byte MakePolishTownName(byte *buf
 
	return 0;
 
}
 

	
 
#define NUM_CZECH_1 82
 
static const char czech_1[] = 
 
MK("As")
 
MK("Benesov")
 
MK("Beroun")
 
MK("Bezdruzice")
 
MK("Blansko")
 
MK("Breclav")
 
MK("Brno")
 
MK("Bruntál")
 
MK("Ceská Lípa")
 
MK("Ceské Budejovice")
 
MK("Ceskı Krumlov")
 
MK("Decín")
 
MK("Domazlice")
 
MK("Dubí")
 
MK("Frıdek-Místek")
 
MK("Havlíckuv Brod")
 
MK("Hodonín")
 
MK("Hradec Králové")
 
MK("Humpolec")
 
MK("Cheb")
 
MK("Chomutov")
 
MK("Chrudim")
 
MK("Jablonec nad Nisou")
 
MK("Jeseník")
 
MK("Jicín")
 
MK("Jihlava")
 
MK("Jindrichuv Hradec")
 
MK("Karlovy Vary")
 
MK("Karviná")
 
MK("Kladno")
 
MK("Klatovy")
 
MK("Kolín")
 
MK("Kosmonosy")
 
MK("Kromeríz")
 
MK("Kutná Hora")
 
MK("Liberec")
 
MK("Litomerice")
 
MK("Louny")
 
MK("Manetín")
 
MK("Melník")
 
MK("Mladá Boleslav")
 
MK("Most")
 
MK("Náchod")
 
MK("Nový Jicín")
 
MK("Nymburk")
 
MK("Olomouc")
 
MK("Opava")
 
MK("Orácov")
 
MK("Ostrava")
 
MK("Pardubice")
 
MK("Pelhrimov")
 
MK("Polzice")
 
MK("Písek")
 
MK("Plzen")
 
MK("Praha")
 
MK("Prachatice")
 
MK("Prerov")
 
MK("Príbram")
 
MK("Prostejov")
 
MK("Rakovník")
 
MK("Rokycany")
 
MK("Rudná")
 
MK("Rychnov nad Kneznou")
 
MK("Semily")
 
MK("Sokolov")
 
MK("Strakonice")
 
MK("Stredokluky")
 
MK("Sumperk")
 
MK("Svitavy")
 
MK("Tábor")
 
MK("Tachov")
 
MK("Teplice")
 
MK("Trebíc")
 
MK("Trutnov")
 
MK("Uherské Hradiste")
 
MK("Ústí nad Labem")
 
MK("Ústí nad Orlicí")
 
MK("Vsetín")
 
MK("Vyskov")
 
MK("Zdár nad Sázavou")
 
MK("Zlín")
 
MK("Znojmo")
 
;
 

	
 
static byte MakeCzechTownName(byte *buf, uint32 seed)
 
{
 
	AppendPart(&buf, GETNUM(0, NUM_CZECH_1), czech_1);
 
	return 0;	
 
}
 

	
 

	
 

	
 
#define NUM_SLOVAKISH_1 87
 
static const char slovakish_1[] =
 
MK("Bratislava")
 
@@ -1978,6 +2072,7 @@ TownNameGenerator * const _town_name_gen
 
	MakeDutchTownName,
 
	MakeFinnishTownName,
 
	MakePolishTownName,
 
	MakeCzechTownName,
 
	MakeSlovakishTownName,
 
	MakeHungarianTownName,
 
	MakeAustrianTownName
settings.c
Show inline comments
 
@@ -781,7 +781,7 @@ static const SettingDesc gameopt_setting
 
	{"diff_custom", SDT_INTLIST | SDT_UINT32 | (sizeof(GameDifficulty)/4) << 16, NULL, (void*)offsetof(GameOptions, diff) },
 
	{"currency", SDT_UINT8 | SDT_ONEOFMANY, (void*)21, (void*)offsetof(GameOptions, currency), "GBP|USD|FF|DM|YEN|PT|FT|ZL|ATS|BEF|DKK|FIM|GRD|CHF|NLG|ITL|SEK|RUR|CZK|ISK|NOK|EUR" },
 
	{"distances", SDT_UINT8 | SDT_ONEOFMANY, (void*)1, (void*)offsetof(GameOptions, kilometers), "imperial|metric" },
 
	{"town_names", SDT_UINT8 | SDT_ONEOFMANY, (void*)0, (void*)offsetof(GameOptions, town_name), "english|french|german|american|latin|silly|swedish|dutch|finnish|polish|slovakish|hungarian" },
 
	{"town_names", SDT_UINT8 | SDT_ONEOFMANY, (void*)0, (void*)offsetof(GameOptions, town_name), "english|french|german|american|latin|silly|swedish|dutch|finnish|polish|czech|slovakish|hungarian" },
 
	{"landscape", SDT_UINT8 | SDT_ONEOFMANY, (void*)0, (void*)offsetof(GameOptions, landscape), "normal|hilly|desert|candy" },
 
	{"autosave", SDT_UINT8 | SDT_ONEOFMANY, (void*)1, (void*)offsetof(GameOptions, autosave), "off|monthly|quarterly|half year|yearly" },
 
	{"road_side", SDT_UINT8 | SDT_ONEOFMANY, (void*)1, (void*)offsetof(GameOptions, road_side), "left|right" },
ttd.h
Show inline comments
 
@@ -434,6 +434,7 @@ enum SpecialStrings {
 
	SPECSTR_TOWNNAME_DUTCH,
 
	SPECSTR_TOWNNAME_FINNISH,
 
	SPECSTR_TOWNNAME_POLISH,
 
	SPECSTR_TOWNNAME_CZECH,
 
	SPECSTR_TOWNNAME_SLOVAKISH,
 
	SPECSTR_TOWNNAME_HUNGARIAN,
 
	SPECSTR_TOWNNAME_AUSTRIAN,
0 comments (0 inline, 0 general)