OpenTTD Source 20260129-master-g2bb01bd0e4
settings_type.h File Reference

Types related to global configuration settings. More...

#include "command_type.h"
#include "timer/timer_game_calendar.h"
#include "economy_type.h"
#include "town_type.h"
#include "transport_type.h"
#include "network/network_type.h"
#include "company_type.h"
#include "cargotype.h"
#include "linkgraph/linkgraph_type.h"
#include "zoom_type.h"
#include "openttd.h"
#include "rail_gui.h"
#include "signal_type.h"
#include "timetable.h"

Go to the source code of this file.

Data Structures

struct  DifficultySettings
 Settings related to the difficulty of the game. More...
 
struct  GUISettings
 Settings related to the GUI and other stuff that is not saved in the savegame. More...
 
struct  SoundSettings
 Settings related to sound effects. More...
 
struct  MusicSettings
 Settings related to music. More...
 
struct  LocaleSettings
 Settings related to currency/unit systems. More...
 
struct  NewsSettings
 Settings related to news. More...
 
struct  NetworkSettings
 All settings related to the network. More...
 
struct  GameCreationSettings
 Settings related to the creation of games. More...
 
struct  ConstructionSettings
 Settings related to construction in-game. More...
 
struct  AISettings
 Settings related to the AI. More...
 
struct  ScriptSettings
 Settings related to scripts. More...
 
struct  YAPFSettings
 Settings related to the yet another pathfinder. More...
 
struct  PathfinderSettings
 Settings related to all pathfinders. More...
 
struct  OrderSettings
 Settings related to orders. More...
 
struct  VehicleSettings
 Settings related to vehicles. More...
 
struct  EconomySettings
 Settings related to the economy. More...
 
struct  LinkGraphSettings
 
struct  StationSettings
 Settings related to stations. More...
 
struct  VehicleDefaultSettings
 Default settings for vehicles. More...
 
struct  CompanySettings
 Settings that can be set per company. More...
 
struct  ScriptConfigSettings
 Container for AI and Game script configuration. More...
 
struct  GameSettings
 All settings together for the game. More...
 
struct  ClientSettings
 All settings that are only important for the local client. More...
 

Enumerations

enum  SettingsProfile : uint8_t {
  SP_BEGIN = 0 , SP_EASY = SP_BEGIN , SP_MEDIUM , SP_HARD ,
  SP_END , SP_CUSTOM = SP_END , SP_SAVED_HIGHSCORE_END , SP_MULTIPLAYER = SP_SAVED_HIGHSCORE_END ,
  SP_HIGHSCORE_END
}
 Settings profiles and highscore tables. More...
 
enum class  IndustryDensity : uint8_t {
  FundedOnly , Minimal , VeryLow , Low ,
  Normal , High , Custom , End
}
 Available industry map generation densities. More...
 
enum class  GenworldMaxHeight : uint8_t {
  VeryFlat , Flat , Hilly , Mountainous ,
  Alpinist , Custom
}
 Possible options for the Maximum Height pulldown in the Genworld GUI. More...
 
enum class  GenworldAverageHeight : uint8_t { Auto , Lowlands , Normal , Plateaus }
 Possible options for the Average Height pulldown in the Genworld GUI. More...
 
enum class  BorderFlagPresets : uint8_t { Random = 0 , Manual , InfiniteWater }
 Possible options for the Borders pulldown in the Genworld GUI. More...
 
enum class  TimekeepingUnits : uint8_t { Calendar = 0 , Wallclock }
 Possible values for the "timekeeping_units" setting. More...
 
enum class  UseRelayService : uint8_t { Never = 0 , Ask , Allow }
 Possible values for "use_relay_service" setting. More...
 
enum class  ParticipateSurvey : uint8_t { Ask = 0 , No , Yes }
 Possible values for "participate_survey" setting. More...
 
enum class  RightClickClose : uint8_t { No = 0 , Yes , YesExceptSticky }
 Right-click to close window actions. More...
 
enum class  TreePlacer : uint8_t { None , Original , Improved }
 List of tree placer algorithm. More...
 
enum class  PlaceHouses : uint8_t { Forbidden = 0 , Allowed , AllowedConstructed }
 Possible values for "place_houses" setting. More...
 
