OpenTTD Source: Data Fields - Variables

OpenTTD Source 15.3

Here is a list of all documented variables with links to the struct/union documentation for each field:

### - c -

- c : Units, UnitsLong
- cache : Town
- cache_valid : NewGRFCache
- cached_air_drag : GroundVehicleCache
- cached_anim_triggers : BaseStation
- cached_axle_resistance : GroundVehicleCache
- cached_cargo_age_period : VehicleCache
- cached_cargo_triggers : BaseStation
- cached_curve_speed_mod : TrainCache
- cached_destinations : StationViewWindow
- cached_layout : Layouter::LineCacheItem
- cached_links : LinkGraphOverlay
- cached_max_curve_speed : TrainCache
- cached_max_range : AircraftCache
- cached_max_range_sqr : AircraftCache
- cached_max_speed : VehicleCache
- cached_max_te : GroundVehicleCache
- cached_max_track_speed : GroundVehicleCache
- cached_name : BaseStation, Industry, Town
- cached_power : GroundVehicleCache
- cached_relative_count : VehicleResolverObject
- cached_roadstop_anim_triggers : BaseStation
- cached_roadstop_cargo_triggers : BaseStation
- cached_slope_resistance : GroundVehicleCache
- cached_stations : LinkGraphOverlay
- cached_tilt : TrainCache
- cached_total_length : GroundVehicleCache
- cached_veh_length : GroundVehicleCache
- cached_vis_effect : VehicleCache
- cached_weight : GroundVehicleCache
- cached_width : Layouter::LineCacheItem
- caches : FontCache
- calendar_date : NetworkServerGameInfo
- calendar_start : NetworkServerGameInfo
- callback : CommandPacket, HTTPThreadSafeCallback, NetworkHTTPRequest, ResolverObject, Script_Suspend, ScriptInstance, SetDateWindow
- callback_mask : AirportTileSpec, CanalProperties, CargoSpec, EngineInfo, HouseSpec, IndustrySpec, IndustryTileSpec, ObjectSpec, StationSpec, WaterFeature
- callback_param1 : ResolverObject
- callback_param2 : ResolverObject
- callback_proc : FiosFileScanner
- callback_value : ScriptStorage
- callbacks : ClientNetworkContentSocketHandler, NIFeature, PickerFilterData
- caller_grfid : NewGRFInspectWindow
- calls : NewGRFProfiler
- can_build_widgets : BuildRailToolbarWindow
- can_do_autorefit : OrdersWindow
- can_do_refit : OrdersWindow
- canal_local_properties : GRFFile
- canal_speed_frac : ShipVehicleInfo
- cancel_button : QueryString
- cap : Scrollbar
- capacities : LinkRefresher
- capacity : CargoSummaryItem, LinkGraph::BaseEdge, LinkProperties, LinkRefresher::RefitDesc, LRUCache< Tkey, Tdata, Thash, Tequality >, Path, RailVehicleInfo, RefitDesc, RefitResult, TestedEngineDetails
- caption : OskWindow, QueryWindow
- captiontext : WidgetDimensions
- caret : Textbuf
- caretpos : Textbuf
- caretxoffs : Textbuf
- cargo : CargoDataEntry, CargoDelivery, CargoesField, CargoSummaryItem, GoodsEntry::GoodsEntryData, Industry::AcceptedCargo, Industry::ProducedCargo, LinkGraph, LinkProperties, LinkRefresher, LinkRefresher::Hop, LinkRefresher::RefitDesc, RefitDesc, RefitOption, TestedEngineDetails, Vehicle
- cargo_acceptance : HouseSpec, LandInfoWindow
- cargo_age_counter : Vehicle
- cargo_age_period : EngineInfo
- CARGO_AGING_TICKS : Ticks
- cargo_allowed : GRFTempEngineData
- cargo_allowed_required : GRFTempEngineData
- cargo_border : CargoesField
- cargo_cap : Vehicle
- cargo_disallowed : GRFTempEngineData
- cargo_field_width : CargoesField
- cargo_filter_criteria : BaseVehicleListWindow, BuildVehicleWindow
- cargo_icon_size : IndustryViewWindow, StationViewWindow
- cargo_input : IndustryProductionSpriteGroup
- cargo_label : CargoesField
- cargo_line : CargoesField
- CARGO_LINE_COLOUR : CargoesField
- cargo_list : GRFFile
- cargo_list_is_fallback : GRFFile
- cargo_map : GRFFile
- cargo_mask : LinkGraphOverlay
- cargo_output : IndustryProductionSpriteGroup
- cargo_payment : Vehicle
- cargo_periods_in_transit : CargoList< Tinst, Tcont >
- cargo_space : CargoesField
- cargo_stub : CargoesField
- cargo_subtype : Vehicle
- cargo_textsize : IndustryCargoesWindow
- cargo_threshold : StationSpec
- cargo_triggers : RoadStopSpec, StationSpec
- cargo_type : RoadStopScopeResolver, StationScopeResolver, Subsidy, Vehicle
- cargo_types : BaseCargoGraphWindow
- cargoes : CargoesField, CompanyStationsWindow::FilterState
- case_map : LanguageMap
- case_sensitive : StringFilter
- case_sensitive_break_check : ScriptDebugWindow::FilterState
- caseidx : Case
- cases : LanguagePackHeader
- cat : IntSettingDesc
- cat_index : MusicSongInfo
- catchment : AirportSpec
- catchment_tiles : Station
- category : AILibrary, GameLibrary, PriceBaseSpec
- cb : NewGRFProfiler::Call
- cb_bit : NICallback
- cb_id : NICallback
- cell_size : DepotWindow
- center : ViewportSign
- cgcontext : VideoDriver_CocoaQuartz
- chain : LoadFilter, SaveFilter
- chain_index : NewGRFInspectWindow
- change : LoggedAction
- change_date : Cheats
- change_timetable_all : TimetableWindow
- channels : MpsMachine
- char_itr : IcuStringIterator
- char_stop : OSXStringIterator::CharInfo, UniscribeStringIterator::CharInfo
- chars : Textbuf
- chat_height : NewsWindow
- chat_tab_completion : NetworkChatWindow
- cheat_line_height : IndustryViewWindow
- check_proc : IndustrySpec
- check_result : MD5File
- checkable : LoadCheckData
- checkbox_size : NetworkContentListWindow
- checked : DropDownCheck< TBase, TEnd, TFs >
- child : NWidgetBackground, TileLayoutRegisters
- children : CargoDataEntry, Group, NWidgetContainer
- chrono_start : TicToc
- ci : ContentTextfileWindow
- circle_size : BaseSettingEntry
- city : FoundTownWindow
- class_editbox : PickerWindow
- class_id : HouseClassMapping, HouseSpec
- class_index : Badge, GUIBadgeClasses::Element, NewGRFSpecBase< Tindex >
- class_last_filtering : PickerCallbacks
- class_last_sorting : PickerCallbacks
- class_mask : HousePickerCallbacks
- classes : Badges, CargoSpec, NewGRFClass< Tspec, Tindex, Tmax >, PickerWindow, UsedBadgeClasses
- cleaning : Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >
- clear_cost_multiplier : ObjectSpec, RoadStopSpec
- clear_cursor_cache : OpenGLBackend
- clear_frame_burst : ConstructionSettings
- clear_limit : CompanyProperties
- clear_per_64k_frames : ConstructionSettings
- click : DropDownToggle< TBase, TEnd >
- click_beep : SoundSettings
- click_delay : DropdownWindow
- click_down : DropDownMover< TBase, TEnd, TFs >
- click_state : SelectCompanyManagerFaceWindow
- click_tile_proc : TileTypeProcs
- click_up : DropDownMover< TBase, TEnd, TFs >
- click_x : RefitWindow
- clicked : NWidgetMatrix
- clicked_button : GSConfigWindow, IndustryViewWindow, NewGRFParametersWindow, ScriptSettingsWindow
- clicked_dropdown : GSConfigWindow, NewGRFParametersWindow, ScriptSettingsWindow
- clicked_entry : GameOptionsWindow
- clicked_increase : GSConfigWindow, NewGRFParametersWindow, ScriptSettingsWindow
- clicked_line : IndustryViewWindow
- clicked_pixel : NewGrfDebugSpritePicker
- clicked_row : GSConfigWindow, NewGRFParametersWindow, ScriptSettingsWindow
- client_address : ServerNetworkGameSocketHandler
- client_id : NetworkClientInfo, NetworkGameSocketHandler
- client_name : NetworkClientInfo, NetworkSettings
- client_playas : NetworkClientInfo
- client_public_key : NetworkSettings
- client_secret_key : NetworkSettings
- clients : NetworkCompanyInfo
- clients_max : NetworkServerGameInfo
- clients_on : NetworkServerGameInfo
- climate : ObjectSpec
- climate_availability : IndustrySpec
- climates : EngineInfo
- clone : OrderBackup
- close : NewsSettings
- close_cond : TooltipsWindow
- closebox : WidgetDimensions
- closebox_dimension : NWidgetLeaf
- closed_nodes : NodeList< Titem, Thash_bits_open, Thash_bits_closed >
- closed_windows : Window
- closing_dropdown : GameOptionsWindow, GSConfigWindow, NewGRFParametersWindow, ScriptSettingsWindow
- closure_text : IndustrySpec
- cls : WindowDesc
- cmd : CommandPacket, SaveLoad
- cmdline : IConsoleAlias
- cmp_mode : RandomizedSpriteGroup
- cocoaview : VideoDriver_Cocoa
- code : CurrencySpec, DefaultUnicodeMapping
- col_break : LegendAndColour
- colour : ButtonCommon, ChatMessage, CompanyNewsInformation, CompanyProperties, Font, GoalQuestionWindow, IConsoleLine, LegendAndColour, NWidgetCore, NWidgetMatrix, NWidgetPartTextStyle, NWidgetPartWidget, Object, TextfileWindow::Line
- colour1 : Livery
- colour2 : Livery
- colour_space : VideoDriver_Cocoa
- colour_stack : FontState
- coloured_news_year : GUISettings
- colourmap : Vehicle
- colours : SpriteLoader::Sprite
- column : BadgeClassConfigItem
- column_group : GUIBadgeClasses::Element
- column_size : VehicleGroupWindow
- column_width : SmallMapWindow
- columns : CargoesRow
- combine_sprites : ViewportDrawer
- command_index : IntroGameViewportCommand
- command_pause_level : ConstructionSettings
- commands_per_frame : NetworkSettings
- commands_per_frame_server : NetworkSettings
- comment : IniGroup, IniItem, IniLoadFile
- companies : LoadCheckData
- companies_max : NetworkServerGameInfo
- companies_on : NetworkServerGameInfo
- company : ClientSettings, CommandPacket, ErrorMessageData, Goal, LeagueTableElement, LegendAndColour, NetworkJoinInfo, ScriptStorage, StoryPage, VehicleListIdentifier
- company_avail : Engine
- company_hidden : Engine
- company_info : NewsSettings
- company_information : NewGRFCache
- company_mask : LinkGraphOverlay
- company_name : CompanyNewsInformation, NetworkCompanyInfo
- company_value : BuyCompanyWindow, CompanyEconomyEntry, NetworkCompanyInfo
- compatible : NetworkGameInfo
- compatible_railtypes : RailTypeInfo
- compatible_roadtypes : RoadVehicle
- competitor_intelligence : DifficultySettings
- competitor_speed : DifficultySettings
- competitor_start_time : DifficultySettings
- competitors_interval : DifficultySettings
- compiled_strings : GameStrings
- complete_labels : GRFParameterInfo, ScriptConfigItem
- completed : Goal
- compression : BmpInfo
- COMPRESSION_INTERVAL : LinkGraph
- config_list : ScriptConfig, ScriptInfo
- confirm : SoundSettings
- conflicting : IndustrySpec
- connect_started : ClientNetworkTurnSocketHandler
- connect_time : ServerNetworkAdminSocketHandler
- connect_to_ip : NetworkSettings
- connecter : ClientNetworkCoordinatorSocketHandler, ClientNetworkStunSocketHandler, ClientNetworkTurnSocketHandler
- connecter_pre : ClientNetworkCoordinatorSocketHandler
- connecters : TCPConnecter
- connecting : ClientNetworkCoordinatorSocketHandler
- connection : NetworkHTTPRequest
- connection_string : AfterNewGRFScan, ClientNetworkGameSocketHandler, ClientNetworkTurnSocketHandler, NetworkGame, NetworkJoinInfo, QueryNetworkGameSocketHandler, ServerAddress, TCPConnecter
- consist_capleft : FinalizeRefitAction, PrepareRefitAction
- consist_cargo_information : NewGRFCache
- consistent_max_offset : NewGRFSpriteLayout
- console_backlog_length : GUISettings
- console_backlog_timeout : GUISettings
- construction : GameSettings
- construction_cost : DifficultySettings
- construction_date : Industry
- construction_type : Industry
- consumer : InPlaceReplacement
- cont : GetOptData
- container : NWidgetPart::NWidgetPartUnion
- container_version : SpriteFile
- content : NetworkContentListWindow
- content_begin : SpriteFile
- content_type : BaseSetTextfileWindow
- content_type_strs : NetworkContentListWindow
- context : RailTypeScopeResolver, RoadTypeScopeResolver, X25519EncryptionHandler
- control_flags : SpriteCache
- controller : ScriptInstance
- conv : SaveLoad
- convert : RailTypeInfo
- convert_rail : RailTypeInfo
- convert_road : RoadTypeInfo
- coord : Vehicle
- cost : CommandCost, TestedEngineDetails
- cost_factor : RailVehicleInfo
- cost_multiplier : IndustrySpec, RailTypeInfo, RoadTypeInfo
- costs : ScriptStorage
- count : CargoDataEntry, CargoList< Tinst, Tcont >, CargoPacket, NWidgetMatrix, Scrollbar
- count_dirty : Palette
- count_width : DepotWindow
- counter : Industry, TimerGameTick
- COUNTER_STEP : StatusBarWindow
- counts : Object
- coverage_height : BuildRailStationWindow, BuildRoadStationWindow
- crash_anim_pos : Train
- crashed : Squirrel
- crashed_counter : Aircraft
- crashed_ctr : RoadVehicle
- criteria : Filtering, Listing
- crossing : RailTypeInfo
- crossing_tunnels : Cheats
- crossing_with_competitor : ConstructionSettings
- cs : Packet, PacketWriter
- ctlflags : Industry
- ctrl_flags : BridgeSpec
- ctt_exclude_mask : GRFTempEngineData
- ctt_include_mask : GRFTempEngineData
- cur_call : NewGRFProfiler
- cur_colour : FontState
- cur_economy : CompanyProperties
- cur_file : ClientNetworkContentSocketHandler
- cur_id : BaseNetworkContentDownloadStatusWindow
- cur_implicit_order_index : BaseConsist
- cur_info : ClientNetworkContentSocketHandler
- cur_language : GameStrings
- cur_line : StrgenState
- cur_offset : CoreTextParagraphLayout
- cur_pos : OSXStringIterator, UniscribeStringIterator
- cur_program : MpsMachine::Channel
- cur_range : UniscribeParagraphLayout
- cur_range_offset : UniscribeParagraphLayout
- cur_real_order_index : BaseConsist
- cur_speed : Vehicle
- cur_viewport_command_index : SelectGameWindow
- cur_viewport_command_time : SelectGameWindow
- currency : LocaleSettings
- current : CrashLogOSX, CrashLogUnix, CrashLogWindows, PacketWriter
- current_address : TCPConnecter
- current_edit_param : NewGRFInspectWindow
- current_element : NWidgetMatrix
- current_handler : CombinedAuthenticationClientHandler
- current_loan : CompanyProperties
- current_mode : StationViewWindow
- current_order : Vehicle
- current_order_time : BaseConsist
- current_sprite : SpriteAlignerWindow
- current_station : CargoPayment
- current_tempo : MpsMachine
- current_tile : CargoDelivery, CargoLoad, CargoReturn, CargoTransfer
- current_x : NWidgetBase
- current_y : NWidgetBase
- cursor : RailTypeInfo, RoadTypeInfo
- cursor_cache : OpenGLBackend
- cursor_in_window : OpenGLBackend
- cursor_pos : OpenGLBackend
- cursor_sprites : OpenGLBackend
- curve_speed : RailTypeInfo
- curve_speed_mod : RailVehicleInfo
- cust_cargoes : CargoesField
- custom_1 : MusicSettings
- custom_2 : MusicSettings
- custom_industry_number : GameCreationSettings
- custom_message : GRFError
- custom_roadstop_tile_data : BaseStation
- custom_sea_level : GameCreationSettings
- custom_terrain_type : GameCreationSettings
- custom_town_number : GameCreationSettings
- cycle_signal_types : GUISettings