src/town.h
branchgamebalance
changeset 9901 a922f277ebfd
parent 9899 cde52f745560
child 9902 ed8f92929297
equal deleted inserted replaced
9900:750202458d8b 9901:a922f277ebfd
     4 #define TOWN_H
     4 #define TOWN_H
     5 
     5 
     6 #include "oldpool.h"
     6 #include "oldpool.h"
     7 #include "player.h"
     7 #include "player.h"
     8 #include "economy_new.h"
     8 #include "economy_new.h"
       
     9 #include "saveload.h"
     9 #include "functions.h"
    10 #include "functions.h"
    10 #include "helpers.hpp"
    11 #include "helpers.hpp"
    11 
    12 
    12 enum {
    13 enum {
    13 	HOUSE_NO_CLASS   = 0,
    14 	HOUSE_NO_CLASS   = 0,
   197 	 * @param [in]  tile  The tile which to find the radius group for
   198 	 * @param [in]  tile  The tile which to find the radius group for
   198 	 * @param [out] group The group for in which tile is located
   199 	 * @param [out] group The group for in which tile is located
   199 	 * @return            The town to which 'group' belongs
   200 	 * @return            The town to which 'group' belongs
   200 	 */
   201 	 */
   201 	static const Town *GetRadiusGroupForTile(TileIndex tile, uint &group);
   202 	static const Town *GetRadiusGroupForTile(TileIndex tile, uint &group);
       
   203 
       
   204 	/**
       
   205 	 * Descriptor for the "town" part of the savegame
       
   206 	 */
       
   207 	static const SaveLoad town_desc[];
   202 };
   208 };
   203 
   209 
   204 struct HouseSpec {
   210 struct HouseSpec {
   205 	/* Standard properties */
   211 	/* Standard properties */
   206 	Year min_date;                     ///< introduction year of the house
   212 	Year min_date;                     ///< introduction year of the house