OpenTTD Source  20241108-master-g80f628063a
GameCreationSettings Struct Reference

Settings related to the creation of games. More...

#include <settings_type.h>

Data Fields

uint32_t generation_seed
 noise seed for world generation
 
TimerGameCalendar::Year starting_year
 starting date
 
TimerGameCalendar::Year ending_year
 scoring end date
 
uint8_t map_x
 X size of map.
 
uint8_t map_y
 Y size of map.
 
uint8_t land_generator
 the landscape generator
 
uint8_t oil_refinery_limit
 distance oil refineries allowed from map edge
 
uint8_t snow_line_height
 the configured snow line height (deduced from "snow_coverage")
 
uint8_t snow_coverage
 the amount of snow coverage on the map
 
uint8_t desert_coverage
 the amount of desert coverage on the map
 
uint8_t heightmap_height
 highest mountain for heightmap (towards what it scales)
 
uint8_t tgen_smoothness
 how rough is the terrain from 0-3
 
uint8_t tree_placer
 the tree placer algorithm
 
uint8_t heightmap_rotation
 rotation director for the heightmap
 
uint8_t se_flat_world_height
 land height a flat world gets in SE
 
uint8_t town_name
 the town name generator used for town names
 
uint8_t landscape
 the landscape we're currently in
 
uint8_t water_borders
 bitset of the borders that are water
 
uint16_t custom_town_number
 manually entered number of towns
 
uint16_t custom_industry_number
 manually entered number of industries
 
uint8_t variety
 variety level applied to TGP
 
uint8_t custom_terrain_type
 manually entered height for TGP to aim for
 
uint8_t custom_sea_level
 manually entered percentage of water in the map
 
uint8_t min_river_length
 the minimum river length
 
uint8_t river_route_random
 the amount of randomicity for the route finding
 
uint8_t amount_of_rivers
 the amount of rivers
 

Detailed Description

Settings related to the creation of games.

Definition at line 351 of file settings_type.h.


The documentation for this struct was generated from the following file: