Data Structures
Here are the data structures with brief descriptions:
[detail level 123]
oNSQConvertThe Squirrel convert routines
oCAccelerationSlowdownParamsData structure for storing engine speed changes of an acceleration type
oCAction5TypeInformation about a single action 5 type
oCAdaptTAdapter wrapper for CCountedPtr like classes that can't be used directly by stl collections as item type
oCAfterNewGRFScanCallback structure of statements to be executed after the NewGRF scan
oCAIMain AI class
oCAIConfigWindowWindow to configure which AIs will start
oCAIDebugWindowWindow with everything an AI prints via ScriptLog
oCAIInfoAll static information from an AI like name, version, etc
oCAIInstanceRuntime information about an AI like a pointer to the squirrel vm and the current state
oCAILibraryAll static information from an AI library like name, version, etc
oCAIListWindowWindow that let you choose an available AI
oCAircraftAircraft, helicopters, rotors and their shadows belong to this class
oCAircraftCacheVariables that are cached to improve performance and such
oCAircraftVehicleInfoInformation about a aircraft vehicle
oCAirportAll airport-related information
oCAirportFTAInternal structure used in openttd - Finite sTate mAchine –> FTA
oCAirportFTAbuildupState machine input struct (from external file, etc.) Finite sTate mAchine –> FTA
oCAirportFTAClassFinite sTate mAchine (FTA) of an airport
oCAirportMovingDataA single location on an airport where aircraft can move to
oCAirportResolverObjectResolver object for airports
oCAirportScopeResolverResolver for the airport scope
oCAirportSpecDefines the data structure for an airport
oCAirportTileAnimationBaseHelper class for animation control
oCAirportTileIteratorIterator to iterate over all tiles belonging to an airport
oCAirportTileResolverObjectResolver for tiles of an airport
oCAirportTileScopeResolverScope resolver for handling the tiles of an airport
oCAirportTileSpecDefines the data structure of each individual tile of an airport
oCAirportTileTableTile-offset / AirportTileID pair
oCAirportTileTableIteratorIterator to iterate over all tiles belonging to an airport spec
oCAISettingsSettings related to the AI
oCAISettingsWindowWindow for settings the parameters of an AI
oCAllowedSubtagsData structure to store the allowed id/type combinations for action 14
oCAnimationBaseHelper class for a unified approach to NewGRF animation
oCAnimationInfoInformation about animation
oCAnimCursorA single sprite of a list of animated cursors
oCArrayDefinition of a simple array
oCArrayT< T[N]>Helper template class that provides C array length and item type
oCAsymmetricScalerA scaler for asymmetric distribution
oCAutoDeleteSmallVectorSimple vector template class, with automatic delete
oCAutoFreePtrA smart pointer class that free()'s the pointer on destruction
oCAutoFreeSmallVectorSimple vector template class, with automatic free
oCAyStarAyStar search algorithm struct
oCAyStarNodeNode in the search
oCAyStarUserDataIndices into AyStar.userdata[]
oCBackupClass to backup a specific variable and restore it later
oCBaseConsistVarious front vehicle properties that are preserved when autoreplacing, using order-backup or switching front engines within a consist
oCBaseGraphicsAll data/functions related with replacing the base graphics
oCBaseMediaBase for all base media (graphics, sounds)
oCBaseMusicAll data/functions related with replacing the base music
oCBaseNetworkContentDownloadStatusWindowBase window for showing the download status of content
oCBasePersistentStorageArrayBase class for all persistent NewGRF storage arrays
oCBaseSetInformation about a single base set
oCBaseSetTextfileWindowWindow for displaying the textfile of a BaseSet
oCBaseSettingEntryData structure describing a single setting in a tab
oCBaseSoundsAll data/functions related with replacing the base sounds
oCBaseStationBase class for all station-ish types
oCBaseVehicleBase vehicle class
oCBinaryHeapBinary Heap
oCBitmapFileHeaderBMP File Header (stored in little endian)
oCBitmapInfoHeaderBMP Info Header (stored in little endian)
oCBlitterHow all blitters should look like
oCBlitter_32bppAnimThe optimised 32 bpp blitter with palette animation
oCBlitter_32bppBaseBase for all 32bpp blitters
oCBlitter_32bppOptimizedThe optimised 32 bpp blitter (without palette animation)
oCBlitter_32bppSimpleThe most trivial 32 bpp blitter (without palette animation)
oCBlitter_8bppBaseBase for all 8bpp blitters
oCBlitter_8bppOptimized8bpp blitter optimised for speed
oCBlitter_8bppSimpleMost trivial 8bpp blitter
oCBlitter_NullBlitter that does nothing
oCBlitterFactoryThe base factory, keeping track of all blitters
oCBootstrapAskForDownloadWindowThe window for the query
oCBootstrapBackgroundThe background for the game
oCBootstrapContentDownloadStatusWindowWindow for showing the download status of content
oCBridgeSpecStruct containing information about a single bridge type
oCBufferThe buffer for writing a single string
oCBuildAirToolbarWindowAirport build toolbar window handler
oCBuildBridgeDataCarriage for the data we need if we want to build a bridge
oCBuildBridgeWindowWindow class for handling the bridge-build GUI
oCBuildDocksToolbarWindowToolbar window for constructing water infrastructure
oCBuildIndustryWindowBuild (fund or prospect) a new industry,
oCBuildObjectWindowThe window used for building objects
oCBuildRailToolbarWindowRail toolbar management class
oCBuildRoadToolbarWindowRoad toolbar window handler
oCBuildTreesWindowThe build trees window
oCBuildVehicleWindowGUI for building vehicles
oCByteBlobBase class for simple binary blobs
oCByteReaderClass to read from a NewGRF file
oCCanalPropertiesCanal properties local to the NewGRF
oCCanalResolverObjectResolver object for canals
oCCanalScopeResolverScope resolver of a canal tile
oCCapacityAnnotationCapacity-based annotation for use in the Dijkstra algorithm
oCCargoArrayClass for storing amounts of cargo
oCCargoDataEntryA cargo data entry representing one possible row in the station view window's top part
oCCargoDeliveryAction of final delivery of cargo
oCCargoesFieldData about a single field in the IndustryCargoesWindow panel
oCCargoesRowA single row of CargoesField
oCCargoListSimple collection class for a list of cargo packets
oCCargoLoadAction of loading cargo from a station onto a vehicle
oCCargoMovementAbstract action for moving cargo from one list to another
oCCargoPacketContainer for cargo from the same location and time
oCCargoPaymentHelper class to perform the cargo payment
oCCargoRemovalAbstract action of removing cargo from a vehicle or a station
oCCargoRerouteAction of rerouting cargo between different cargo lists and/or next hops
oCCargoReservationAction of reserving cargo from a station to be loaded onto a vehicle
oCCargoResolverObjectResolver of cargo
oCCargoReturnAction of returning previously reserved cargo from the vehicle to the station
oCCargoShiftAction of shifting cargo from one vehicle to another
oCCargoSpecSpecification of a cargo type
oCCargoSuffixTransfer storage of cargo suffix information
oCCargoSummaryItemHelper struct for the cargo details information
oCCargoTransferAction of transferring cargo from a vehicle to a station
oCCaseContainer for the different cases of a string
oCCBinaryHeapTBinary Heap as C++ template
oCCBlobTBlob - simple dynamic T array
oCCCountedPtrCCountedPtr - simple reference counting smart pointer
oCCFollowTrackTTrack follower helper template class (can serve pathfinders and vehicle controllers)
oCCHashTableTClass CHashTableT<Titem, Thash_bits> - simple hash table of pointers allocated elsewhere
oCChatMessageContainer for a message
oCCheatInfo about each of the cheats
oCCheatEntryInformation of a cheat
oCCheatsWARNING! Do not remove entries in Cheats struct or change the order of the existing ones! Would break downward compatibility
oCCheatWindowGUI for the cheats
oCChunkHandlerHandlers and description of chunk
oCClearedObjectAreaKeeps track of removed objects during execution/testruns of commands
oCClientNetworkContentSocketHandlerSocket handler for the content server connection
oCClientNetworkGameSocketHandlerClass for handling the client side of the game connection
oCClientNetworkUDPSocketHandler*** Communication with servers (we are client) ***/
oCClientSettingsAll settings that are only important for the local client
oCCNodeList_HashTableTHash table based node list multi-container class
oCCocoaSubdriverGeneric display driver for cocoa On grounds to not duplicate some code, it contains a few variables which are not used by all device drivers
oCColourStructure to access the alpha, red, green, and blue channels from a 32 bit number
oCCommandDefine a command with the flags which belongs to it
oCCommandContainerStructure for buffering the build command when selecting a station to join
oCCommandCostCommon return value for all commands
oCCommandPacketEverything we need to know about a command to be able to execute it
oCCommandQueueA queue of CommandPackets
oCCompanyEconomyEntryStatistics about the economy
oCCompanyFinancesWindowWindow class displaying the company finances
oCCompanyInfrastructureWindowWindow with detailed information about the company's infrastructure
oCCompanyManagerFaceBitsInfoInformation about the valid values of CompanyManagerFace bitgroups as well as the sprites to draw
oCCompanyNewsInformationData that needs to be stored for company news messages
oCCompanyPropertiesStatically loadable part of Company pool item
oCCompanySettingsSettings that can be set per company
oCCompanyStationsWindowThe list of stations per company
oCCompanyWindowWindow with general information about a company
oCComponentHandlerA handler doing "something" on a link graph component
oCConsoleContentCallbackAsynchronous callback
oCConsoleFileListFile list storage for the console, for caching the last 'ls' command
oCConstructionSettingsSettings related to construction in-game
oCContentCallbackCallbacks for notifying others about incoming data
oCContentInfoContainer for all important information about a piece of content
oCContentListFilterDataFilter data for NetworkContentListWindow
oCContentTextfileWindowWindow for displaying the textfile of an item in the content list
oCCrashLogHelper class for creating crash logs
oCCrashLogOSXOSX implementation for the crash logger
oCCrashLogUnixUnix implementation for the crash logger
oCCrashLogWindowsWindows implementation for the crash logger
oCCSegmentCostCacheBaseBase class for segment cost cache providers
oCCSegmentCostCacheTCSegmentCostCacheT - template class providing hash-map and storage (heap) of Tsegment structures
oCCStrABlob based case sensitive ANSI/UTF-8 string
oCCurrencySpecSpecification of a currency
oCCursorVarsCollection of variables for cursor-display and -animation
oCCYapfBaseTCYapfBaseT - A-star type path finder base class
oCCYapfCostBaseBase implementation for cost accounting
oCCYapfCostShipTCost Provider module of YAPF for ships
oCCYapfDestinationTileTYAPF destination provider base class - used when destination is single tile / multiple trackdirs
oCCYapfFollowShipTNode Follower module of YAPF for ships
oCCYapfNodeKeyExitDirYapf Node Key that evaluates hash from (and compares) tile & exit dir
oCCYapfNodeTYapf Node base
oCCYapfOriginTileTYAPF origin provider base class - used when origin is one tile / multiple trackdirs
oCCYapfOriginTileTwoWayTYAPF origin provider base class - used when there are two tile/trackdir origins
oCCYapfRailNodeTYapf Node for rail YAPF
oCCYapfRailSegmentCached segment cost for rail YAPF
oCCYapfRailSegmentKeyKey for cached segment cost for rail YAPF
oCCYapfRoadNodeTYapf Node for road YAPF
oCCYapfSegmentCostCacheGlobalTCYapfSegmentCostCacheGlobalT - the yapf cost cache provider that adds the segment cost caching functionality to yapf
oCCYapfSegmentCostCacheLocalTCYapfSegmentCostCacheLocalT - the yapf cost cache provider that implements fake segment cost caching functionality for yapf
oCCYapfSegmentCostCacheNoneTCYapfSegmentCostCacheNoneT - the formal only yapf cost cache provider that implements PfNodeCacheFetch() and PfNodeCacheFlush() callbacks
oCCYapfShip_TypesTConfig struct of YAPF for ships
oCCYapfShipNodeTYapf Node for ships
oCCYapfTYAPF template that uses Ttypes template argument to determine all YAPF components (base classes) from which the actual YAPF is composed
oCDefSQClassThe template to define classes in Squirrel
oCDemandCalculatorCalculate the demands
oCDemandHandlerStateless, thread safe demand hander
oCDiagonalTileAreaRepresents a diagonal tile area
oCDiagonalTileIteratorIterator to iterate over a diagonal area of the map
oCDifficultySettingsSettings related to the difficulty of the game
oCDimensionDimensions (a width and height) of a rectangle in 2D
oCDisasterVehicleDisasters, like submarines, skyrangers and their shadows, belong to this class
oCDistanceAnnotationDistance-based annotation for use in the Dijkstra algorithm
oCDrawBuildingsTileStructThis structure is the same for both Industries and Houses
oCDrawIndustryAnimationStructThis is used to gather some data about animation drawing in the industry code Image_1-2-3 are in fact only offset in the sprites used by the industry
oCDrawIndustryCoordinatesSimple structure gathering x,y coordinates for industries animations
oCDrawPixelInfoData about how and where to blit pixels
oCDrawTileSeqStructA tile child sprite and palette to draw for stations etc, with 3D bounding box
oCDrawTileSpritesGround palette sprite of a tile, together with its sprite layout
oCDriverA driver for communicating with the user
oCDriverFactoryBaseBase for all driver factories
oCDropDownListCharStringItemList item containing a C char string
oCDropDownListCheckedItemDrop down list entry for showing a checked/unchecked toggle item
oCDropDownListCompanyItemDrop down list entry for showing a company entry, with companies 'blob'
oCDropDownListItemBase list item class from which others are derived
oCDropDownListParamStringItemString list item with parameters
oCDropDownListStringItemCommon string list item
oCDropdownWindowDrop-down menu window
oCDumpTargetClass that represents the dump-into-string target
oCEconomyData of the economy
oCEconomySettingsSettings related to the economy
oCEffectVehicleA special vehicle is one of the following:
oCEndGameWindowEnd game window shown at the end of the game
oCEngineInfoInformation about a vehicle
oCEngineOverrideManagerStores the mapping of EngineID to the internal id of newgrfs
oCEngineRenewStruct to store engine replacements
oCEntityIDMappingMaps an entity id stored on the map to a GRF file
oCEnumPropsT< Axis >Helper information for extract tool
oCEnumPropsT< Colours >
oCEnumPropsT< DiagDirection >Allow incrementing of DiagDirection variables
oCEnumPropsT< Direction >Allow incrementing of Direction variables
oCEnumPropsT< DisallowedRoadDirections >Helper information for extract tool
oCEnumPropsT< DistributionType >
oCEnumPropsT< ExpensesType >Define basic enum properties for ExpensesType
oCEnumPropsT< LiveryScheme >Helper information for extract tool
oCEnumPropsT< ModifyOrderFlags >
oCEnumPropsT< ModifyTimetableFlags >
oCEnumPropsT< Owner >Define basic enum properties
oCEnumPropsT< RailType >Allow incrementing of Track variables
oCEnumPropsT< RoadBits >
oCEnumPropsT< RoadType >
oCEnumPropsT< RoadTypes >
oCEnumPropsT< SignalType >Helper information for extract tool
oCEnumPropsT< StationClassID >
oCEnumPropsT< StoryPageElementType >Define basic enum properties
oCEnumPropsT< TownLayout >
oCEnumPropsT< TownSize >
oCEnumPropsT< Track >Allow incrementing of Track variables
oCEnumPropsT< Trackdir >Define basic enum properties
oCEnumPropsT< TransportType >Helper information for extract tool
oCEnumPropsT< VehicleType >Helper information for extract tool
oCEnumPropsT< WaterClass >Helper information for extract tool
oCErrmsgWindowWindow class for displaying an error message window
oCErrorMessageDataThe data of the error message
oCExpensesListExpense list container
oCExtraPaletteValuesDescription of tables for the palette animation
oCFallbackParagraphLayoutClass handling the splitting of a paragraph of text into lines and visual runs
oCFBlitter_32bppAnimFactory for the 32bpp blitter with animation
oCFBlitter_32bppOptimizedFactory for the optimised 32 bpp blitter (without palette animation)
oCFBlitter_32bppSimpleFactory for the simple 32 bpp blitter
oCFBlitter_8bppOptimizedFactory for the 8bpp blitter optimised for speed
oCFBlitter_8bppSimpleFactory for the most trivial 8bpp blitter
oCFBlitter_NullFactory for the blitter that does nothing
oCFenceOffsetOffsets for drawing fences
oCFileHelper class to read a file
oCFileListList of file information
oCFileReaderYes, simply reading from a file
oCFileScannerHelper for scanning for files with a given name
oCFileStringReaderA reader that simply reads using fopen
oCFileToSaveLoadDeals with the type of the savegame, independent of extension
oCFileWriterYes, simply writing to a file
oCFilteringData structure describing what to show in the list (filter criteria)
oCFinalizeRefitActionAction for finalizing a refit
oCFindDepotDataHelper container to find a depot
oCFindTrainOnTrackInfoHelper struct for finding the best matching vehicle on a specific track
oCFioStructure for keeping several open files with just one data buffer
oCFiosFileScannerScanner to scan for a particular type of FIOS file
oCFiosItemDeals with finding savegames
oCFixedSizeArrayFixed size array Upon construction it preallocates fixed size block of memory for all items, but doesn't construct them
oCFlowEdgeIteratorIterator class for getting edges from a FlowStatMap
oCFlowMapperMap the path trees generated by the MCF solver into flows
oCFlowStatFlow statistics telling how much flow should be sent along a link
oCFlowStatMapFlow descriptions by origin stations
oCFMusicDriver_AllegroFactory for allegro's music player
oCFMusicDriver_BeMidiFactory for the BeOS midi player
oCFMusicDriver_DMusicFactory for the DirectX music player
oCFMusicDriver_LibTimidityFactory for the libtimidity driver
oCFMusicDriver_NullFactory for the null music player
oCFMusicDriver_OS2Factory for OS/2's music player
oCFMusicDriver_Win32Factory for Windows' music player
oCFontCacheFont cache for basic fonts
oCFontStateText drawing parameters, which can change while drawing a line, but are kept between multiple parts of the same text, e.g
oCFoundTownWindowFound a town window class
oCFreeTypeFontCacheFont cache for fonts that are based on a freetype font
oCFreeTypeSettingsSettings for the freetype fonts
oCFreeTypeSubSettingSettings for a single freetype font
oCFreeUnitIDGeneratorGenerates sequence of free UnitID numbers
oCFSoundDriver_AllegroFactory for the allegro sound driver
oCFSoundDriver_NullFactory for the null sound driver
oCFSoundDriver_SDLFactory for the SDL sound driver
oCFSoundDriver_Win32Factory for the sound driver for Windows
oCFVideoDriver_AllegroFactory for the allegro video driver
oCFVideoDriver_DedicatedFactory for the dedicated server video driver
oCFVideoDriver_NullFactory the null video driver
oCFVideoDriver_SDLFactory for the SDL video driver
oCFVideoDriver_Win32The factory for Windows' video driver
oCGameMain Game class
oCGameCreationSettingsSettings related to the creation of games
oCGameInfoAll static information from an Game like name, version, etc
oCGameInstanceRuntime information about a game script like a pointer to the squirrel vm and the current state
oCGameLibraryAll static information from an Game library like name, version, etc
oCGameSettingsAll settings together for the game
oCGameSettingsWindowWindow to edit settings of the game
oCGameStringsContainer for all the game strings
oCGenericResolverObjectResolver object for generic objects/properties
oCGenericScopeResolverScope resolver for generic objects and properties
oCGenWorldInfoProperties of current genworld process
oCGetNewVehiclePosResultPosition information of a vehicle after it moved
oCGetOptDataData storage for parsing command line options
oCGoalStruct about goals, current and completed
oCGoalListWindowWindow for displaying goals
oCGoalQuestionWindowAsk a question about a goal
oCGoodsEntryStores station stats for a single cargo
oCGraphEdgeIteratorIterator class for getting the edges in the order of their next_edge members
oCGraphicsSetAll data of a graphics set
oCGRFConfigInformation about GRF, used in the game and (part of it) in savegames
oCGRFErrorInformation about why GRF had problems during initialisation
oCGRFFileDynamic data of a loaded NewGRF
oCGRFFilePropsData related to the handling of grf files
oCGRFFilePropsBaseData related to the handling of grf files
oCGRFFileScannerHelper for scanning for files with GRF as extension
oCGRFIdentifierBasic data to distinguish a GRF
oCGRFListList of GRFs using array of pointers instead of linked list
oCGRFParameterInfoInformation about one grf parameter
oCGRFPresenceInformation about the presence of a Grf at a certain point during gamelog history Note about missing Grfs: Changes to missing Grfs are not logged including manual removal of the Grf
oCGrfProcessingStateTemporary data during loading of GRFs
oCGRFTempEngineDataTemporary engine data used when loading only
oCGRFTextElement of the linked list
oCGRFTextEntryHolder of the above structure
oCGRFTextWrapperReference counted wrapper around a GRFText pointer
oCGroundVehicleBase class for all vehicles that move through ground
oCGroundVehicleCacheCached, frequently calculated values
oCGroupGroup data
oCGroupStatisticsStatistics and caches on the vehicles in a group
oCGUIListList template of 'things' T to sort in a GUI
oCGUISettingsSettings related to the GUI and other stuff that is not saved in the savegame
oCHangarTileTableA list of all hangar tiles in an airport
oCHeaderWriterBase class for writing the header, i.e
oCHeightMapHeight map - allocated array of heights (MapSizeX() + 1) x (MapSizeY() + 1)
oCHotkeyAll data for a single hotkey
oCHotkeyListList of hotkeys for a window
oCHouseAnimationBaseHelper class for animation control
oCHouseClassMappingMakes class IDs unique to each GRF file
oCHouseResolverObjectResolver object to be used for houses (feature 07 spritegroups)
oCHouseScopeResolverScope resolver for houses
oCHTTPCallbackCallback for when the HTTP handler has something to tell us
oCIConsoleAlias–Aliases– Aliases are like shortcuts for complex functions, variable assignments, etc
oCIConsoleLineContainer for a single line of console output
oCICU_FONTINSTANCEContainer with information about a font
oCICUParagraphLayoutWrapper for doing layouts with ICU
oCIcuStringIteratorString iterator using ICU as a backend
oCIndustriesResolverObjectResolver for industries
oCIndustriesScopeResolverResolver for industry scopes
oCIndustryDefines the internal data of a functional industry
oCIndustryAnimationBaseHelper class for animation control
oCIndustryBuildDataData for managing the number and type of industries in the game
oCIndustryCargoesWindowWindow displaying the cargo connections around an industry (or cargo)
oCIndustryDirectoryWindowThe list of industries
oCIndustrySpecDefines the data structure for constructing industry
oCIndustryTileResolverObjectResolver for industry tiles
oCIndustryTileScopeResolverResolver for the industry tiles scope
oCIndustryTileSpecDefines the data structure of each individual tile of an industry
oCIndustryTypeBuildDataData for managing the number of industries of a single industry type
oCIniFileIni file that supports both loading and saving
oCIniGroupA group within an ini file
oCIniItemA single "line" in an ini file
oCIniLoadFileIni file that only supports loading
oCInitHandlerStateless, thread safe initialization hander
oCIsEmptyActionAction to check if a vehicle has no stored cargo
oCKeycodeNamesString representation of a keycode
oCLabelObjectContainer for a label for SaveLoad system
oCLangStringInformation about a single string
oCLanguageFileWriterClass for writing a language to disk
oCLanguageMapMapping of language data between a NewGRF and OpenTTD
oCLanguageMetadataMetadata about a single language
oCLanguagePackGlyphSearcherHelper for searching through the language pack
oCLanguagePackHeaderHeader of a language file
oCLanguageScannerScanner to find language files in a GameScript directory
oCLanguageStringsContainer for the raw (unencoded) language strings of a language
oCLanguageWriterBase class for all language writers
oCLayouterThe layouter performs all the layout work
oCLegendAndColourStructure for holding relevant data for legends in small map
oCLexerLexer of a file
oCLinkGraphA connected component of a link graph
oCLinkGraphJobClass for calculation jobs to be run on link graphs
oCLinkGraphLegendWindowMenu window to select cargoes and companies to show in a link graph overlay
oCLinkGraphOverlayHandles drawing of links into some window
oCLinkPropertiesProperties of a link between two stations
oCLinkRefresherUtility to refresh links a consist will visit
oCListingData structure describing how to show the list (what sort direction and criteria)
oCLiveryInformation about a particular livery
oCLoadCheckDataContainer for loading in mode SL_LOAD_CHECK
oCLoadFilterInterface for filtering a savegame till it is loaded
oCLocaleSettingsSettings related to currency/unit systems
oCLoggedActionContains information about one logged action that caused at least one logged change
oCLoggedChangeContains information about one logged change
oCLZMALoadFilterFilter without any compression
oCLZMASaveFilterFilter using LZMA compression
oCLZOLoadFilterFilter using LZO compression
oCLZOSaveFilterFilter using LZO compression
oCMainToolbarWindowMain toolbar
oCMakeEnumPropsTHelper template class that makes basic properties of given enumeration type visible from outsize
oCMasterNetworkUDPSocketHandler*** Communication with the masterserver ***/
oCMCF1stPassFirst pass of the MCF calculation
oCMCF2ndPassSecond pass of the MCF calculation
oCMCFHandlerLink graph handler for MCF
oCMD5FileStructure holding filename and MD5 information about a single file
oCMemoryDumperContainer for dumping the savegame (quickly) to memory
oCMissingGlyphSearcherA searcher for missing glyphs
oCMovementTerminalMappingCombination of aircraft state for going to a certain terminal and the airport flag for that terminal block
oCMultiCommodityFlowMulti-commodity flow calculating base class
oCMultiMapHand-rolled multimap as map of lists
oCMultiMapIteratorSTL-style iterator for MultiMap
oCMusicDriverDriver for all music playback
oCMusicDriver_AllegroAllegro's music player
oCMusicDriver_BeMidiThe midi player for BeOS
oCMusicDriver_DMusicMusic player making use of DirectX
oCMusicDriver_LibTimidityMusic driver making use of libtimidity
oCMusicDriver_NullThe music player that does nothing
oCMusicDriver_OS2OS/2's music player
oCMusicDriver_Win32The Windows music player
oCMusicSetAll data of a music set
oCMusicSettingsSettings related to music
oCNetworkAddressWrapper for (un)resolved network addresses; there's no reason to transform a numeric IP to a string and then back again to pass it to functions
oCNetworkAdminSocketHandlerMain socket handler for admin related connections
oCNetworkChatWindowWindow to enter the chat message in
oCNetworkClientInfoContainer for all information known about a client
oCNetworkClientListPopupWindowPopup selection window to chose an action to perform
oCNetworkClientListWindowMain handle for clientlist
oCNetworkCompanyInfoCompany information stored at the client side
oCNetworkCompanyStateSome state information of a company, especially for servers
oCNetworkCompanyStatsSimple calculated statistics of a company
oCNetworkContentConnecterConnect to the content server
oCNetworkContentDownloadStatusWindowWindow for showing the download status of content
oCNetworkContentListWindowWindow that lists the content that's at the content server
oCNetworkContentSocketHandlerBase socket handler for all Content TCP sockets
oCNetworkGameInfoThe game information that is sent from the server to the clients
oCNetworkGameListStructure with information shown in the game list (GUI)
oCNetworkGameSocketHandlerBase socket handler for all TCP sockets
oCNetworkHTTPContentConnecterConnect with a HTTP server and do ONE query
oCNetworkHTTPSocketHandlerBase socket handler for HTTP traffic
oCNetworkServerGameInfoThe game information that is not generated on-the-fly and has to be sent to the clients
oCNetworkSettingsAll settings related to the network
oCNetworkSocketHandlerSocketHandler for all network sockets in OpenTTD
oCNetworkTCPSocketHandlerBase socket handler for all TCP sockets
oCNetworkUDPQueryServerInfoSimpler wrapper struct for NetworkUDPQueryServerThread
oCNetworkUDPSocketHandlerBase socket handler for all UDP sockets
oCNewGRFCacheCached often queried (NewGRF) values
oCNewGRFClassStruct containing information relating to NewGRF classes for stations and airports
oCNewGrfDebugSpritePickerSpritepicker of SpriteAligner
oCNewGRFInspectWindowWindow used for inspecting NewGRFs
oCNewGRFParametersWindowWindow for setting the parameters of a NewGRF
oCNewGRFScanCallbackCallback for NewGRF scanning
oCNewGRFSpriteLayoutNewGRF supplied spritelayout
oCNewGRFTextfileWindowWindow for displaying the textfile of a NewGRF
oCNewGRFWindowWindow for showing NewGRF files
oCNewsItemInformation about a single item of news
oCNewsSettingsSettings related to news
oCNewsTypeDataPer-NewsType data
oCNewsWindowWindow class displaying a news item
oCNICallbackRepresentation of the available callbacks with information on when they actually apply
oCNIFeatureContainer for all information for a given feature
oCNIHelperHelper class to wrap some functionality/queries in
oCNIPropertyRepresentation of the data from a NewGRF property
oCNIVariableRepresentation on the NewGRF variables
oCNoCompLoadFilterFilter without any compression
oCNoCompSaveFilterFilter without any compression
oCNPFFindStationOrTileDataMeant to be stored in AyStar.targetdata
oCNPFFoundTargetDataMeant to be stored in AyStar.userpath
oCNPFSettingsSettings related to the new pathfinder
oCNSCursor(OTTD_QuickdrawCursor)Category of NSCursor to allow cursor showing/hiding
oCNWidgetBackgroundNested widget with a child
oCNWidgetBaseBaseclass for nested widgets
oCNWidgetContainerBaseclass for container widgets
oCNWidgetCoreBase class for a 'real' widget
oCNWidgetHorizontalHorizontal container
oCNWidgetHorizontalLTRHorizontal container that doesn't change the direction of the widgets for RTL languages
oCNWidgetLeafLeaf widget
oCNWidgetMainToolbarContainerContainer for the 'normal' main toolbar
oCNWidgetMatrixMatrix container with implicitly equal sized (virtual) sub-widgets
oCNWidgetNewGRFDisplayCustom nested widget container for the NewGRF gui
oCNWidgetPartPartial widget specification to allow NWidgets to be written nested
oCNWidgetPartDataTipWidget part for storing data and tooltip information
oCNWidgetPartPaddingsWidget part for storing padding
oCNWidgetPartPIPWidget part for storing pre/inter/post spaces
oCNWidgetPartTextLinesWidget part for storing minimal text line data
oCNWidgetPartWidgetWidget part for storing basic widget information
oCNWidgetPIPContainerContainer with pre/inter/post child space
oCNWidgetResizeBaseBase class for a resizable nested widget
oCNWidgetScenarioToolbarContainerContainer for the scenario editor's toolbar
oCNWidgetScrollbarNested widget to display and control a scrollbar in a window
oCNWidgetServerListHeaderFull blown container to make it behave exactly as we want :)
oCNWidgetSmallmapDisplayCustom container class for displaying smallmap with a vertically resizing legend panel
oCNWidgetSpacerSpacer widget
oCNWidgetStackedStacked widgets, widgets all occupying the same space in the window
oCNWidgetToolbarContainerFull blown container to make it behave exactly as we want :)
oCNWidgetVerticalVertical container
oCNWidgetViewportNested widget to display a viewport in a window
oCObjectAn object, such as transmitter, on the map
oCObjectAnimationBaseHelper class for animation control
oCObjectResolverObjectA resolver object to be used with feature 0F spritegroups
oCObjectScopeResolverObject scope resolver
oCObjectSpecAllow incrementing of ObjectClassID variables
oCOldWaypointHelper structure to convert from the old waypoint system
oCOpenListNodeInternal node
oCOPFSettingsSettings related to the old pathfinder
oCOptionDataData of an option
oCOrderBackupData for backing up an order of a vehicle so it can be restored after a vehicle is rebuilt in the same depot
oCOrderListShared order list linking together the linked list of orders and the list of vehicles sharing this order list
oCOrderSettingsSettings related to orders
oCOrdersWindowOrder window code for all vehicles
oCOrthogonalTileAreaRepresents the covered area of e.g
oCOrthogonalTileIteratorIterator to iterate over a tile area (rectangle) of the map
oCOTTD_CocoaViewSubclass of NSView to fix Quartz rendering and mouse awareness
oCOTTD_CocoaWindowSubclass of NSWindow to cater our special needs
oCOTTD_CocoaWindowDelegateDelegate for our NSWindow to send ask for quit on close
oCOTTDThreadExitSignalSignal used for signalling we knowingly want to end the thread
oCOTTDThreadStartupMessageAvoid name clashes with MorphOS API functions
oCOutputBufferOutput buffer for a block of data
oCOutputStoreTemporarily store output
oCOverflowSafeIntOverflow safe template for integers, i.e
oCPacketInternal entity of a packet
oCPacketReaderRead some packets, and when do use that data as initial load filter
oCPacketWriterWriting a savegame directly to a number of packets
oCPairA pair of two integers
oCPaletteInformation about the currently used palette
oCPalSpriteIDCombination of a palette sprite and a 'real' sprite
oCParagraphLayouterInterface to glue fallback and normal layouter into one
oCParentSpriteToDrawParent sprite that should be drawn
oCPathA leg of a path in the link graph
oCPathfinderSettingsSettings related to all pathfinders
oCPathNodeA path of nodes
oCPBSTileInfoThis struct contains information about the end of a reserved path
oCPcxHeaderDefinition of a PCX file header
oCPersistentStorageClass for pooled persistent storage of data
oCPersistentStorageArrayClass for persistent storage of data
oCPickerWindowBaseBase class for windows opened from a toolbar
oCPluralFormDescription of a plural form
oCPointCoordinates of a point in 2D
oCPointDimensionSpecification of a rectangle with an absolute top-left coordinate and a (relative) width/height
oCPoolBase class for all pools
oCPoolBaseBase class for base of all pools
oCPrepareRefitActionRefit preparation action
oCPriceBaseSpecDescribes properties of price bases
oCQueryStringData stored about a string that can be modified in the GUI
oCQueryStringWindowClass for the string query window
oCQueryWindowWindow used for asking the user a YES/NO question
oCRailtypeInfoThis struct contains all the info that is needed to draw and construct tracks
oCRailTypeResolverObjectResolver object for rail types
oCRailTypeScopeResolverResolver for the railtype scope
oCRailVehicleInfoInformation about a rail vehicle
oCRandomizerStructure to encapsulate the pseudo random number generators
oCReadBufferA buffer for reading (and buffering) savegame data
oCRectSpecification of a rectangle with absolute coordinates of all edges
oCRectAndIndustryVectorRect and pointer to IndustryVector
oCRefitDescSimulated cargo type and capacity for prediction of future links
oCRefitOptionOption to refit a vehicle chain
oCRefitResultHelper structure for RefitVehicle()
oCRefitWindowRefit cargo window
oCReplaceVehicleWindowWindow for the autoreplacing of vehicles
oCResizeInfoData structure for resizing a window
oCResolverObjectInterface for SpriteGroup-s to access the gamestate
oCReturnCargoActionAction for returning reserved cargo
oCReusableBufferA reusable buffer that can be used for places that temporary allocate a bit of memory and do that very often, or for places where static memory is allocated that might need to be reallocated sometimes
oCRgbQuadFormat of palette data in BMP header
oCRoadStopA Stop for a Road Vehicle
oCRoadStopEntryRebuilderHelperHelper for finding RVs in a road stop
oCRoadTypeInfoStructure holding information per roadtype for several functions
oCRoadVehicleBuses, trucks and trams belong to this class
oCRoadVehicleInfoInformation about a road vehicle
oCSavedRandomSeedsStores the state of all random number generators
oCSaveFilterInterface for filtering a savegame till it is written
oCSaveLoadSaveLoad type struct
oCSaveLoadFormatThe format for a reader/writer type of a savegame
oCSaveLoadParamsThe saveload struct, containing reader-writer functions, buffer, version, etc
oCSavePresetWindowClass for the save preset window
oCScalerScale various things according to symmetric/asymmetric distribution
oCScanProgressWindowWindow for showing the progress of NewGRF scanning
oCScenarioEditorLandscapeGenerationWindowLandscape generation window handler in the scenario editor
oCScenarioIdentifierBasic data to distinguish a scenario
oCScenarioScannerScanner to find the unique IDs of scenarios
oCScopeResolverInterface to query and set values specific to a single VarSpriteGroupScope (action 2 scope)
oCScoreInfoData structure for storing how the score is computed for a single score id
oCScreenshotFormatScreenshot format information
oCScript_FatalErrorA throw-class that is given when the script made a fatal error
oCScript_SuspendA throw-class that is given when the script wants to suspend
oCScriptConfigScript settings
oCScriptConfigItemInfo about a single Script setting
oCScriptFileChecksumCreatorHelper for creating a MD5sum of all files within of a script
oCScriptInfoAll static information from an Script like name, version, etc
oCScriptInstanceRuntime information about a script like a pointer to the squirrel vm and the current state
oCScriptScannerScanner to help finding scripts
oCScriptSettingsSettings related to scripts
oCScriptStorageThe storage for each script
oCScriptTextfileWindowWindow for displaying the textfile of a AI
oCScrollbarScrollbar data structure
oCSearchNearbyHouseDataStructure with user-data for SearchNearbyHouseXXX - functions
oCSelectCompanyLiveryWindowCompany livery colour scheme window
oCSelectCompanyManagerFaceWindowManagement class for customizing the face of the company manager
oCSelectStationWindowWindow for selecting stations/waypoints to (distant) join to
oCServerNetworkAdminSocketHandlerClass for handling the server side of the game connection
oCServerNetworkGameSocketHandlerClass for handling the server side of the game connection
oCServerNetworkUDPSocketHandler*** Communication with clients (we are server) ***/
oCSetDateWindowWindow to select a date graphically by using dropdowns
oCSettingDescBaseProperties of config file settings
oCSettingEntryStandard setting
oCSettingFilterFilter for settings list
oCSettingsContainerContainers for BaseSettingEntry
oCSettingsIniFileDerived class for loading INI files without going through Fio stuff
oCSettingsPageData structure describing one page of settings in the settings window
oCShipAll ships have this type
oCShipVehicleInfoInformation about a ship vehicle
oCSimpleCountedObjectSimple counted object
oCSimplePoolA simplified pool which stores values instead of pointers and doesn't redefine operator new/delete
oCSimpleTinyEnumTTemplate of struct holding enum types (on most archs, enums are stored in an int32)
oCSmallArrayFlexible array with size limit
oCSmallMapImplementation of simple mapping class
oCSmallMapColourSchemeColour scheme of the smallmap
oCSmallMapWindowClass managing the smallmap window
oCSmallMatrixSimple matrix template class
oCSmallPairSimple pair of data
oCSmallSetSet containing 'items' items of 'tile and Tdir' No tree structure is used because it would cause slowdowns in most usual cases
oCSmallStackMinimal stack that uses a pool to avoid pointers
oCSmallStackItemBase class for SmallStack
oCSmallStackSafeStackAllocA small 'wrapper' for allocations that can be done on most OSes on the stack, but are just too large to fit in the stack on devices with a small stack such as the NDS
oCSmallVectorSimple vector template class
oCSnowLineStructure describing the height of the snow line each day of the year
oCSoundDriverBase for all sound drivers
oCSoundDriver_AllegroImplementation of the allegro sound driver
oCSoundDriver_NullImplementation of the null sound driver
oCSoundDriver_SDLImplementation of the SDL sound driver
oCSoundDriver_Win32Implementation of the sound driver for Windows
oCSoundSettingsSettings related to sound effects
oCSoundsSetAll data of a sounds set
oCSpecializedStationClass defining several overloaded accessors so we don't have to cast base stations that often
oCSpecializedVehicleClass defining several overloaded accessors so we don't have to cast vehicle types that often
oCSpotDataUsed as the user_data for FindFurthestFromWater
oCSpriteData structure describing a sprite
oCSpriteAlignerWindowWindow used for aligning sprites
oCSpriteFontCacheFont cache for fonts that are based on a freetype font
oCSpriteLoaderInterface for the loader of our sprites
oCSpriteLoaderGrfSprite loader for graphics coming from a (New)GRF
oCSquirrelStdBy default we want to give a set of standard commands to a SQ script
oCStationStation data structure
oCStationAnimationBaseHelper class for animation control
oCStationCargoListCargoList that is used for stations
oCStationCargoRerouteAction of rerouting cargo in a station
oCStationFinderStructure contains cached list of stations nearby
oCStationNameInformationInformation to handle station action 0 property 24 correctly
oCStationRectStationRect - used to track station spread out rectangle - cheaper than scanning whole map
oCStationResolverObjectStation resolver
oCStationScopeResolverScope resolver for stations
oCStationSettingsSettings related to stations
oCStationSpecStation specification
oCStationViewWindowThe StationView window
oCStatueBuildSearchDataStructure for storing data while searching the best place to build a statue
oCStoryPageStruct about stories, current and completed
oCStoryPageElementStruct about story page elements
oCStringCompareComparator for strings
oCStringDataInformation about the currently known strings
oCStringFilterString filter and state
oCStringIDMappingInformation for mapping static StringIDs
oCStringIteratorClass for iterating over different kind of parts of a string
oCStringListReaderA reader that simply reads using fopen
oCStringNameWriterClass for writing the string IDs
oCStringReaderHelper for reading strings
oCSubsidyStruct about subsidies, offered and awarded
oCSubSpriteUsed to only draw a part of the sprite
oCSymmetricScalerScaler for symmetric distribution
oCTarListEntryThe define of a TarList
oCTarScannerHelper for scanning for files with tar as extension
oCTCPClientConnecterNon blocking connection create to actually connect to servers
oCTCPConnecter"Helper" class for creating TCP connections in a non-blocking manner
oCTCPListenHandlerTemplate for TCP listeners
oCTCPQueryConnecterNon blocking connection create to query servers
oCTemporaryStorageArrayClass for temporary storage of data
oCTempStorageTemporary storage of cargo monitoring data for loading or saving it
oCTerraformerStateState of the terraforming
oCTerraformToolbarWindowTerra form toolbar managing class
oCTextbufHelper/buffer for input fields
oCTextEffectContainer for all information about a text effect
oCTextfileWindowWindow for displaying a textfile
oCThreadMutexCross-platform Mutex
oCThreadMutex_NoneMutex that doesn't do locking because it ain't needed when there're no threads
oCThreadMutex_OS2OS/2 version of ThreadMutex
oCThreadMutex_pthreadPOSIX pthread version of ThreadMutex
oCThreadMutex_Win32Win32 thread version of ThreadMutex
oCThreadMutexLockerSimple mutex locker to keep a mutex locked until the locker goes out of scope
oCThreadObjectA Thread Object which works on all our supported OSes
oCThreadObject_MorphOSMorphOS version for ThreadObject
oCThreadObject_OS2OS/2 version for ThreadObject
oCThreadObject_pthreadPOSIX pthread version for ThreadObject
oCThreadObject_Win32Win32 thread version for ThreadObject
oCTileData that is stored per tile
oCTileAndStationStruct containing TileIndex and StationID
oCTileDescTile description for the 'land area information' tool
oCTileExtendedData that is stored per tile
oCTileHighlightDataMetadata about the current highlighting
oCTileIndexDiffCA pair-construct of a TileIndexDiff
oCTileInfoTile information, used while rendering the tile
oCTileIteratorBase class for tile iterators
oCTileLayoutRegistersAdditional modifiers for items in sprite layouts
oCTileLayoutSpriteGroupAction 2 sprite layout for houses, industry tiles, objects and airport tiles
oCTileMatrixA simple matrix that stores one value per N*N square of the map
oCTileTypeProcsSet of callback functions for performing tile operations of a given tile type
oCTimetableArrivalDepartureContainer for the arrival/departure dates of a vehicle
oCTinyEnumTThe general declaration of TinyEnumT<> (above)
oCTooltipsWindowWindow for displaying a tooltip
oCTownTown data structure
oCTownAuthorityWindowTown authority window
oCTownCacheData structure with cached data of towns
oCTownDirectoryWindowTown directory window class
oCTownNameGeneratorParamsContains pointer to generator and minimum buffer size (not incl
oCTownNameParamsStruct holding a parameters used to generate town name
oCTownResolverObjectResolver of town properties
oCTownScopeResolverScope resolver for a town
oCTrain'Train' is either a loco or a wagon
oCTrainCacheVariables that are cached to improve performance and such
oCTrainCollideCheckerTemporary data storage for testing collisions
oCTranslationWriterClass for writing an encoded language
oCTransportedCargoStatStore the maximum and actually transported cargo amount for the current and the last month
oCUnitConversionHelper for unit conversion
oCUnitsInformation about a specific unit system
oCUnitsLongInformation about a specific unit system with a long variant
oCUnknownGRFStructure for UnknownGRFs; this is a lightweight variant of GRFConfig
oCUnmappedChoiceListHelper structure for mapping choice lists
oCValuesIntervalContains the interval of a graph's data
oCVehicleVehicle data structure
oCVehicleCacheCached often queried values common to all vehicles
oCVehicleCargoListCargoList that is used for vehicles
oCVehicleCargoRerouteAction of rerouting cargo staged for transfer in a vehicle
oCVehicleCellSizeDimensions of a cell in the purchase/depot windows
oCVehicleDefaultSettingsDefault settings for vehicles
oCVehicleDetailsWindowClass for managing the vehicle details window
oCVehicleListIdentifierThe information about a vehicle list
oCVehicleListWindowWindow for the (old) vehicle listing
oCVehicleOrderSaverThis class will save the current order of a vehicle and restore it on destruction
oCVehicleResolverObjectResolver for a vehicle (chain)
oCVehicleScopeResolverResolver for a vehicle scope
oCVehicleSettingsSettings related to vehicles
oCVehicleSpriteSeqSprite sequence for a vehicle part
oCVehicleViewWindowWindow manager class for viewing a vehicle
oCVideoDriverThe base of all video drivers
oCVideoDriver_AllegroThe allegro video driver
oCVideoDriver_DedicatedThe dedicated server video driver
oCVideoDriver_NullThe null video driver
oCVideoDriver_SDLThe SDL video driver
oCVideoDriver_Win32The video driver for windows
oCViewPortData structure for viewport, display of a part of the world
oCViewportDataData structure for a window viewport
oCViewportDrawerData structure storing rendering information
oCViewportSignLocation information about a sign as seen on the viewport
oCViewportSSCSSHelper class for getting the best sprite sorter
oCWaterFeatureInformation about a water feature
oCWaypointRepresentation of a waypoint
oCWaypointWindowGUI for accessing waypoints and buoys
oCWindowData structure for an opened window
oCWindowDescHigh level window description
oCYAPFSettingsSettings related to the yet another pathfinder
oCYearMonthDayData structure to convert between Date and triplet (year, month, and day)
oCZeroedMemoryAllocatorBase class that provides memory initialization on dynamically created objects
oCZlibLoadFilterFilter using Zlib compression
\CZlibSaveFilterFilter using Zlib compression