OpenTTD Source 20241224-master-gee860a5c8e
|
All settings that are only important for the local client. More...
#include <settings_type.h>
Data Fields | |
GUISettings | gui |
settings related to the GUI | |
NetworkSettings | network |
settings related to the network | |
CompanySettings | company |
default values for per-company settings | |
SoundSettings | sound |
sound effect settings | |
MusicSettings | music |
settings related to music/sound | |
NewsSettings | news_display |
news display settings. | |
All settings that are only important for the local client.
Definition at line 609 of file settings_type.h.
CompanySettings ClientSettings::company |
default values for per-company settings
Definition at line 612 of file settings_type.h.
Referenced by AfterLoadGame(), ChangeTimekeepingUnits(), CompanyServiceInterval(), GetDefaultServiceInterval(), ServiceIntervalSettingsValueText(), SetSettingValue(), SurveySettings(), SyncCompanySettings(), and UpdateAllServiceInterval().
GUISettings ClientSettings::gui |
settings related to the GUI
Definition at line 610 of file settings_type.h.
Referenced by AddCustomRefreshRates(), AdjustGUIZoom(), AgeVehicle(), TimetableWindow::BuildArrivalDepartureList(), GameOptionsWindow::BuildDropDownList(), BuildLandLegend(), BuildLinkStatsLegend(), BuildOwnerLegend(), BuildRailClick_Remove(), CalcRaildirsDrawstyle(), CcBuildRailTunnel(), CcBuildRoadTunnel(), CcRoadStop(), ChangeAutosaveFrequency(), ChangePopulation(), CheckOrders(), CheckRedrawStationCoverage(), BuildRailStationWindow::CheckSelectedSize(), CheckSoftLimit(), CheckTrainStayInDepot(), ClearPathReservation(), BuildAirToolbarWindow::Close(), BuildDocksToolbarWindow::Close(), BuildRailToolbarWindow::Close(), BuildRoadToolbarWindow::Close(), Order::ConvertFromOldSavegame(), DebugReconsiderSendRemoteMessages(), DebugSendRemoteMessages(), DEF_CONSOLE_CMD(), DispatchRightClickEvent(), 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(), ScanProgressWindow::DrawWidget(), Blitter_8bppOptimized::Encode(), FiosNumberedSaveName::Filename(), GenerateDefaultSaveName(), GenericPlaceSignals(), GetLogPrefix(), GetOrderCmdFromTile(), GetSmallMapContoursPixels(), GetSmallMapIndustriesPixels(), GetSmallMapOwnerPixels(), GetSmallMapRoutesPixels(), GetSmallMapVehiclesPixels(), HandleAutoscroll(), HandleAutoSignalPlacement(), HandleMouseEvents(), Vehicle::HandlePathfindingResult(), HandleViewportScroll(), HandleWindowDragging(), HandleZoomMessage(), InitializeRailGUI(), InitializeWindowViewport(), LoadFromConfig(), LoadUnloadVehicle(), VideoDriver_Null::MainLoop(), MenuClickSettings(), NetworkClientPreferTeamChat(), NetworkInitChatMessage(), NewsItem::NewsItem(), BuildAirportWindow::OnClick(), BuildDocksStationWindow::OnClick(), SaveLoadWindow::OnClick(), BuildRailStationWindow::OnClick(), BuildSignalWindow::OnClick(), BuildRoadStationWindow::OnClick(), GameOptionsWindow::OnClick(), TimetableWindow::OnClick(), GameOptionsWindow::OnDropdownSelect(), GameSettingsWindow::OnDropdownSelect(), MainWindow::OnHotkey(), SelectGameWindow::OnInit(), BuildRailStationWindow::OnInit(), ScriptDebugWindow::OnInit(), SelectCompanyLiveryWindow::OnInvalidateData(), SaveLoadWindow::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(), SmallMapWindow::OnScroll(), OrdersWindow::OrderClick_NearestDepot(), PlaceExtraDepotRail(), PlaceRail_Station(), VideoDriver_SDL_Base::PollEvent(), PositionMainToolbar(), PositionNetworkChatWindow(), PositionNewsMessage(), PositionStatusbar(), GSConfigWindow::RebuildVisibleSettings(), ScriptSettingsWindow::RebuildVisibleSettings(), ScriptScanner::RegisterScript(), ScriptConfig::ResetEditableSettings(), ResetSignalVariant(), SaveOrLoad(), StationViewWindow::SelectGroupBy(), StationViewWindow::SelectSortBy(), StationViewWindow::SelectSortOrder(), SetDefaultRailGui(), BuildSignalWindow::SetSignalUIMode(), BuildSignalWindow::SetStringParameters(), GameOptionsWindow::SetStringParameters(), GRFConfig::SetSuitablePalette(), SetTimetableParams(), SetupScreenshotViewport(), NWidgetLeaf::SetupSmallestSize(), SetupWidgetDimensions(), ShowErrorMessage(), ShowMeasurementTooltips(), ShowSelectBaseStationIfNeeded(), TicksPerTimetableUnit(), ToggleBoundingBoxes(), ToggleDirtyBlocks(), ToggleWidgetOutlines(), TruncateBuffer(), TryPathReserve(), TryReserveRailTrack(), UnreserveRailTrack(), UpdateGUIZoom(), ScanProgressWindow::UpdateNewGRFScanStatus(), TimetableWindow::UpdateSelectionStates(), UpdateVehicleTimetable(), UpdateViewportPosition(), Town::UpdateVirtCoord(), TimetableWindow::UpdateWidgetSize(), VehicleEnterDepot(), VehicleIsAboveLatenessThreshold(), and VpSelectTilesWithMethod().
MusicSettings ClientSettings::music |
settings related to music/sound
Definition at line 614 of file settings_type.h.
Referenced by MusicSystem::BuildPlaylists(), MusicSystem::ChangePlaylist(), MusicSystem::CheckStatus(), MusicWindow::DrawWidget(), GameOptionsWindow::DrawWidget(), MusicSystem::IsPlaying(), MusicSystem::IsShuffle(), MusicSystem::Next(), MusicWindow::OnClick(), GameOptionsWindow::OnClick(), MusicTrackSelectionWindow::OnInvalidateData(), MusicWindow::OnInvalidateData(), AfterNewGRFScan::OnNewGRFsScanned(), MusicSystem::Play(), MusicSystem::Prev(), MusicSystem::SaveCustomPlaylist(), MusicTrackSelectionWindow::SetStringParameters(), MusicSystem::Shuffle(), MusicSystem::Stop(), and MusicSystem::Unshuffle().
NetworkSettings ClientSettings::network |
settings related to the network
Definition at line 611 of file settings_type.h.
Referenced by ServerNetworkAdminSocketHandler::AllowConnection(), ChangeNetworkRestartTime(), CheckClientAndServerName(), CheckMinActiveClients(), CheckPauseOnJoin(), DistributeQueue(), NetworkStartServerWindow::DrawWidget(), LoadFromConfig(), NetworkAutoCleanCompanies(), NetworkCheckRestartMapYear(), NetworkClientJoinGame(), NetworkMaxCompaniesAllowed(), NetworkServer_Tick(), NetworkServerSendChat(), NetworkUDPInitialize(), NetworkUpdateServerGameType(), NetworkValidateOurClientName(), NetworkGameWindow::OnClick(), NetworkStartServerWindow::OnClick(), NetworkClientListWindow::OnClick(), NetworkAskRelayWindow::OnClick(), NetworkAskSurveyWindow::OnClick(), GameOptionsWindow::OnClick(), NetworkStartServerWindow::OnDropdownSelect(), NetworkClientListWindow::OnDropdownSelect(), NetworkGameWindow::OnEditboxChanged(), GameOptionsWindow::OnInvalidateData(), AfterNewGRFScan::OnNewGRFsScanned(), NetworkGameWindow::OnQueryTextFinished(), NetworkStartServerWindow::OnQueryTextFinished(), OnTick_Companies(), 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(), ServerNetworkGameSocketHandler::SendConfigUpdate(), ClientNetworkCoordinatorSocketHandler::SendReceive(), ServerNetworkAdminSocketHandler::SendWelcome(), ServerNetworkGameSocketHandler::ServerNetworkGameSocketHandler(), NetworkStartServerWindow::SetStringParameters(), NetworkClientListWindow::SetStringParameters(), NetworkSurveyHandler::Transmit(), and NetworkClientListWindow::UpdateWidgetSize().
NewsSettings ClientSettings::news_display |
news display settings.
Definition at line 615 of file settings_type.h.
SoundSettings ClientSettings::sound |
sound effect settings
Definition at line 613 of file settings_type.h.
Referenced by AmbientSoundEffectCallback(), AnimationBase< Tbase, Tspec, Tobj, Textra, GetCallback, Tframehelper >::AnimateTile(), BuildRailClick_Remove(), CcBuildBridge(), CcBuildRailTunnel(), CcBuildRoadTunnel(), CcRoadStop(), AnimationBase< Tbase, Tspec, Tobj, Textra, GetCallback, Tframehelper >::ChangeAnimationFrame(), CheckTrainCollision(), CommonRaiseLowerBigLand(), CrashAirplane(), DisasterTick_Aircraft(), DisasterTick_Big_Ufo_Destroyer(), DisasterTick_Ufo(), DisasterTick_Zeppeliner(), FloodVehicle(), GenerateRockyArea(), HandlePlacePushButton(), BuildAirportWindow::OnClick(), BuildDocksStationWindow::OnClick(), BuildDocksDepotWindow::OnClick(), IndustryCargoesWindow::OnClick(), BuildObjectWindow::OnClick(), PickerWindow::OnClick(), BuildRailStationWindow::OnClick(), BuildRailDepotWindow::OnClick(), BuildRoadToolbarWindow::OnClick(), BuildRoadDepotWindow::OnClick(), BuildRoadStationWindow::OnClick(), SmallMapWindow::OnClick(), ScenarioEditorLandscapeGenerationWindow::OnClick(), TransparenciesWindow::OnClick(), BuildTreesWindow::OnClick(), ScenarioEditorToolbarWindow::OnDropdownSelect(), PlayVehicleSound(), PopupMainToolbarMenu(), SearchLumberMillTrees(), ShowNewspaper(), ShowTicker(), ToolbarFastForwardClick(), ToolbarOptionsClick(), TrainController(), UpdateLevelCrossingTile(), and BuildTreesWindow::UpdateMode().