(svn r15342) -Feature: allow changing town layout in the 'Found new town' window

This commit is contained in:
smatz
2009-02-04 22:52:34 +00:00
parent 38e66637a1
commit e80255c4ae
5 changed files with 72 additions and 27 deletions

View File

@@ -26,13 +26,13 @@
#include "saveload/saveload.h"
#include "void_map.h"
#include "settings_type.h"
#include "town.h"
#include "table/sprites.h"
void GenerateClearTile();
void GenerateIndustries();
void GenerateUnmovables();
bool GenerateTowns();
void GenerateTrees();
void StartupEconomy();
@@ -121,7 +121,7 @@ static void _GenerateWorld(void *arg)
/* only generate towns, tree and industries in newgame mode. */
if (_game_mode != GM_EDITOR) {
GenerateTowns();
GenerateTowns(_settings_game.economy.town_layout);
GenerateIndustries();
GenerateUnmovables();
GenerateTrees();