town.h
changeset 1093 4fdc46eaf423
parent 1080 23797dda4792
child 1220 8b951444b021
equal deleted inserted replaced
1092:e3b4a131db7c 1093:4fdc46eaf423
    71 
    71 
    72 	// NOSAVE: UpdateTownRadius updates this given the house count.
    72 	// NOSAVE: UpdateTownRadius updates this given the house count.
    73 	uint16 radius[5];
    73 	uint16 radius[5];
    74 };
    74 };
    75 
    75 
    76 uint32 GetWorldPopulation();
    76 uint32 GetWorldPopulation(void);
    77 
    77 
    78 void UpdateTownVirtCoord(Town *t);
    78 void UpdateTownVirtCoord(Town *t);
    79 void InitializeTown();
    79 void InitializeTown(void);
    80 void ShowTownViewWindow(uint town);
    80 void ShowTownViewWindow(uint town);
    81 void DeleteTown(Town *t);
    81 void DeleteTown(Town *t);
    82 void ExpandTown(Town *t);
    82 void ExpandTown(Town *t);
    83 bool GrowTown(Town *t);
    83 bool GrowTown(Town *t);
    84 Town *CreateRandomTown();
    84 Town *CreateRandomTown(void);
    85 
    85 
    86 enum {
    86 enum {
    87 	ROAD_REMOVE = 0,
    87 	ROAD_REMOVE = 0,
    88 	UNMOVEABLE_REMOVE = 1,
    88 	UNMOVEABLE_REMOVE = 1,
    89 	TUNNELBRIDGE_REMOVE = 1,
    89 	TUNNELBRIDGE_REMOVE = 1,