OpenTTD Source: Globals

OpenTTD Source 15.0-beta1

Here is a list of all documented functions with links to the documentation:

### - a -

- AB() : bitmath_func.hpp
- AbortGeneratingWorld() : genworld.cpp, genworld.h
- abs() : math_func.hpp
- AcceptEnginePreview() : engine.cpp
- ActivateOldShore() : newgrf.cpp
- ActivateOldTramDepot() : newgrf.cpp
- AddAcceptedCargoOfHouse() : town_cmd.cpp
- AddAcceptedCargoSetMask() : town_cmd.cpp
- AddAnimatedTile() : animated_tile.cpp, animated_tile_func.h
- AddArticulatedParts() : articulated_vehicles.cpp, articulated_vehicles.h
- AddCargoDelivery() : cargomonitor.cpp, cargomonitor.h
- AddCargoIconOverlay() : vehicle_gui_base.h, vehicle_gui.cpp
- AddChangedPersistentStorage() : newgrf_storage.cpp, newgrf_storage.h
- AddChildSpriteScreen() : viewport.cpp, viewport_func.h
- AddChildSpriteToFoundation() : viewport.cpp
- AddClearCounter() : clear_map.h
- AddClearDensity() : clear_map.h
- AddCombinedSprite() : viewport.cpp
- AddCustomRefreshRates() : settings_gui.cpp
- AddDateIntroducedRailTypes() : rail.cpp, rail.h
- AddDateIntroducedRoadTypes() : road.cpp, road_func.h
- AddDirtyBlock() : gfx.cpp, gfx_func.h
- AddEngineReplacement() : autoreplace.cpp, autoreplace_func.h
- AddEngineReplacementForCompany() : autoreplace_func.h
- AddGenericCallback() : newgrf_generic.cpp, newgrf_generic.h
- AddGrfInfo() : gamelog.cpp
- AddGRFString() : newgrf_text.cpp, newgrf_text.h
- AddGRFTextToList() : newgrf_text.cpp, newgrf_text.h
- AddInflation() : economy.cpp, economy_func.h
- AddKey() : osk_gui.cpp
- AddNearbyStation() : station_gui.cpp
- AddNewsItem() : news_func.h, news_gui.cpp
- AddRemoveEngineFromAutoreplaceAndBuildWindows() : autoreplace_gui.cpp, autoreplace_gui.h
- AddSideToSignalBuffer() : signal.cpp, signal_func.h
- AddSortableSpriteToDraw() : viewport.cpp, viewport_func.h
- AddStringForMapping() : newgrf.cpp
- AddTileIndexDiffCWrap() : map_func.h
- AddTileSpriteToDraw() : viewport.cpp
- AddTrackToSignalBuffer() : signal.cpp, signal_func.h
- AddTreeCount() : tree_map.h
- AddTreeGrowth() : tree_map.h
- AddVehicleAdviceNewsItem() : news_func.h
- AddVehicleNewsItem() : news_func.h
- AddVehicleToGroup() : group_cmd.cpp
- AdjustByZoom() : zoom_func.h
- AdjustGUIZoom() : gfx_func.h, gfx.cpp
- AdjustTileh() : elrail.cpp
- ADMIN_AUTHORISATION_TIMEOUT() : network_admin.cpp
- AdminClientBanCallback() : network_gui.cpp
- AdminClientKickCallback() : network_gui.cpp
- AdminCompanyResetCallback() : network_gui.cpp
- AdvanceHouseConstruction() : town_cmd.cpp
- AdvanceSingleHouseConstruction() : town_cmd.cpp
- AdvanceWagonsAfterSwap() : train_cmd.cpp
- AdvanceWagonsBeforeSwap() : train_cmd.cpp
- AdvertiseIndustryOpening() : industry_cmd.cpp
- AffectSpeedByZChange() : train_cmd.cpp
- AfterLoad_LinkGraphPauseControl() : linkgraphschedule.cpp, linkgraphschedule.h
- AfterLoadCompanyStats() : cachecheck.cpp, company_sl.cpp, saveload_internal.h
- AfterLoadGame() : afterload.cpp, saveload.cpp
- AfterLoadGRFs() : newgrf.cpp
- AfterLoadLabelMaps() : labelmaps_sl.cpp, saveload_internal.h
- AfterLoadLinkGraphs() : linkgraph_sl.cpp, saveload_internal.h
- AfterLoadRoadStops() : saveload_internal.h, station_sl.cpp
- AfterLoadStoryBook() : saveload_internal.h, story_sl.cpp
- AfterLoadVehiclesPhase1() : saveload_internal.h, vehicle_sl.cpp
- AfterLoadVehiclesPhase2() : saveload_internal.h, vehicle_sl.cpp
- AgeVehicle() : vehicle.cpp, vehicle_func.h
- AircraftController() : aircraft_cmd.cpp
- AircraftEngineCargoSorter() : build_vehicle_gui.cpp
- AircraftEntersTerminal() : aircraft_cmd.cpp
- AircraftEventHandler_AtTerminal() : aircraft_cmd.cpp
- AircraftEventHandler_EnterHangar() : aircraft_cmd.cpp
- AircraftEventHandler_InHangar() : aircraft_cmd.cpp
- AircraftGetEntryPoint() : aircraft_cmd.cpp
- AircraftHandleDestTooFar() : aircraft_cmd.cpp
- AircraftLandAirplane() : aircraft_cmd.cpp
- AircraftLeaveHangar() : aircraft.h, aircraft_cmd.cpp
- AircraftNextAirportPos_and_Order() : aircraft.h, aircraft_cmd.cpp
- AircraftRangeSorter() : build_vehicle_gui.cpp
- AircraftVehicleChangeInfo() : newgrf.cpp
- AirportBuildAutomata() : airport.cpp
- AirportChangeInfo() : newgrf.cpp
- AirportFindFreeHelipad() : aircraft_cmd.cpp
- AirportFindFreeTerminal() : aircraft_cmd.cpp
- AirportGetNearestTown() : station_cmd.cpp
- AirportGetNofElements() : airport.cpp
- AirportHasBlock() : aircraft_cmd.cpp
- AirportMaintenanceCost() : station.cpp, station_func.h
- AirportSetBlocks() : aircraft_cmd.cpp
- Align() : math_func.hpp
- AlignPtr() : math_func.hpp
- AlignTileToGrid() : town_cmd.cpp
- AllEqual() : window_gui.h
- AllocateRailType() : rail.h, rail_cmd.cpp
- AllocateRoadType() : road_cmd.cpp, road.h
- AllocateSound() : newgrf_sound.cpp, newgrf_sound.h
- AllocateSpecToStation() : newgrf_station.cpp, newgrf_station.h
- AllocateToolbar() : toolbar_gui.cpp, toolbar_gui.h
- AllocateWaterRegions() : water_regions.cpp, water_regions.h
- AllocateWindowDescFront() : window_gui.h
- AllocHeightMap() : tgp.cpp
- AlterVehicleListOrder() : newgrf_engine.h, newgrf_engine.cpp
- AmbientSoundEffect() : newgrf_generic.h
- AmbientSoundEffectCallback() : newgrf_generic.cpp, newgrf_generic.h
- AnimateAnimatedTiles() : animated_tile.cpp, animated_tile_func.h
- AnimateNewObjectTile() : newgrf_object.cpp, newgrf_object.h
- AnimateTile_Town() : town_cmd.cpp
- AppendFile() : settingsgen.cpp
- AppendPathSeparator() : fileio_func.h, fileio.cpp
- AppendStaticGRFConfigs() : newgrf_config.cpp, newgrf_config.h
- AppendStringInPlace() : strings.cpp, strings_func.h
- AppendToGRFConfigList() : newgrf_config.cpp, newgrf_config.h
- ApplyFoundationToSlope() : landscape.cpp, landscape.h
- ApplyNWidgetPartAttribute() : widget.cpp
- ApplyPixelFoundationToSlope() : landscape.h
- AreCompanyManagerFaceBitsValid() : company_manager_face.h
- ArrangeTrains() : train_cmd.cpp
- AskUnsafeUnpauseCallback() : misc_cmd.cpp
- AssignBit() : bitmath_func.hpp
- AutoslopeCheckForAxis() : autoslope.h
- AutoslopeCheckForEntranceEdge() : autoslope.h
- AutoslopeEnabled() : autoslope.h
- AxisToDiagDir() : direction_func.h
- AxisToDirection() : direction_func.h
- AxisToRoadBits() : road_func.h
- AxisToTrack() : track_func.h
- AxisToTrackBits() : track_func.h