enum class  VehicleBreakdowns : uint8_t { None = 0 , Reduced , Normal }
 Possible values for "vehicle_breakdowns" setting. More...
 
enum class  ViewportScrollMode : uint8_t {
  ViewportRMBFixed , MapRMBFixed , MapRMB , MapLMB ,
  End
}
 Settings relating to viewport/smallmap scrolling. More...
 
enum class  ScrollWheelScrolling : uint8_t { ZoomMap = 0 , ScrollMap = 1 , Off = 2 }
 Settings related to scroll wheel behavior. More...
 

Functions

GameSettingsGetGameSettings ()
 Get the settings-object applicable for the current situation: the newgame settings when we're in the main menu and otherwise the settings of the current game.
 

Variables

const size_t MAX_SLE_UINT8 = UINT8_MAX
 
const size_t MAX_SLE_UINT16 = UINT16_MAX
 
const size_t MAX_SLE_UINT32 = UINT32_MAX
 
const size_t MAX_SLE_UINT = UINT_MAX
 
const size_t MAX_SLE_INT8 = INT8_MAX
 
const size_t MAX_SLE_INT16 = INT16_MAX
 
const size_t MAX_SLE_INT32 = INT32_MAX
 
const size_t MAX_SLE_INT = INT_MAX
 
ClientSettings _settings_client
 The current settings for this game.
 
GameSettings _settings_game
 The current settings for this game.
 
GameSettings _settings_newgame
 The settings values that are used for new games and/or modified in config file.
 
VehicleDefaultSettings _old_vds
 Old vehicle settings, which were game settings before, and are company settings now.
 

Detailed Description

Types related to global configuration settings.

Definition in file settings_type.h.

Enumeration Type Documentation

◆ BorderFlagPresets

enum class BorderFlagPresets : uint8_t
strong

Possible options for the Borders pulldown in the Genworld GUI.

Definition at line 87 of file settings_type.h.

◆ GenworldAverageHeight

enum class GenworldAverageHeight : uint8_t
strong

Possible options for the Average Height pulldown in the Genworld GUI.

Definition at line 79 of file settings_type.h.

◆ GenworldMaxHeight

enum class GenworldMaxHeight : uint8_t
strong

Possible options for the Maximum Height pulldown in the Genworld GUI.

Definition at line 69 of file settings_type.h.

◆ IndustryDensity

enum class IndustryDensity : uint8_t
strong

Available industry map generation densities.

Enumerator
FundedOnly 

The game does not build industries.

Minimal 

Start with just the industries that must be present.

VeryLow 

Very few industries at game start.

Low 

Few industries at game start.

Normal 

Normal amount of industries at game start.

High 

Many industries at game start.

Custom 

Custom number of industries.

End 

Number of industry density settings.

Definition at line 55 of file settings_type.h.

◆ ParticipateSurvey

enum class ParticipateSurvey : uint8_t
strong

Possible values for "participate_survey" setting.

Definition at line 107 of file settings_type.h.

◆ PlaceHouses

enum class PlaceHouses : uint8_t
strong

Possible values for "place_houses" setting.

Definition at line 132 of file settings_type.h.

◆ RightClickClose

enum class RightClickClose : uint8_t
strong

Right-click to close window actions.

Definition at line 114 of file settings_type.h.

◆ ScrollWheelScrolling

enum class ScrollWheelScrolling : uint8_t
strong

Settings related to scroll wheel behavior.

Enumerator
ZoomMap 

Scroll wheel zooms the map.

ScrollMap 

Scroll wheel scrolls the map.

Off 

Scroll wheel has no effect.

Definition at line 181 of file settings_type.h.

◆ SettingsProfile

enum SettingsProfile : uint8_t

Settings profiles and highscore tables.

Enumerator
SP_EASY 

Easy difficulty.

SP_MEDIUM 

Medium difficulty.

SP_HARD 

Hard difficulty.

SP_END 

End of setting profiles.

SP_CUSTOM 

No profile, special "custom" highscore.

SP_SAVED_HIGHSCORE_END 

End of saved highscore tables.

SP_MULTIPLAYER 

Special "multiplayer" highscore. Not saved, always specific to the current game.

