equal
deleted
inserted
replaced
3 /** @file genworld.cpp */ |
3 /** @file genworld.cpp */ |
4 |
4 |
5 #include "stdafx.h" |
5 #include "stdafx.h" |
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "functions.h" |
7 #include "functions.h" |
|
8 #include "landscape.h" |
8 #include "player.h" |
9 #include "player.h" |
9 #include "table/sprites.h" |
10 #include "table/sprites.h" |
10 #include "variables.h" |
11 #include "variables.h" |
11 #include "thread.h" |
12 #include "thread.h" |
12 #include "genworld.h" |
13 #include "genworld.h" |
17 #include "debug.h" |
18 #include "debug.h" |
18 #include "settings.h" |
19 #include "settings.h" |
19 #include "heightmap.h" |
20 #include "heightmap.h" |
20 #include "date.h" |
21 #include "date.h" |
21 |
22 |
22 void GenerateLandscape(byte mode); |
|
23 void GenerateClearTile(); |
23 void GenerateClearTile(); |
24 void GenerateIndustries(); |
24 void GenerateIndustries(); |
25 void GenerateUnmovables(); |
25 void GenerateUnmovables(); |
26 bool GenerateTowns(); |
26 bool GenerateTowns(); |
27 void GenerateTrees(); |
27 void GenerateTrees(); |
29 void StartupEconomy(); |
29 void StartupEconomy(); |
30 void StartupPlayers(); |
30 void StartupPlayers(); |
31 void StartupDisasters(); |
31 void StartupDisasters(); |
32 |
32 |
33 void InitializeGame(int mode, uint size_x, uint size_y); |
33 void InitializeGame(int mode, uint size_x, uint size_y); |
34 |
|
35 void ConvertGroundTilesIntoWaterTiles(); |
|
36 |
34 |
37 /* Please only use this variable in genworld.h and genworld.c and |
35 /* Please only use this variable in genworld.h and genworld.c and |
38 * nowhere else. For speed improvements we need it to be global, but |
36 * nowhere else. For speed improvements we need it to be global, but |
39 * in no way the meaning of it is to use it anywhere else besides |
37 * in no way the meaning of it is to use it anywhere else besides |
40 * in the genworld.h and genworld.c! -- TrueLight */ |
38 * in the genworld.h and genworld.c! -- TrueLight */ |