src/genworld.cpp
branchgamebalance
changeset 9908 0fa543611bbe
parent 9895 7bd07f43b0e3
child 7039 a20ddaf4dc97
child 9620 31e38d28a0af
equal deleted inserted replaced
9907:3b068c3a1c74 9908:0fa543611bbe
     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 */