|
|
/* $Id$ */
|
|
|
|
|
|
/** @file genworld.cpp */
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "openttd.h"
|
|
|
#include "functions.h"
|
|
|
#include "landscape.h"
|
|
|
#include "player.h"
|
|
|
#include "table/sprites.h"
|
|
|
#include "variables.h"
|
|
|
#include "thread.h"
|
|
|
#include "command.h"
|
|
|
#include "genworld.h"
|
|
|
#include "gfx.h"
|
|
|
#include "gfxinit.h"
|
|
|
#include "gui.h"
|
|
|
#include "window_func.h"
|
|
|
#include "network/network.h"
|
|
|
#include "debug.h"
|
|
|
#include "settings.h"
|
|
|
#include "heightmap.h"
|
|
|
#include "date.h"
|
|
|
#include "viewport.h"
|
|
|
|
|
|
void GenerateClearTile();
|
|
|
void GenerateIndustries();
|
|
|
void GenerateUnmovables();
|
|
|
bool GenerateTowns();
|
|
|
void GenerateTrees();
|
|
|
|
|
|
void StartupEconomy();
|
|
|
void StartupPlayers();
|
|
|
void StartupDisasters();
|
|
|
|
|
|
void InitializeGame(int mode, uint size_x, uint size_y);
|
|
|
|
|
|
/* Please only use this variable in genworld.h and genworld.c and
|
|
|
* nowhere else. For speed improvements we need it to be global, but
|
|
|
* in no way the meaning of it is to use it anywhere else besides
|
|
|
* in the genworld.h and genworld.c! -- TrueLight */
|
|
|
gw_info _gw;
|