(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too

This commit is contained in:
smatz
2009-09-21 20:22:56 +00:00
parent e3e180523e
commit a2f43040af
5 changed files with 73 additions and 46 deletions

View File

@@ -163,7 +163,6 @@ void UpdateAllTownVirtCoords();
void InitializeTown();
void ShowTownViewWindow(TownID town);
void ExpandTown(Town *t);
Town *CreateRandomTown(uint attempts, TownSize size, bool city, TownLayout layout);
enum TownRatingCheckType {
ROAD_REMOVE = 0,
@@ -239,6 +238,7 @@ enum TownActions {
DECLARE_ENUM_AS_BIT_SET(TownActions);
extern const byte _town_action_costs[TACT_COUNT];
extern TownID _new_town_id;
/**
* Calculate a hash value from a tile position