mirror of https://github.com/OpenTTD/OpenTTD
(svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it)
parent
b447e57131
commit
6e5dd7942f
|
@ -1393,63 +1393,63 @@ static const IndustrySpec _industry_specs[] = {
|
||||||
|
|
||||||
|
|
||||||
static const byte _industry_create_table_0[] = {
|
static const byte _industry_create_table_0[] = {
|
||||||
4, 4,
|
2, 4,
|
||||||
5, 3,
|
3, 3,
|
||||||
5, 2,
|
3, 2,
|
||||||
8, 0,
|
5, 0,
|
||||||
5, 1,
|
3, 1,
|
||||||
4, 11,
|
2, 11,
|
||||||
5, 18,
|
3, 18,
|
||||||
9, 9,
|
6, 9,
|
||||||
5, 8,
|
3, 8,
|
||||||
5, 6,
|
3, 6,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const byte _industry_create_table_1[] = {
|
static const byte _industry_create_table_1[] = {
|
||||||
4, 4,
|
2, 4,
|
||||||
5, 3,
|
3, 3,
|
||||||
5, 14,
|
3, 14,
|
||||||
8, 0,
|
5, 0,
|
||||||
5, 1,
|
3, 1,
|
||||||
5, 11,
|
3, 11,
|
||||||
5, 13,
|
3, 13,
|
||||||
9, 9,
|
6, 9,
|
||||||
4, 15,
|
2, 15,
|
||||||
5, 7,
|
3, 7,
|
||||||
6, 16,
|
3, 16,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const byte _industry_create_table_2[] = {
|
static const byte _industry_create_table_2[] = {
|
||||||
4, 4,
|
2, 4,
|
||||||
5, 11,
|
3, 11,
|
||||||
5, 16,
|
3, 16,
|
||||||
4, 13,
|
2, 13,
|
||||||
4, 17,
|
2, 17,
|
||||||
4, 10,
|
2, 10,
|
||||||
4, 19,
|
2, 19,
|
||||||
4, 20,
|
2, 20,
|
||||||
4, 21,
|
2, 21,
|
||||||
8, 22,
|
4, 22,
|
||||||
4, 13,
|
2, 13,
|
||||||
4, 23,
|
2, 23,
|
||||||
2, 24,
|
2, 24,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
static const byte _industry_create_table_3[] = {
|
static const byte _industry_create_table_3[] = {
|
||||||
5, 26,
|
3, 26,
|
||||||
5, 27,
|
3, 27,
|
||||||
4, 28,
|
2, 28,
|
||||||
5, 29,
|
3, 29,
|
||||||
4, 30,
|
2, 30,
|
||||||
5, 31,
|
3, 31,
|
||||||
5, 32,
|
3, 32,
|
||||||
4, 33,
|
2, 33,
|
||||||
5, 34,
|
3, 34,
|
||||||
5, 35,
|
3, 35,
|
||||||
4, 36,
|
2, 36,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2429,8 +2429,8 @@ static const char *name_hungarian_2[] = {
|
||||||
"Torna",
|
"Torna",
|
||||||
"Vas",
|
"Vas",
|
||||||
"Vámos",
|
"Vámos",
|
||||||
"Vásáros"
|
"Vásáros",
|
||||||
"Zala",
|
"Zala"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *name_hungarian_3[] = {
|
static const char *name_hungarian_3[] = {
|
||||||
|
|
|
@ -1088,12 +1088,12 @@ Town *CreateRandomTown(uint attempts, uint size_mode)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const byte _num_initial_towns[3] = {11, 23, 46};
|
static const byte _num_initial_towns[3] = {4, 17, 29};
|
||||||
|
|
||||||
bool GenerateTowns(void)
|
bool GenerateTowns(void)
|
||||||
{
|
{
|
||||||
uint num = 0;
|
uint num = 0;
|
||||||
uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 7));
|
uint n = ScaleByMapSize(_num_initial_towns[_opt.diff.number_towns] + (Random() & 3));
|
||||||
|
|
||||||
SetGeneratingWorldProgress(GWP_TOWN, n);
|
SetGeneratingWorldProgress(GWP_TOWN, n);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue