Here is a list of all documented functions, variables, defines, enums, and typedefs with links to the documentation:

### - d -

- DA_ALWAYS_GO : order_type.h
- DA_SERVICE : order_type.h
- DA_STOP : order_type.h
- DATA_DIR : fileio_type.h
- Date : date_type.h
- DateFract : date_type.h
- Day : date_type.h
- DAY_TICKS : date_type.h
- DAYS_IN_LEAP_YEAR : date_type.h
- DAYS_IN_YEAR : date_type.h
- DAYS_TILL : date_type.h
- DAYS_TILL_ORIGINAL_BASE_YEAR : date_type.h
- DC_ALL_TILES : command_type.h
- DC_AUTO : command_type.h
- DC_AUTOREPLACE : command_type.h
- DC_BANKRUPT : command_type.h
- DC_EXEC : command_type.h
- DC_NO_MODIFY_TOWN_RATING : command_type.h
- DC_NO_RAIL_OVERLAP : command_type.h
- DC_NO_TEST_TOWN_RATING : command_type.h
- DC_NO_WATER : command_type.h
- DC_NONE : command_type.h
- DC_QUERY_COST : command_type.h
- DDM_ITEMS : dropdown.cpp
- DDM_SCROLL : dropdown.cpp
- DDSP_BUILD_BRIDGE : viewport_type.h
- DDSP_BUILD_SIGNALS : viewport_type.h
- DDSP_BUILD_STATION : viewport_type.h
- DDSP_CONVERT_RAIL : viewport_type.h
- DDSP_CREATE_DESERT : viewport_type.h
- DDSP_CREATE_RIVER : viewport_type.h
- DDSP_CREATE_ROCKS : viewport_type.h
- DDSP_CREATE_WATER : viewport_type.h
- DDSP_DEMOLISH_AREA : viewport_type.h
- DDSP_LEVEL_AREA : viewport_type.h
- DDSP_LOWER_AND_LEVEL_AREA : viewport_type.h
- DDSP_PLACE_AUTOROAD : viewport_type.h
- DDSP_PLACE_RAIL : viewport_type.h
- DDSP_PLACE_ROAD_X_DIR : viewport_type.h
- DDSP_PLACE_ROAD_Y_DIR : viewport_type.h
- DDSP_PLANT_TREES : viewport_type.h
- DDSP_RAISE_AND_LEVEL_AREA : viewport_type.h
- DDSP_REMOVE_STATION : viewport_type.h
- DeallocateSpecFromStation() : newgrf_station.cpp , newgrf_station.h
- DecHouseProcessingTime() : town_map.h
- DecIndustryTypeCount() : industrytype.h
- DECLARE_ENUM_AS_BIT_SET : enum_type.hpp , company_manager_face.h
- DECLARE_POSTFIX_INCREMENT : enum_type.hpp , direction_type.h , newgrf_station.h , rail_type.h , track_type.h
- DecloneOrder() : order_cmd.cpp
- DecreaseBuildingCount() : newgrf_house.cpp , newgrf_house.h
- DEF_RAILTYPE_FIRST : rail_type.h
- DEF_RAILTYPE_LAST : rail_type.h
- DEF_RAILTYPE_MOST_USED : rail_type.h
- DEF_SERVER_RECEIVE_COMMAND() : network_server.cpp
- DEF_SNOWLINE_HEIGHT : tile_type.h
- DEF_START_YEAR : date_type.h
- DEF_UDP_RECEIVE_COMMAND() : network_udp.cpp
- DEFAULT_GROUP : group_type.h
- DEFINE_UNAVAILABLE_CONTENT_RECEIVE_COMMAND : tcp_content.cpp
- DEFINE_UNAVAILABLE_UDP_RECEIVE_COMMAND : udp.cpp
- delete_Hash() : queue.cpp , queue.h
- DeleteAllNonVitalWindows() : window.cpp , window_func.h
- DeleteAnimatedTile() : animated_tile.cpp , animated_tile_func.h
- DeleteCompanyWindows() : company_gui.h , window.cpp
- DeleteConstructionWindows() : window.cpp , window_func.h
- DeleteDepotHighlightOfVehicle() : depot_func.h , depot_gui.cpp
- DeleteDropDownList() : dropdown.cpp
- DeleteGroupHighlightOfVehicle() : group_gui.cpp , group_gui.h
- DeleteIndustryNews() : news_func.h , news_gui.cpp
- DeleteLastWagon() : train_cmd.cpp
- DeleteNewsItem() : news_gui.cpp
- DeleteNonVitalWindows() : window.cpp , window_func.h
- DeleteOrderWarnings() : order_cmd.cpp
- DeleteStationIfEmpty() : station_cmd.cpp
- DeleteStationNews() : news_func.h , news_gui.cpp
- DeleteTextBufferAll() : misc_gui.cpp , textbuf_gui.h
- DeleteTextBufferChar() : misc_gui.cpp , textbuf_gui.h
- DeleteVehicleNews() : news_func.h , news_gui.cpp
- DeleteVehicleOrders() : order_cmd.cpp , order_func.h
- DeleteWindowByClass() : window.cpp , window_func.h
- DeleteWindowById() : window.cpp , window_func.h
- DeliverGoods() : economy.cpp
- DeliverGoodsToIndustry() : economy.cpp
- Delta() : math_func.hpp
- DEPOT_DONT_CANCEL : vehicle_type.h
- DEPOT_LOCATE_HANGAR : vehicle_type.h
- DEPOT_MASS_SEND : vehicle_type.h
- DEPOT_SERVICE : vehicle_type.h
- DEPOT_WIDGET_H_SCROLL : depot_gui.cpp
- DEPOT_WIDGET_V_SCROLL : depot_gui.cpp
- DepotCommand : vehicle_type.h
- DepotWindowWidgets : depot_gui.cpp
- DestroyCompanyHQ() : unmovable_cmd.cpp
- DestType : network_type.h
- DESTTYPE_BROADCAST : network_type.h
- DESTTYPE_CLIENT : network_type.h
- DESTTYPE_TEAM : network_type.h
- DetermineBasePaths() : fileio.cpp
- DeterminePaths() : fileio.cpp , fileio_func.h
- DeterministicSpriteGroupAdjustOperation : newgrf_spritegroup.h
- DIAGDIR_BEGIN : direction_type.h
- DIAGDIR_END : direction_type.h
- diagdir_names : dbg_helpers.cpp
- DIAGDIR_NE : direction_type.h
- DIAGDIR_NW : direction_type.h
- DIAGDIR_SE : direction_type.h
- DIAGDIR_SW : direction_type.h
- DiagdirBetweenTiles() : map_func.h
- DiagDirDiff : direction_type.h
- DIAGDIRDIFF_90LEFT : direction_type.h
- DIAGDIRDIFF_90RIGHT : direction_type.h
- DIAGDIRDIFF_REVERSE : direction_type.h
- DIAGDIRDIFF_SAME : direction_type.h
- DiagDirection : direction_type.h
- DiagdirReachesTrackdirs() : track_func.h
- DiagdirReachesTracks() : track_func.h
- DiagDirToAxis() : direction_func.h
- DiagDirToDiagTrack() : track_func.h
- DiagDirToDiagTrackBits() : track_func.h
- DiagDirToDiagTrackdir() : track_func.h
- DiagDirToDir() : direction_func.h
- DiagDirToRoadBits() : road_func.h
- DIR_BEGIN : direction_type.h
- DIR_E : direction_type.h
- DIR_END : direction_type.h
- DIR_N : direction_type.h
- DIR_NE : direction_type.h
- DIR_NW : direction_type.h
- DIR_S : direction_type.h
- DIR_SE : direction_type.h
- DIR_SW : direction_type.h
- DIR_W : direction_type.h
- DirDiff : direction_type.h
- DIRDIFF_45LEFT : direction_type.h
- DIRDIFF_45RIGHT : direction_type.h
- DIRDIFF_90LEFT : direction_type.h
- DIRDIFF_90RIGHT : direction_type.h
- DIRDIFF_REVERSE : direction_type.h
- DIRDIFF_SAME : direction_type.h
- DirDifference() : direction_func.h
- Direction : direction_type.h
- DirToDiagDir() : direction_func.h
- DisableStaticNewGRFInfluencingNonStaticNewGRFs() : newgrf.cpp
- DisallowedPPPofTrackAtPCP : elrail_data.h
- DisallowedRoadDirections : road_map.h
- Disaster_CoalMine_Init() : disaster_cmd.cpp
- Disaster_Helicopter_Init() : disaster_cmd.cpp
- Disaster_Small_Ufo_Init() : disaster_cmd.cpp
- Disaster_Zeppeliner_Init() : disaster_cmd.cpp
- DisasterTick_Aircraft() : disaster_cmd.cpp
- DisasterTick_Airplane() : disaster_cmd.cpp
- DisasterTick_Big_Ufo() : disaster_cmd.cpp
- DisasterTick_Big_Ufo_Destroyer() : disaster_cmd.cpp
- DisasterTick_Helicopter() : disaster_cmd.cpp
- DisasterTick_Helicopter_Rotors() : disaster_cmd.cpp
- DisasterTick_Submarine() : disaster_cmd.cpp
- DisasterTick_Ufo() : disaster_cmd.cpp
- DisasterTick_Zeppeliner() : disaster_cmd.cpp
- DispatchLeftClickEvent() : window.cpp
- DispatchMouseWheelEvent() : window.cpp
- DispatchRightClickEvent() : window.cpp
- DistanceFromEdge() : map.cpp , map_func.h
- DistanceManhattan() : map.cpp , map_func.h
- DistanceMax() : map.cpp , map_func.h
- DistanceMaxPlusManhattan() : map.cpp , map_func.h
- DistanceSquare() : map.cpp , map_func.h
- DoAutosave() : openttd.cpp
- DoBuildShiplift() : water_cmd.cpp
- DockToolbarWidgets : dock_gui.cpp
- DoClearTownHouseHelper() : town_cmd.cpp
- DoCommand() : command.cpp , command_func.h
- DoCommandFlag : command_type.h
- DoCommandP() : command.cpp , command_func.h
- DoCommandPInternal() : command.cpp , command_func.h
- DoCreateTown() : town_cmd.cpp
- DoDryUp() : water_cmd.cpp
- DoExitSave() : saveload.cpp , saveload.h
- DoFloodTile() : water_cmd.cpp , water.h
- DoPlaceMoreTrees() : tree_cmd.cpp
- DoScanWorkingDirectory() : fileio.cpp
- DoSelectCompanyManagerFace() : company_gui.cpp
- DoStartupNewCompany() : company_cmd.cpp , openttd.cpp , afterload.cpp
- DoTrainPathfind() : train_cmd.cpp
- DOWNARROW : widget.cpp
- DownloadStatusWindowWidgets : network_content_gui.cpp
- DrawAircraftDetails() : aircraft_gui.cpp , vehicle_gui.cpp
- DrawAircraftImage() : aircraft_gui.cpp , vehicle_gui.h
- DrawArrowButtons() : gui.h , settings_gui.cpp
- DrawAutorailSelection() : viewport.cpp
- DrawBox() : gfx.cpp , gfx_func.h
- DrawBridgePillars() : tunnelbridge_cmd.cpp
- DrawBridgeTramBits() : tunnelbridge_cmd.cpp
- DrawButtonDropdown() : widget.cpp
- DrawCanalWater() : water_cmd.cpp
- DrawCaption() : widget.cpp , window_gui.h
- DrawCargoIcons() : station_gui.cpp
- DrawCargoListText() : station_gui.cpp
- DrawCategories() : company_gui.cpp
- DrawCatenary() : elrail.cpp , elrail_func.h
- DrawCatenaryOnTunnel() : elrail.cpp , elrail_func.h
- DrawCatenaryRailway() : elrail.cpp
- DrawCharCentered() : gfx.cpp
- DrawCloseBox() : widget.cpp
- DrawCommonTileSeq() : sprite.cpp
- DrawCommonTileSeqInGUI() : sprite.cpp , sprite.h
- DrawCompanyManagerFace() : company_gui.cpp , company_manager_face.h
- DrawDirtyBlocks() : gfx_func.h , gfx.cpp
- DrawDropdown() : widget.cpp
- DrawEngineList() : autoreplace_gui.cpp , build_vehicle_gui.cpp
- DrawFoundation() : landscape.cpp , landscape.h
- DrawFrame() : widget.cpp
- DrawFrameRect() : window_gui.h , widget.cpp
- DrawGroundSprite() : viewport.cpp , viewport_func.h
- DrawGroundSpriteAt() : viewport_func.h , viewport.cpp
- DrawHorizontalScrollbar() : widget.cpp
- DrawImageButtons() : widget.cpp
- DrawInset() : widget.cpp
- DrawLabel() : widget.cpp
- DrawMatrix() : widget.cpp
- DrawNewGRFTileSeq() : sprite.h
- DrawNewsString() : news_gui.cpp
- DrawOrderString() : order_func.h , order_gui.cpp
- DrawOrigTileSeq() : sprite.h
- DrawOrigTileSeqInGUI() : sprite.h
- DrawOverlappedWindow() : window.cpp
- DrawOverlappedWindowForAll() : gfx_func.h , window.cpp
- DrawPrice() : company_gui.cpp
- DrawRailTileSeq() : sprite.h
- DrawRailTileSeqInGUI() : sprite.h
- DrawResizeBox() : widget.cpp
- DrawRoadBits() : road_cmd.cpp
- DrawRoadDetail() : road_cmd.cpp
- DrawRoadVehDetails() : roadveh_gui.cpp , vehicle_gui.cpp
- DrawRoadVehImage() : vehicle_gui.h , roadveh_gui.cpp
- DrawSeaWater() : water_cmd.cpp
- DrawSelectionSprite() : viewport.cpp
- DrawShadeBox() : widget.cpp
- DrawShipDetails() : ship_gui.cpp , vehicle_gui.cpp
- DrawShipImage() : ship_gui.cpp , vehicle_gui.h
- DrawSprite() : gfx.cpp , gfx_func.h
- DrawStationCoverageAreaText() : station_gui.cpp , station_gui.h
- DrawStationTile() : newgrf_station.cpp , newgrf_station.h
- DrawStickyBox() : widget.cpp
- DrawString() : gfx.cpp , gfx_func.h , gfx.cpp , gfx_func.h
- DrawStringMultiLine() : gfx_func.h , gfx.cpp
- DrawText() : widget.cpp
- DrawTile_Road() : road_cmd.cpp
- DrawTile_Town() : town_cmd.cpp
- DrawTile_TunnelBridge() : tunnelbridge_cmd.cpp
- DrawTileProc : tile_cmd.h
- DrawTileSelection() : viewport.cpp
- DrawTileSelectionRect() : viewport.cpp
- DrawTrackBits() : rail_cmd.cpp
- DrawTrackFence_NS_1() : rail_cmd.cpp
- DrawTrackFence_NS_2() : rail_cmd.cpp
- DrawTrackFence_WE_1() : rail_cmd.cpp
- DrawTrackFence_WE_2() : rail_cmd.cpp
- DrawTrainDetails() : train_gui.cpp , vehicle_gui.cpp
- DrawTrainImage() : vehicle_gui.h , train_gui.cpp
- DrawTramCatenary() : road_cmd.cpp , road_internal.h
- DrawVehicleEngine() : engine_gui.h , engine_gui.cpp
- DrawVehicleImage() : vehicle_gui.cpp
- DrawVehicleProfitButton() : vehicle_gui.cpp
- DrawVehiclePurchaseInfo() : vehicle_gui.h , build_vehicle_gui.cpp
- DrawVehicleRefitWindow() : vehicle_gui.cpp
- DrawVerticalScrollbar() : widget.cpp
- DrawWaypointSprite() : waypoint.cpp , waypoint_func.h
- DrawYearColumn() : company_gui.cpp
- DRD_BOTH : road_map.h
- DRD_NONE : road_map.h
- DRD_NORTHBOUND : road_map.h
- DRD_SOUTHBOUND : road_map.h
- DropDownList : dropdown_type.h
- DropdownMenuWidgets : dropdown.cpp
- DSGA_OP_ADD : newgrf_spritegroup.h
- DSGA_OP_AND : newgrf_spritegroup.h
- DSGA_OP_MUL : newgrf_spritegroup.h
- DSGA_OP_OR : newgrf_spritegroup.h
- DSGA_OP_ROR : newgrf_spritegroup.h
- DSGA_OP_RST : newgrf_spritegroup.h
- DSGA_OP_SCMP : newgrf_spritegroup.h
- DSGA_OP_SDIV : newgrf_spritegroup.h
- DSGA_OP_SMAX : newgrf_spritegroup.h
- DSGA_OP_SMIN : newgrf_spritegroup.h
- DSGA_OP_SMOD : newgrf_spritegroup.h
- DSGA_OP_STO : newgrf_spritegroup.h
- DSGA_OP_STOP : newgrf_spritegroup.h
- DSGA_OP_SUB : newgrf_spritegroup.h
- DSGA_OP_UCMP : newgrf_spritegroup.h
- DSGA_OP_UDIV : newgrf_spritegroup.h
- DSGA_OP_UMAX : newgrf_spritegroup.h
- DSGA_OP_UMIN : newgrf_spritegroup.h
- DSGA_OP_UMOD : newgrf_spritegroup.h
- DSGA_OP_XOR : newgrf_spritegroup.h
- DTW_BUILD_AQUEDUCT : dock_gui.cpp
- DTW_BUOY : dock_gui.cpp
- DTW_BUTTONS_BEGIN : dock_gui.cpp
- DTW_CANAL : dock_gui.cpp
- DTW_DEMOLISH : dock_gui.cpp
- DTW_DEPOT : dock_gui.cpp
- DTW_END : dock_gui.cpp
- DTW_LOCK : dock_gui.cpp
- DTW_RIVER : dock_gui.cpp
- DTW_STATION : dock_gui.cpp
- DuplicateGRFConfig() : newgrf_config.cpp , newgrf_config.h
- DynamicPlaceIndustriesWidgets : industry_gui.cpp