src/variables.h
branchcpp_gui
changeset 6308 646711c5feaa
parent 6307 f40e88cff863
equal deleted inserted replaced
6307:f40e88cff863 6308:646711c5feaa
   224 	YapfSettings  yapf;
   224 	YapfSettings  yapf;
   225 
   225 
   226 	uint8 scrollwheel_scrolling;
   226 	uint8 scrollwheel_scrolling;
   227 	uint8 scrollwheel_multiplier;
   227 	uint8 scrollwheel_multiplier;
   228 
   228 
   229 	uint8 town_growth_rate; ///< Town growth rate
   229 	uint8 town_growth_rate;  ///< Town growth rate
   230 	uint8 larger_towns;     ///< 1 in the specified number of towns will grow twice as fast
   230 	uint8 larger_towns;      ///< The number of cities to build. These start off larger and grow twice as fast
       
   231 	uint8 initial_city_size; ///< Multiplier for the initial size of the cities compared to towns
   231 };
   232 };
   232 
   233 
   233 VARDEF Patches _patches;
   234 VARDEF Patches _patches;
   234 
   235 
   235 
   236 
   387  * The duration of the bound string is valid only until the next acll to GetString,
   388  * The duration of the bound string is valid only until the next acll to GetString,
   388  * so be careful. */
   389  * so be careful. */
   389 StringID BindCString(const char *str);
   390 StringID BindCString(const char *str);
   390 
   391 
   391 
   392 
   392 #define COPY_IN_DPARAM(offs,src,num) memcpy(_decode_parameters + offs, src, sizeof(uint32) * (num))
   393 #define COPY_IN_DPARAM(offs, src, num) memcpy(_decode_parameters + offs, src, sizeof(uint32) * (num))
   393 #define COPY_OUT_DPARAM(dst,offs,num) memcpy(dst,_decode_parameters + offs, sizeof(uint32) * (num))
   394 #define COPY_OUT_DPARAM(dst, offs, num) memcpy(dst, _decode_parameters + offs, sizeof(uint32) * (num))
   394 
   395 
   395 
   396 
   396 #define SET_EXPENSES_TYPE(x) _yearly_expenses_type = x;
   397 #define SET_EXPENSES_TYPE(x) _yearly_expenses_type = x;
   397 
   398 
   398 /* landscape.cpp */
   399 /* landscape.cpp */