OpenTTD Source 20241224-master-gee860a5c8e
ClientSettings Struct Reference

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.
 

Detailed Description

All settings that are only important for the local client.

Definition at line 609 of file settings_type.h.

Field Documentation

◆ company

◆ gui

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().

◆ music

◆ network

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().

◆ news_display

NewsSettings ClientSettings::news_display

news display settings.

Definition at line 615 of file settings_type.h.

◆ sound


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