|
OpenTTD Source 20260208-master-g43af8e94d0
|
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 | |
| TreePlacer | 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 | |
| LandscapeType | landscape |
| the landscape we're currently in | |
| BorderFlags | water_borders |
| bitset of the borders that are water | |
| BorderFlagPresets | water_border_presets |
| presets for map border options | |
| 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 | |
| GenworldAverageHeight | average_height |
| adjustment applied to TGP based on climate, or manually set by the player. | |
| 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 | |
Settings related to the creation of games.
Definition at line 403 of file settings_type.h.
| uint8_t GameCreationSettings::amount_of_rivers |
the amount of rivers
Definition at line 431 of file settings_type.h.
| GenworldAverageHeight GameCreationSettings::average_height |
adjustment applied to TGP based on climate, or manually set by the player.
Definition at line 426 of file settings_type.h.
| uint16_t GameCreationSettings::custom_industry_number |
manually entered number of industries
Definition at line 424 of file settings_type.h.
| uint8_t GameCreationSettings::custom_sea_level |
manually entered percentage of water in the map
Definition at line 428 of file settings_type.h.
| uint8_t GameCreationSettings::custom_terrain_type |
manually entered height for TGP to aim for
Definition at line 427 of file settings_type.h.
| uint16_t GameCreationSettings::custom_town_number |
manually entered number of towns
Definition at line 423 of file settings_type.h.
| uint8_t GameCreationSettings::desert_coverage |
the amount of desert coverage on the map
Definition at line 413 of file settings_type.h.
| TimerGameCalendar::Year GameCreationSettings::ending_year |
scoring end date
Definition at line 406 of file settings_type.h.
| uint32_t GameCreationSettings::generation_seed |
noise seed for world generation
Definition at line 404 of file settings_type.h.
| uint8_t GameCreationSettings::heightmap_height |
highest mountain for heightmap (towards what it scales)
Definition at line 414 of file settings_type.h.
| uint8_t GameCreationSettings::heightmap_rotation |
rotation director for the heightmap
Definition at line 417 of file settings_type.h.
| uint8_t GameCreationSettings::land_generator |
the landscape generator
Definition at line 409 of file settings_type.h.
| LandscapeType GameCreationSettings::landscape |
the landscape we're currently in
Definition at line 420 of file settings_type.h.
| uint8_t GameCreationSettings::map_x |
X size of map.
Definition at line 407 of file settings_type.h.
| uint8_t GameCreationSettings::map_y |
Y size of map.
Definition at line 408 of file settings_type.h.
| uint8_t GameCreationSettings::min_river_length |
the minimum river length
Definition at line 429 of file settings_type.h.
| uint8_t GameCreationSettings::oil_refinery_limit |
distance oil refineries allowed from map edge
Definition at line 410 of file settings_type.h.
| uint8_t GameCreationSettings::river_route_random |
the amount of randomicity for the route finding
Definition at line 430 of file settings_type.h.
| uint8_t GameCreationSettings::se_flat_world_height |
land height a flat world gets in SE
Definition at line 418 of file settings_type.h.
| uint8_t GameCreationSettings::snow_coverage |
the amount of snow coverage on the map
Definition at line 412 of file settings_type.h.
| uint8_t GameCreationSettings::snow_line_height |
the configured snow line height (deduced from "snow_coverage")
Definition at line 411 of file settings_type.h.
| TimerGameCalendar::Year GameCreationSettings::starting_year |
starting date
Definition at line 405 of file settings_type.h.
| uint8_t GameCreationSettings::tgen_smoothness |
how rough is the terrain from 0-3
Definition at line 415 of file settings_type.h.
| uint8_t GameCreationSettings::town_name |
the town name generator used for town names
Definition at line 419 of file settings_type.h.
| TreePlacer GameCreationSettings::tree_placer |
the tree placer algorithm
Definition at line 416 of file settings_type.h.
| uint8_t GameCreationSettings::variety |
variety level applied to TGP
Definition at line 425 of file settings_type.h.
| BorderFlagPresets GameCreationSettings::water_border_presets |
presets for map border options
Definition at line 422 of file settings_type.h.
| BorderFlags GameCreationSettings::water_borders |
bitset of the borders that are water
Definition at line 421 of file settings_type.h.