SP_HIGHSCORE_END 

End of highscore tables.

Definition at line 39 of file settings_type.h.

◆ TimekeepingUnits

enum class TimekeepingUnits : uint8_t
strong

Possible values for the "timekeeping_units" setting.

Definition at line 94 of file settings_type.h.

◆ TreePlacer

enum class TreePlacer : uint8_t
strong

List of tree placer algorithm.

This enumeration defines all possible tree placer algorithm in the game.

Enumerator
None 

No tree placer algorithm.

Original 

The original algorithm.

Improved 

A 'improved' algorithm.

Definition at line 125 of file settings_type.h.

◆ UseRelayService

enum class UseRelayService : uint8_t
strong

Possible values for "use_relay_service" setting.

Definition at line 100 of file settings_type.h.

◆ VehicleBreakdowns

enum class VehicleBreakdowns : uint8_t
strong

Possible values for "vehicle_breakdowns" setting.

Definition at line 139 of file settings_type.h.

◆ ViewportScrollMode

enum class ViewportScrollMode : uint8_t
strong

Settings relating to viewport/smallmap scrolling.

Enumerator
ViewportRMBFixed 

Viewport moves with mouse movement on holding right mouse button, cursor position is fixed.

MapRMBFixed 

Map moves with mouse movement on holding right mouse button, cursor position is fixed.

MapRMB 

Map moves with mouse movement on holding right mouse button, cursor moves.

MapLMB 

Map moves with mouse movement on holding left mouse button, cursor moves.

End 

Number of scroll mode settings.

Definition at line 172 of file settings_type.h.

Function Documentation

◆ GetGameSettings()

GameSettings & GetGameSettings ( )
inline

Get the settings-object applicable for the current situation: the newgame settings when we're in the main menu and otherwise the settings of the current game.

Definition at line 701 of file settings_type.h.

References _settings_game, and _settings_newgame.

Referenced by CmdChangeSetting(), AIConfigWindow::DrawWidget(), GetCurrency(), AIConfigWindow::GetWidgetString(), SettingEntry::IsVisibleByRestrictionMode(), AIConfigWindow::OnClick(), AIConfigWindow::OnInvalidateData(), and SetSettingValue().

Variable Documentation

◆ _old_vds

VehicleDefaultSettings _old_vds
extern

Old vehicle settings, which were game settings before, and are company settings now.

(Needed for savegame conversion)

Old vehicle settings, which were game settings before, and are company settings now.

Definition at line 63 of file settings.cpp.

Referenced by AfterLoadGame().

◆ _settings_client

ClientSettings _settings_client
extern

The current settings for this game.

Definition at line 60 of file settings.cpp.

Referenced by AddCustomRefreshRates(), AdjustGUIZoom(), AfterLoadGame(), AgeVehicle(), AlignInitialConstructionToolbar(), ServerNetworkAdminSocketHandler::AllowConnection(), AmbientSoundEffectCallback(), AnimationBase< Tbase, Tspec, Tobj, Textra, GetCallback, Tframehelper >::AnimateTile(), TimetableWindow::BuildArrivalDepartureList(), GameOptionsWindow::BuildDropDownList(), BuildLandLegend(), BuildLinkStatsLegend(), BuildOwnerLegend(), MusicSystem::BuildPlaylists(), BuildRailClick_Remove(), CalcRaildirsDrawstyle(), CcBuildBridge(), CcBuildRailTunnel(), CcBuildRoadTunnel(), CcRoadStop(), AnimationBase< Tbase, Tspec, Tobj, Textra, GetCallback, Tframehelper >::ChangeAnimationFrame(), ChangeAutosaveFrequency(), ChangeNetworkRestartTime(), MusicSystem::ChangePlaylist(), ChangePopulation(), ChangeTimekeepingUnits(), CheckClientAndServerName(), CheckMinActiveClients(), CheckOrders(), CheckPauseOnJoin(), CheckRedrawStationCoverage(), BuildRailStationWindow::CheckSelectedSize(), CheckSoftLimit(), MusicSystem::CheckStatus(), CheckTrainCollision(), CheckTrainStayInDepot(), ChopLumberMillTrees(), ClearPathReservation(), BuildAirToolbarWindow::Close(), BuildDocksToolbarWindow::Close(), BuildRailToolbarWindow::Close(), BuildRoadToolbarWindow::Close(), CommonRaiseLowerBigLand(), CompanyServiceInterval(), Order::ConvertFromOldSavegame(), ConZoomToLevel(), CrashAirplane(), DebugReconsiderSendRemoteMessages(), DebugSendRemoteMessages(), DisasterTick_Aircraft(), DisasterTick_Big_Ufo_Destroyer(), DisasterTick_Ufo(), DisasterTick_Zeppeliner(), DispatchRightClickEvent(), DistributeQueue(), DoAutoOrNetsave(), GRFFileScanner::DoScan(), DoZoomInOutWindow(), TimetableWindow::DrawArrivalDeparturePanel(), DrawBridgeMiddle(), LinkGraphOverlay::DrawContent(), BaseGraphWindow::DrawGraph(), DrawOrderString(), DrawSpriteToRgbaBuffer(), TimetableWindow::DrawSummaryPanel(), DrawTile_Road(), DrawTile_TunnelBridge(), DrawTrackBits(), BaseVehicleListWindow::DrawVehicleListItems(), DrawVehiclePurchaseInfo(), LinkGraphLegendWindow::DrawWidget(), MusicWindow::DrawWidget(), NetworkStartServerWindow::DrawWidget(), ScanProgressWindow::DrawWidget(), GameOptionsWindow::DrawWidget(), Blitter_8bppOptimized::Encode(), FiosNumberedSaveName::Filename(), FillStaticNetworkServerGameInfo(), FloodVehicle(), GenerateDefaultSaveName(), GenerateRockyArea(), GenericPlaceSignals(), GetDefaultServiceInterval(), GetLogPrefix(), GetOrderCmdFromTile(), GetSmallMapContoursPixels(), GetSmallMapIndustriesPixels(), GetSmallMapOwnerPixels(), GetSmallMapRoutesPixels(), GetSmallMapVehiclesPixels(), GetTimetableParameters(), MusicTrackSelectionWindow::GetWidgetString(), NetworkStartServerWindow::GetWidgetString(), NetworkClientListWindow::GetWidgetString(), BuildSignalWindow::GetWidgetString(), GameOptionsWindow::GetWidgetString(), HandleAutoscroll(), HandleAutoSignalPlacement(), HandleMouseEvents(), Vehicle::HandlePathfindingResult(), HandleViewportScroll(), HandleWindowDragging(), HandleZoomMessage(), InitializeRailGUI(), InitializeWindowViewport(), VideoDriver_Cocoa::InputLoop(), MusicSystem::IsPlaying(), MusicSystem::IsShuffle(), LoadFromConfig(), LoadUnloadVehicle(), VideoDriver_Null::MainLoop(), MenuClickSettings(), NetworkAutoCleanCompanies(), NetworkCheckRestartMapYear(), NetworkClientJoinGame(), NetworkClientPreferTeamChat(), NetworkInitChatMessage(), NetworkMaxCompaniesAllowed(), NetworkServer_Tick(), NetworkServerSendChat(), NetworkUDPInitialize(), NetworkUpdateServerGameType(), NetworkValidateOurClientName(), NewsItem::NewsItem(), MusicSystem::Next(), BuildAirportWindow::OnClick(), BuildDocksStationWindow::OnClick(), SaveLoadWindow::OnClick(), MusicWindow::OnClick(), NetworkGameWindow::OnClick(), NetworkStartServerWindow::OnClick(), NetworkClientListWindow::OnClick(), NetworkAskRelayWindow::OnClick(), NetworkAskSurveyWindow::OnClick(), BuildRailStationWindow::OnClick(), BuildSignalWindow::OnClick(), BuildRoadStationWindow::OnClick(), GameOptionsWindow::OnClick(), TimetableWindow::OnClick(), NetworkStartServerWindow::OnDropdownSelect(), NetworkClientListWindow::OnDropdownSelect(), GameOptionsWindow::OnDropdownSelect(), NetworkGameWindow::OnEditboxChanged(), MainWindow::OnHotkey(), SelectGameWindow::OnInit(), BuildRailStationWindow::OnInit(), ScriptDebugWindow::OnInit(), TerraformToolbarWindow::OnInitialPosition(), SelectCompanyLiveryWindow::OnInvalidateData(), SaveLoadWindow::OnInvalidateData(), MusicTrackSelectionWindow::OnInvalidateData(), MusicWindow::OnInvalidateData(), SpriteAlignerWindow::OnInvalidateData(), NewGRFWindow::OnInvalidateData(), BuildSignalWindow::OnInvalidateData(), ScriptDebugWindow::OnInvalidateData(), GameOptionsWindow::OnInvalidateData(), IndustryViewWindow::OnMouseWheel(), MainWindow::OnMouseWheel(), SmallMapWindow::OnMouseWheel(), TownViewWindow::OnMouseWheel(), VehicleViewWindow::OnMouseWheel(), ExtraViewportWindow::OnMouseWheel(), AfterNewGRFScan::OnNewGRFsScanned(), BuildDocksStationWindow::OnPaint(), BuildRailStationWindow::OnPaint(), BuildRoadStationWindow::OnPaint(), BuildRailToolbarWindow::OnPlaceMouseUp(), BuildRoadToolbarWindow::OnPlaceMouseUp(), BuildIndustryWindow::OnPlaceObject(), OrdersWindow::OnPlaceObject(), NetworkGameWindow::OnQueryTextFinished(), NetworkStartServerWindow::OnQueryTextFinished(), SmallMapWindow::OnScroll(), OnTick_Companies(), OrdersWindow::OrderClick_NearestDepot(), PlaceExtraDepotRail(), PlaceRail_Station(), MusicSystem::Play(), PlayVehicleSound(), VideoDriver_SDL_Base::PollEvent(), PositionMainToolbar(), PositionNetworkChatWindow(), PositionNewsMessage(), PositionStatusbar(), MusicSystem::Prev(), GSConfigWindow::RebuildVisibleSettings(), ScriptSettingsWindow::RebuildVisibleSettings(), ServerNetworkAdminSocketHandler::Receive_ADMIN_JOIN(), ServerNetworkGameSocketHandler::Receive_CLIENT_COMMAND(), ServerNetworkGameSocketHandler::Receive_CLIENT_IDENTIFY(), ServerNetworkGameSocketHandler::Receive_CLIENT_JOIN(), ServerNetworkGameSocketHandler::Receive_CLIENT_RCON(), ClientNetworkCoordinatorSocketHandler::Receive_GC_ERROR(), ClientNetworkCoordinatorSocketHandler::Receive_GC_REGISTER_ACK(), ClientNetworkCoordinatorSocketHandler::Receive_GC_TURN_CONNECT(), ClientNetworkGameSocketHandler::Receive_SERVER_AUTH_REQUEST(), ClientNetworkCoordinatorSocketHandler::Register(), ScriptScanner::RegisterScript(), ScriptConfig::ResetEditableSettings(), ResetSignalVariant(), MusicSystem::SaveCustomPlaylist(), SaveOrLoad(), StationViewWindow::SelectGroupBy(), StationViewWindow::SelectSortBy(), StationViewWindow::SelectSortOrder(), ServerNetworkGameSocketHandler::SendConfigUpdate(), ClientNetworkCoordinatorSocketHandler::SendReceive(), ServerNetworkAdminSocketHandler::SendWelcome(), ServerNetworkGameSocketHandler::ServerNetworkGameSocketHandler(), ServiceIntervalSettingsValueText(), SetDefaultRailGui(), SetSettingValue(), BuildSignalWindow::SetSignalUIMode(), GRFConfig::SetSuitablePalette(), SetupScreenshotViewport(), NWidgetLeaf::SetupSmallestSize(), SetupWidgetDimensions(), ShowErrorMessage(), ShowMeasurementTooltips(), ShowNewspaper(), ShowSelectBaseStationIfNeeded(), ShowTicker(), MusicSystem::Shuffle(), SndClickBeep(), SndConfirmBeep(), MusicSystem::Stop(), SurveySettings(), SyncCompanySettings(), TicksPerTimetableUnit(), ToggleBoundingBoxes(), ToggleDirtyBlocks(), ToggleWidgetOutlines(), TrainController(), NetworkSurveyHandler::Transmit(), TruncateBuffer(), TryPathReserve(), TryReserveRailTrack(), UnreserveRailTrack(), MusicSystem::Unshuffle(), UpdateAllServiceInterval(), UpdateGUIZoom(), UpdateLevelCrossingTile(), ScanProgressWindow::UpdateNewGRFScanStatus(), TimetableWindow::UpdateSelectionStates(), UpdateViewportPosition(), Town::UpdateVirtCoord(), NetworkClientListWindow::UpdateWidgetSize(), TimetableWindow::UpdateWidgetSize(), VehicleEnterDepot(), VehicleIsAboveLatenessThreshold(), ViewportAddTownStrings(), and VpSelectTilesWithMethod().

