mirror of https://github.com/OpenTTD/OpenTTD
(svn r8791) -Revert: r8790 Committed too much in last commit
parent
6e5dd7942f
commit
c810aef43b
|
@ -1393,63 +1393,63 @@ static const IndustrySpec _industry_specs[] = {
|
||||||
|
|
||||||
|
|
||||||
static const byte _industry_create_table_0[] = {
|
static const byte _industry_create_table_0[] = {
|
||||||
2, 4,
|
4, 4,
|
||||||
3, 3,
|
5, 3,
|
||||||
3, 2,
|
5, 2,
|
||||||
5, 0,
|
8, 0,
|
||||||
3, 1,
|
5, 1,
|
||||||
2, 11,
|
4, 11,
|
||||||
3, 18,
|
5, 18,
|
||||||
6, 9,
|
9, 9,
|
||||||
3, 8,
|
5, 8,
|
||||||
3, 6,
|
5, 6,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const byte _industry_create_table_1[] = {
|
static const byte _industry_create_table_1[] = {
|
||||||
2, 4,
|
4, 4,
|
||||||
3, 3,
|
5, 3,
|
||||||
3, 14,
|
5, 14,
|
||||||
5, 0,
|
8, 0,
|
||||||
3, 1,
|
5, 1,
|
||||||
3, 11,
|
5, 11,
|
||||||
3, 13,
|
5, 13,
|
||||||
6, 9,
|
9, 9,
|
||||||
2, 15,
|
4, 15,
|
||||||
3, 7,
|
5, 7,
|
||||||
3, 16,
|
6, 16,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const byte _industry_create_table_2[] = {
|
static const byte _industry_create_table_2[] = {
|
||||||
2, 4,
|
4, 4,
|
||||||
3, 11,
|
5, 11,
|
||||||
3, 16,
|
5, 16,
|
||||||
2, 13,
|
4, 13,
|
||||||
2, 17,
|
4, 17,
|
||||||
2, 10,
|
4, 10,
|
||||||
2, 19,
|
4, 19,
|
||||||
2, 20,
|
4, 20,
|
||||||
2, 21,
|
4, 21,
|
||||||
4, 22,
|
8, 22,
|
||||||
2, 13,
|
4, 13,
|
||||||
2, 23,
|
4, 23,
|
||||||
2, 24,
|
2, 24,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const byte _industry_create_table_3[] = {
|
static const byte _industry_create_table_3[] = {
|
||||||
3, 26,
|
5, 26,
|
||||||
3, 27,
|
5, 27,
|
||||||
2, 28,
|
4, 28,
|
||||||
3, 29,
|
5, 29,
|
||||||
2, 30,
|
4, 30,
|
||||||
3, 31,
|
5, 31,
|
||||||
3, 32,
|
5, 32,
|
||||||
2, 33,
|
4, 33,
|
||||||
3, 34,
|
5, 34,
|
||||||
3, 35,
|
5, 35,
|
||||||
2, 36,
|
4, 36,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2369,68 +2369,68 @@ static const char *name_norwegian_real[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *name_hungarian_1[] = {
|
static const char *name_hungarian_1[] = {
|
||||||
"Alsó-",
|
|
||||||
"Felső-",
|
|
||||||
"Kis-",
|
|
||||||
"Nagy-",
|
"Nagy-",
|
||||||
|
"Kis-",
|
||||||
|
"Felső-",
|
||||||
|
"Alsó-",
|
||||||
"Új-"
|
"Új-"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *name_hungarian_2[] = {
|
static const char *name_hungarian_2[] = {
|
||||||
"Agg",
|
|
||||||
"Almás",
|
|
||||||
"Aranyos",
|
|
||||||
"Bakony",
|
|
||||||
"Balaton",
|
|
||||||
"Békés",
|
|
||||||
"Bihar",
|
|
||||||
"Bodrog",
|
"Bodrog",
|
||||||
"Buda",
|
|
||||||
"Császár",
|
|
||||||
"Cserép",
|
|
||||||
"Cserhát",
|
|
||||||
"Dráva",
|
"Dráva",
|
||||||
"Duna",
|
"Duna",
|
||||||
"Egyházas",
|
|
||||||
"Erdő",
|
|
||||||
"Fehér",
|
|
||||||
"Fertő",
|
|
||||||
"Gagy",
|
|
||||||
"Győr",
|
|
||||||
"Hajdú",
|
|
||||||
"Hegy",
|
|
||||||
"Hejő",
|
"Hejő",
|
||||||
"Herceg",
|
|
||||||
"Hernád",
|
"Hernád",
|
||||||
"Heves",
|
|
||||||
"Homok",
|
|
||||||
"Jász",
|
|
||||||
"Kapos",
|
|
||||||
"Király",
|
|
||||||
"Kun",
|
|
||||||
"Magyar",
|
|
||||||
"Mező",
|
|
||||||
"Nemes",
|
|
||||||
"Nógrád",
|
|
||||||
"Nyír",
|
|
||||||
"Pest",
|
|
||||||
"Puszta",
|
|
||||||
"Püspök",
|
|
||||||
"Rába",
|
"Rába",
|
||||||
"Sajó",
|
"Sajó",
|
||||||
"Sár",
|
|
||||||
"Somogy",
|
|
||||||
"Szamos",
|
"Szamos",
|
||||||
"Szent",
|
|
||||||
"Székely",
|
|
||||||
"Szilvás",
|
|
||||||
"Tápió",
|
|
||||||
"Tisza",
|
"Tisza",
|
||||||
|
"Zala",
|
||||||
|
"Balaton",
|
||||||
|
"Fertő",
|
||||||
|
"Bakony",
|
||||||
|
"Cserhát",
|
||||||
|
"Bihar",
|
||||||
|
"Hajdú",
|
||||||
|
"Jász",
|
||||||
|
"Kun",
|
||||||
|
"Magyar",
|
||||||
|
"Nógrád",
|
||||||
|
"Nyír",
|
||||||
|
"Somogy",
|
||||||
|
"Székely",
|
||||||
|
"Buda",
|
||||||
|
"Győr",
|
||||||
|
"Pest",
|
||||||
|
"Fehér",
|
||||||
|
"Cserép",
|
||||||
|
"Erdő",
|
||||||
|
"Hegy",
|
||||||
|
"Homok",
|
||||||
|
"Mező",
|
||||||
|
"Puszta",
|
||||||
|
"Sár",
|
||||||
|
"Császár",
|
||||||
|
"Herceg",
|
||||||
|
"Király",
|
||||||
|
"Nemes",
|
||||||
|
"Püspök",
|
||||||
|
"Szent",
|
||||||
|
"Almás",
|
||||||
|
"Szilvás",
|
||||||
|
"Agg",
|
||||||
|
"Aranyos",
|
||||||
|
"Békés",
|
||||||
|
"Egyházas",
|
||||||
|
"Gagy",
|
||||||
|
"Heves",
|
||||||
|
"Kapos",
|
||||||
|
"Tápió",
|
||||||
"Torna",
|
"Torna",
|
||||||
"Vas",
|
"Vas",
|
||||||
"Vámos",
|
"Vámos",
|
||||||
"Vásáros",
|
"Vásáros"
|
||||||
"Zala"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *name_hungarian_3[] = {
|
static const char *name_hungarian_3[] = {
|
||||||
|
@ -2461,19 +2461,42 @@ static const char *name_hungarian_4[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *name_hungarian_real[] = {
|
static const char *name_hungarian_real[] = {
|
||||||
"Ajka", "Almásfüzitő", "Aszód",
|
"Ajka",
|
||||||
"Badacsony", "Baja", "Budapest",
|
"Aszód",
|
||||||
"Debrecen", "Eger", "Esztergom",
|
"Badacsony",
|
||||||
"Fonyód", "Gödöllő", "Győr",
|
"Baja",
|
||||||
"Gyula", "Karcag", "Kecskemét",
|
"Budapest",
|
||||||
"Keszthely", "Kisköre", "Kocsord",
|
"Debrecen",
|
||||||
"Komárom", "Kőszeg", "Makó",
|
"Eger",
|
||||||
"Mohács", "Miskolc", "Ózd",
|
"Fonyód",
|
||||||
"Paks", "Pápa", "Pécs",
|
"Gödöllő",
|
||||||
"Polgár", "Sarkad", "Siófok",
|
"Győr",
|
||||||
"Százhalombatta", "Szeged", "Szentes",
|
"Gyula",
|
||||||
"Székesfehérvár", "Szolnok", "Tihany",
|
"Karcag",
|
||||||
"Tokaj", "Vác", "Záhony", "Zirc"
|
"Kecskemét",
|
||||||
|
"Keszthely",
|
||||||
|
"Kisköre",
|
||||||
|
"Kocsord",
|
||||||
|
"Komárom",
|
||||||
|
"Kőszeg",
|
||||||
|
"Makó",
|
||||||
|
"Mohács",
|
||||||
|
"Miskolc",
|
||||||
|
"Ózd",
|
||||||
|
"Paks",
|
||||||
|
"Pápa",
|
||||||
|
"Pécs",
|
||||||
|
"Polgár",
|
||||||
|
"Sarkad",
|
||||||
|
"Siófok",
|
||||||
|
"Szeged",
|
||||||
|
"Szentes",
|
||||||
|
"Szolnok",
|
||||||
|
"Tihany",
|
||||||
|
"Tokaj",
|
||||||
|
"Vác",
|
||||||
|
"Záhony",
|
||||||
|
"Zirc"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *name_swiss_real[] = {
|
static const char *name_swiss_real[] = {
|
||||||
|
|
|
@ -1088,12 +1088,12 @@ Town *CreateRandomTown(uint attempts, uint size_mode)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const byte _num_initial_towns[3] = {4, 17, 29};
|
static const byte _num_initial_towns[3] = {11, 23, 46};
|
||||||
|
|
||||||
bool GenerateTowns(void)
|
bool GenerateTowns(void)
|
||||||
{
|
{
|
||||||
uint num = 0;
|
uint num = 0;
|
||||||
uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 3));
|
uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 7));
|
||||||
|
|
||||||
SetGeneratingWorldProgress(GWP_TOWN, n);
|
SetGeneratingWorldProgress(GWP_TOWN, n);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue