#include "date_type.h"
#include "town_type.h"
#include "transport_type.h"
#include "network/core/config.h"
#include "company_type.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 | LocaleSettings |
Settings related to currency/unit systems. 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 | OPFSettings |
Settings related to the old pathfinder. More... | |
struct | NPFSettings |
Settings related to the new pathfinder. 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 | StationSettings |
Settings related to stations. More... | |
struct | GameSettings |
All settings together for the game. More... | |
struct | ClientSettings |
All settings that are only important for the local client. More... | |
Variables | |
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. |
Definition in file settings_type.h.
The current settings for this game.
Definition at line 69 of file settings.cpp.
Referenced by _GenerateWorld(), AddNewsItem(), BuildRailClick_AutoSignals(), BuildRailClick_Remove(), CalcRaildirsDrawstyle(), CanBuildVehicleInfrastructure(), CcBuildRailTunnel(), CheckOrders(), CheckSoftLimit(), ClearPathReservation(), CmdCompanyCtrl(), CmdSetAutoReplace(), DoAutosave(), DrawTile_Road(), DrawTile_TunnelBridge(), DrawTrackBits(), GenerateDefaultSaveName(), GenericPlaceSignals(), HandleAutoscroll(), HandleAutoSignalPlacement(), InitializeRailGUI(), LoadUnloadVehicle(), BuildRailToolbarWindow::OnPlaceMouseUp(), PositionMainToolbar(), ResetSignalVariant(), SetDefaultRailGui(), SetLocalCompany(), ShowMeasurementTooltips(), ShowSelectStationIfNeeded(), StartScenario(), IConsoleLine::Truncate(), TryPathReserve(), TryReserveRailTrack(), UnreserveRailTrack(), UpdateAircraftSpeed(), UpdateTownVirtCoord(), and VpSelectTilesWithMethod().
The current settings for this game.
Definition at line 70 of file settings.cpp.
Referenced by _GenerateWorld(), AffectSpeedByDirChange(), AffectSpeedByZChange(), AircraftEventHandler_AtTerminal(), AITileList_IndustryAccepting::AITileList_IndustryAccepting(), AITileList_IndustryProducing::AITileList_IndustryProducing(), AlwaysDrawUnpavedRoads(), AutoslopeEnabled(), BuildRailClick_Remove(), BuildTownHouse(), AIRoad::CanBuildConnectedRoadParts(), AIIndustryType::CanBuildIndustry(), CanBuildVehicleInfrastructure(), AIIndustryType::CanProspectIndustry(), ChangeIndustryProduction(), CheckAllowRemoveRoad(), CheckFlatLandBelow(), CheckIfAuthorityAllowsNewStation(), CheckIndustryCloseDownProtection(), CheckNextTrainTile(), CheckRailSlope(), CheckRoadSlope(), CheckSwitchToEuro(), ChooseShipTrack(), ClickChangeClimateCheat(), CmdAutofillTimetable(), CmdBuildAircraft(), CmdBuildAirport(), CmdBuildBridge(), CmdBuildDock(), CmdBuildIndustry(), CmdBuildRailroadStation(), CmdBuildRailVehicle(), CmdBuildRoad(), CmdBuildRoadDepot(), CmdBuildRoadStop(), CmdBuildRoadVeh(), CmdBuildShip(), CmdBuildTown(), CmdBuildTrainDepot(), CmdBuildTrainWaypoint(), CmdBuyShareInCompany(), CmdChangeTimetable(), CmdConvertRail(), CmdGiveMoney(), CmdInsertOrder(), CmdMoveRailVehicle(), CmdPlantTree(), CmdRemoveFromRailroadStation(), CmdReverseTrainDirection(), CmdSellShareInCompany(), CmdSetVehicleOnTime(), ConvertDisplaySpeedToSpeed(), ConvertSpeedToDisplaySpeed(), CreateNewIndustryHelper(), DeliverGoods(), DeliverGoodsToIndustry(), DoCreateTown(), DoTrainPathfind(), DrawSmallMapStuff(), ExpandTown(), ExtendTrainReservation(), FindClosestTrainDepot(), FindSafePosition(), FindStationsAroundTiles(), FindStationsNearby(), FlatEmptyWorld(), FloodVehicles(), FollowTrainReservation(), FreightWagonMult(), GamelogMode(), GamelogTestMode(), GenerateIndustries(), GenerateTerrainPerlin(), GenerateTownName(), GenerateTowns(), GenerateTrees(), GenerateWorld(), AIAirport::GetAirportCoverageRadius(), GetAirportNoiseLevelForTown(), AITown::GetAllowedNoise(), AITile::GetCargoAcceptance(), AITile::GetCargoProduction(), Station::GetCatchmentRadius(), GetClosestWaterDistance(), GetCompanyRailtypes(), GetCompanyRoadtypes(), IndustrySpec::GetConstructionCost(), AIStation::GetCoverageRadius(), GetDriveableTrackdirBits(), GetGlobalVariable(), GetMaskOfTownActions(), AIBridge::GetMaxLength(), AIEventEnginePreview::GetMaxSpeed(), AIEngine::GetMaxSpeed(), GetNewEngine(), AIAirport::GetNoiseLevelIncrease(), GetRandomTreeType(), GetServiceIntervalClamped(), GetSnowLine(), GetTerrainType(), GetTileSlope(), GetValidAirports(), AIGameSettings::GetValue(), GrayscaleToMapHeights(), GrowTown(), GrowTownInTile(), GUIPlaceProcDragXY(), HasCatenaryDrawn(), HeightMapCoastLines(), HeightMapGenerate(), HeightMapNormalize(), HeightMapSineTransform(), HighestSnowLine(), InitLoading(), int_noise(), AIGameSettings::IsDisabledVehicleType(), IsRoadAllowedHere(), LoadUnloadVehicle(), LowestSnowLine(), MaybeNewIndustry(), NewTrainPathfind(), NPFFindSafeTile(), NPFSaveTargetData(), CompanyWindow::OnPaint(), PlaceInitialIndustry(), PlaceTreesRandomly(), AIIndustryType::ProductionCanIncrease(), RemoveRoad(), ResetIndustries(), ResetNewGRFData(), RestoreVehicleOrders(), RoadFindPathToDest(), SaveHighScoreValue(), SetTileType(), StartScenario(), StationJoinerNeeded(), TerraformTileHeight(), TestAutoslopeOnRailTile(), TgenSetTileHeight(), TownGetVariable(), TownHouseChangeInfo(), TownLayoutAllows2x2HouseHere(), TownLayoutAllowsHouseHere(), TrainCheckIfLineEnds(), TrainConsistChanged(), TranslateXYToTileCoord(), TryPathReserve(), TryReserveSafeTrack(), UpdateAircraftSpeed(), UpdateTownGrowRate(), UpdateTrainSpeed(), YapfCheckReverseTrain(), YapfChooseRailTrack(), YapfChooseRoadTrack(), YapfChooseShipTrack(), YapfFindNearestRailDepotTwoWay(), YapfFindNearestRoadDepot(), YapfFindNearestRoadVehicleCompatibleStop(), YapfRailFindNearestSafeTile(), and YapfRoadVehDistanceToTile().
The settings values that are used for new games and/or modified in config file.
Definition at line 71 of file settings.cpp.
Referenced by _GenerateWorld(), AIConfigWindow::OnClick(), AISettingsWindow::OnClick(), AIConfigWindow::OnPaint(), and StartScenario().