◆ _settings_game

GameSettings _settings_game
extern

The current settings for this game.

The current settings for this game.

Definition at line 61 of file settings.cpp.

Referenced by _GenerateWorld(), AddAcceptedCargoOfHouse(), AffectSpeedByZChange(), AfterLoadGame(), AfterLoadVehiclesPhase2(), AfterNewGRFScan::AfterNewGRFScan(), AircraftController(), AircraftEventHandler_AtTerminal(), AutoslopeEnabled(), Subsidy::AwardTo(), BuildLandLegend(), BuildRailClick_Remove(), CalcEngineReliability(), CalculateDesertLine(), CalculateRefitMasks(), CalculateSnowLine(), CanBuildVehicleInfrastructure(), CanExpandRailStation(), CanRoadContinueIntoNextTile(), AI::CanStartNew(), ChangeIndustryProduction(), ChangeMinutesPerYear(), CheckAllowRemoveRoad(), CheckAllowRemoveTunnelBridge(), CheckBridgeAvailability(), CheckBuildableTile(), CheckCompanyHasMoney(), CheckFlatLandRoadStop(), CheckforTownRating(), CheckIfAuthorityAllowsNewStation(), CheckIfCanLevelIndustryPlatform(), CheckIfIndustryTileSlopes(), CheckIfTrainNeedsService(), CheckIndustryCloseDownProtection(), CheckNewIndustry_Farm(), CheckNewIndustry_Forest(), CheckNewIndustry_OilRefinery(), CheckNewIndustry_OilRig(), CheckNewTrain(), CheckNextTrainTile(), CheckRailSlope(), CheckRoadSlope(), CheckTakeoverVehicleLimit(), CheckTrainAttachment(), CheckTrainStayInDepot(), CheckVehicleBreakdown(), ClearTile_Town(), ClickChangeMaxHlCheat(), CmdBuildAirport(), CmdBuildBridge(), CmdBuildDock(), CmdBuildIndustry(), CmdBuildLock(), CmdBuildObject(), CmdBuildRailStation(), CmdBuildRailWaypoint(), CmdBuildRoad(), CmdBuildRoadDepot(), CmdBuildRoadStop(), CmdBuildRoadVehicle(), CmdBuildRoadWaypoint(), CmdBuildSingleRail(), CmdBuildSingleSignal(), CmdBuildTrainDepot(), CmdBuildTunnel(), CmdConvertRail(), CmdConvertRoad(), CmdFoundTown(), CmdGiveMoney(), CmdLevelLand(), CmdPlaceHouse(), CmdPlaceHouseArea(), CmdPlantTree(), CmdRefitVehicle(), CmdReverseTrainDirection(), CmdTerraformLand(), CompaniesGenStatistics(), Company::Company(), CompanyCheckBankrupt(), Train::ConsistChanged(), CreateNewIndustryHelper(), CreateRivers(), CreateSubsidy(), DeleteStaleLinks(), DeliverGoods(), DisplayVehicleSortDropDown(), DistanceFromEdgeDir(), DoCreateTown(), LinkGraphOverlay::DrawContent(), StationViewWindow::DrawEntries(), DrawRoadAsSnowOrDesert(), SmallMapWindow::DrawSmallMap(), SmallMapWindow::DrawSmallMapColumn(), DrawTrainDetails(), CompanyInfrastructureWindow::DrawWidget(), StatusBarWindow::DrawWidget(), TownViewWindow::DrawWidget(), VehicleDetailsWindow::DrawWidget(), IndustryBuildData::EconomyMonthlyLoop(), ExtendTrainReservation(), FillStaticNetworkServerGameInfo(), FinaliseEngineArray(), FindSpring(), FindStationsNearby(), FindSubsidyIndustryCargoRoute(), FindSubsidyTownCargoRoute(), FindTownForIndustry(), FixSlopes(), FlatEmptyWorld(), FollowTrainReservation(), ForAllStationsAroundTiles(), FormatString(), FreightWagonMult(), AI::GameLoop(), ScriptInstance::GameLoop(), GenerateIndustries(), GenerateLandscape(), GenerateStationName(), GenerateTerrainPerlin(), GenerateTownName(), GenerateTowns(), GenerateTrees(), GenerateWorld(), GetAcceptanceAroundTiles(), GetAirportNoiseLevelForDistance(), GetAmplitude(), GetAvailableMoney(), Station::GetCatchmentRadius(), GetClimateMaskForLandscape(), GetClosestWaterDistance(), GetCompanyRailTypes(), GetCompanyRoadTypes(), AIConfig::GetConfig(), GameConfig::GetConfig(), IndustrySpec::GetConstructionCost(), RoadVehicle::GetCurrentMaxSpeed(), Train::GetCurrentMaxSpeed(), Train::GetCurveSpeedLimit(), GetDefaultTownsForMapSize(), TownViewWindow::GetDesiredInfoHeight(), TownAuthorityWindow::GetEnabledActions(), GetFreeUnitNumber(), GetGameSettings(), GetGlobalVariable(), GetIndustryGamePlayProbability(), Engine::GetLifeLengthInDays(), GetLoadAmount(), GetMaskOfTownActions(), GetMaxTreeSpriteSize(), GetNewEngine(), GetNewEngineID(), GetNormalGrowthRate(), GetNumberOfIndustries(), GetOtherAqueductEnd(), GetProductionAroundTiles(), GetRailTypes(), GetRandomTreeType(), GetRoadTypes(), GetScaledIndustryGenerationProbability(), RoadVehicle::GetSlopeSteepness(), Train::GetSlopeSteepness(), GetSmallMapVegetationPixels(), GetSnowLine(), GetTerrainType(), GetTileCatchmentRadius(), TownScopeResolver::GetVariable(), GetVelocityUnits(), CompanyFinancesWindow::GetWidgetString(), BuildIndustryWindow::GetWidgetString(), ScenarioEditorToolbarWindow::GetWidgetString(), GfxLoadSprites(), GlobalVarChangeInfo(), GreyscaleToMapHeights(), GrowTownInTile(), GUIPlaceProcDragXY(), Vehicle::HandleBreakdown(), HandleOldDiffCustom(), HasRailCatenaryDrawn(), HeightMapCoastLines(), HeightMapNormalize(), HeightMapSineTransform(), HighestSnowLine(), HighlightTownLocalAuthorityTiles(), IConsoleGetSetting(), IndustriesChangeInfo(), InitializePatchFlags(), int_noise(), InverseRemapCoords2(), AirportSpec::IsAvailable(), IsCommandAllowedWhilePaused(), Engine::IsEnabled(), ObjectSpec::IsEverAvailable(), IsInnerTile(), IsRoadAllowedHere(), IsValidRiverTerminusTile(), IsValidTileForWaypoint(), IsVehicleTypeDisabled(), OPTSChunkHandler::Load(), PATSChunkHandler::Load(), LoadHeightmap(), LoadNewGRF(), LoadSpriteTables(), LoadTownData(), LoadUnloadVehicle(), LowestSnowLine(), MakeTreeTypeButtons(), MakeWetlands(), Town::MaxTownNoise(), MaybeCrashAirplane(), MenuClickTown(), Gamelog::Mode(), Vehicle::NeedsServicing(), BuildIndustryWindow::OnClick(), FoundTownWindow::OnClick(), LandInfoWindow::OnInit(), FoundTownWindow::OnInit(), BuildVehicleWindow::OnInvalidateData(), BuildAirportWindow::OnPaint(), CompanyWindow::OnPaint(), BuildDocksStationWindow::OnPaint(), BuildRailStationWindow::OnPaint(), BuildRoadStationWindow::OnPaint(), ScenarioEditorToolbarWindow::OnPaint(), TerraformToolbarWindow::OnPlaceMouseUp(), OnTick_Companies(), OnTick_LinkGraph(), ParamSet(), ScriptInstance::Pause(), CargoPayment::PayTransfer(), CYapfCostRailT< Types >::PfCalcCost(), PlaceRail_Station(), PlaceRail_Waypoint(), PlaceRoad_BusStation(), PlaceRoad_TruckStation(), PlaceRoad_Waypoint(), PlaceTreesRandomly(), PopulateStationsNearby(), SmallMapWindow::RebuildColourIndexIfNecessary(), Station::RecomputeCatchment(), RecomputePrices(), RemoveAirport(), RemoveRoad(), ReplaceChain(), AI::ResetConfig(), ResetIndustries(), ResetNewGRFData(), ResetSettings(), ReverseTrainDirection(), RoadFindPathToDest(), RoadVehAccelerationModelChanged(), PATSChunkHandler::Save(), ScaleByCargoScale(), ScaleByInverseCargoScale(), ServerNetworkAdminSocketHandler::SendWelcome(), SetSettingValue(), SetStartingYear(), SetupScreenshotViewport(), SetYearEngineAgingStops(), StationViewWindow::ShowCargo(), Vehicle::ShowVisualEffect(), SplitGroundSpriteForOverlay(), StartupOneEngine(), StateGameLoop(), StateGameLoop_LinkGraphPauseControl(), StationJoinerNeeded(), SurveySettings(), TerraformTileHeight(), TestAutoslopeOnRailTile(), Gamelog::TestMode(), TGPGetMaxHeight(), TileAddWrap(), TileLoop_Town(), ToolbarScenDatePanel(), TownActionBuyRights(), TownActionFundBuildings(), TownActionRoadRebuild(), TownCanBePlacedHere(), TownHouseChangeInfo(), TownTickHandler(), TrainController(), TrainDetailsCapacityTab(), TrainDetailsCargoTab(), TryBuildTownHouse(), TryMakeRiverTerminus(), AI::Uninitialize(), Game::Uninitialize(), UpdateAircraftSpeed(), UpdateLandscapingLimits(), UpdateLoadUnloadTicks(), RoadVehicle::UpdateSpeed(), Train::UpdateSpeed(), UpdateStationRating(), UpdateTownGrowth(), CompanyInfrastructureWindow::UpdateWidgetSize(), IndustrySpec::UsesOriginalEconomy(), TimerGameEconomy::UsingWallclockUnits(), VehicleServiceInDepot(), ViewportAddLandscape(), YapfTrainCheckReverse(), YapfTrainChooseTrack(), YapfTrainFindNearestDepot(), YapfTrainFindNearestSafeTile(), and LinkGraphJob::~LinkGraphJob().

◆ _settings_newgame

◆ MAX_SLE_INT

const size_t MAX_SLE_INT = INT_MAX

Definition at line 36 of file settings_type.h.

◆ MAX_SLE_INT16

const size_t MAX_SLE_INT16 = INT16_MAX

Definition at line 34 of file settings_type.h.

◆ MAX_SLE_INT32

const size_t MAX_SLE_INT32 = INT32_MAX

Definition at line 35 of file settings_type.h.

◆ MAX_SLE_INT8

const size_t MAX_SLE_INT8 = INT8_MAX

Definition at line 33 of file settings_type.h.

◆ MAX_SLE_UINT

const size_t MAX_SLE_UINT = UINT_MAX

Definition at line 32 of file settings_type.h.

◆ MAX_SLE_UINT16

const size_t MAX_SLE_UINT16 = UINT16_MAX

Definition at line 30 of file settings_type.h.

◆ MAX_SLE_UINT32

const size_t MAX_SLE_UINT32 = UINT32_MAX

Definition at line 31 of file settings_type.h.

◆ MAX_SLE_UINT8

const size_t MAX_SLE_UINT8 = UINT8_MAX

Definition at line 29 of file settings_type.h.