OpenTTD: Globals

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

- All
- Functions
- Variables
- Typedefs
- Enumerations
- Enumerator
- Macros

- _
- a
- b
- c
- d
- e
- f
- g
- h
- i
- j
- k
- l
- m
- n
- o
- p
- q
- r
- s
- t
- u
- v
- w
- x
- y
- z

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

### - t -

- TAB_SIZE : strings_type.h
- TAB_SIZE_BITS : strings_type.h
- TAB_SIZE_GAMESCRIPT : strings_type.h
- TAB_SIZE_NEWGRF : strings_type.h
- TACT_ADVERTISE : town.h
- TACT_ADVERTISE_LARGE : town.h
- TACT_ADVERTISE_MEDIUM : town.h
- TACT_ADVERTISE_SMALL : town.h
- TACT_ALL : town.h
- TACT_BRIBE : town.h
- TACT_BUILD_STATUE : town.h
- TACT_BUY_RIGHTS : town.h
- TACT_CONSTRUCTION : town.h
- TACT_COUNT : town.h
- TACT_FUND_BUILDINGS : town.h
- TACT_FUNDS : town.h
- TACT_NONE : town.h
- TACT_ROAD_REBUILD : town.h
- TAKEOFF : airport.h
- TC_IS_PALETTE_COLOUR : gfx_type.h
- TC_NO_SHADE : gfx_type.h
- TCX_NORMAL : newgrf_commons.h
- TCX_ON_BRIDGE : newgrf_commons.h
- TCX_UPPER_HALFTILE : newgrf_commons.h
- TD_LTR : strings_type.h
- TD_RTL : strings_type.h
- TDW_TAB_CAPACITY : vehicle_gui.h
- TDW_TAB_CARGO : vehicle_gui.h
- TDW_TAB_INFO : vehicle_gui.h
- TDW_TAB_TOTALS : vehicle_gui.h
- TE_END : cargotype.h
- TE_FOOD : cargotype.h
- TE_GOODS : cargotype.h
- TE_MAIL : cargotype.h
- TE_NONE : cargotype.h
- TE_PASSENGERS : cargotype.h
- TE_RISING : texteff.hpp
- TE_STATIC : texteff.hpp
- TE_WATER : cargotype.h
- TEMPLATES_GROUP_NAME : settingsgen.cpp
- TERM1 : airport.h
- TERM1_block : airport.h
- TERM2 : airport.h
- TERM2_block : airport.h
- TERM3 : airport.h
- TERM3_block : airport.h
- TERM4 : airport.h
- TERM4_block : airport.h
- TERM5 : airport.h
- TERM5_block : airport.h
- TERM6 : airport.h
- TERM6_block : airport.h
- TERM7 : airport.h
- TERM7_block : airport.h
- TERM8 : airport.h
- TERM8_block : airport.h
- TerminateRoadWorks() : road_map.h
- TerraformAddDirtyTile() : terraform_cmd.cpp
- TerraformAddDirtyTileAround() : terraform_cmd.cpp
- TerraformGetHeightOfTile() : terraform_cmd.cpp
- TerraformSetHeightOfTile() : terraform_cmd.cpp
- TerraformTileHeight() : terraform_cmd.cpp
- TerraformTileProc : tile_cmd.h
- TerraformToolbarEditorGlobalHotkeys() : terraform_gui.cpp
- TerraformToolbarGlobalHotkeys() : terraform_gui.cpp
- TerraformToolbarWidgets : terraform_widget.h
- TestAutoslopeOnRailTile() : rail_cmd.cpp
- TestTileOnSearchProc : map_func.h
- TEXT_TAB_END : strings_type.h
- TEXT_TAB_GAMESCRIPT_START : strings_type.h
- TEXT_TAB_NEWGRF_START : strings_type.h
- TextColour : gfx_type.h
- TextDirection : strings_type.h
- TextEffectMode : texteff.hpp
- TextfileType : textfile_type.h
- TextfileWidgets : misc_widget.h
- TextHandler : newgrf.cpp
- TF_ALLOWED : town_type.h
- TF_BEGIN : town_type.h
- TF_CUSTOM_LAYOUT : town_type.h
- TF_END : town_type.h
- TF_FORBIDDEN : town_type.h
- TFP_NONE : train.h
- TFP_SIGNAL : train.h
- TFP_STUCK : train.h
- TFT_CHANGELOG : textfile_type.h
- TFT_LICENSE : textfile_type.h
- TFT_README : textfile_type.h
- TGEN_SMOOTHNESS_BEGIN : genworld.h
- TGEN_SMOOTHNESS_END : genworld.h
- TGEN_SMOOTHNESS_ROUGH : genworld.h
- TGEN_SMOOTHNESS_SMOOTH : genworld.h
- TGEN_SMOOTHNESS_VERY_ROUGH : genworld.h
- TGEN_SMOOTHNESS_VERY_SMOOTH : genworld.h
- TgenSetTileHeight() : tgp.cpp
- TgenSmoothness : genworld.h
- TGPGetMaxHeight() : tgp.cpp
- Ticks : date_type.h
- TicksToLeaveDepot() : rail.h , rail_cmd.cpp
- TILE_ADD : map_func.h
- TILE_ADDXY : map_func.h
- TILE_AREA_LOOP : tilearea_type.h
- TILE_HEIGHT : tile_type.h
- TILE_HEIGHT_STEP : viewport_func.h
- TILE_MASK : map_func.h
- TILE_PIXELS : tile_type.h
- TILE_SEQ_CHILD : station_land.h
- TILE_SEQ_END : station_land.h , water_land.h
- TILE_SEQ_GROUND : station_land.h
- TILE_SEQ_LINE : station_land.h , water_land.h
- TILE_SEQ_LINE_PAL : station_land.h
- TILE_SIZE : tile_type.h
- TILE_SPRITE_LINE : station_land.h , water_land.h
- TILE_UNIT_MASK : tile_type.h
- TileAddByDiagDir() : map_func.h
- TileAddWrap() : map.cpp , map_func.h
- TileArea : tilearea_type.h
- TileContext : newgrf_commons.h
- TileDiffXY() : map_func.h
- TileHash() : tile_map.h
- TileHash2Bit() : tile_map.h
- TileHeight() : tile_map.h
- TileHeightOutsideMap() : tile_map.cpp , tile_map.h
- TileIndex : tile_type.h
- TileIndexDiff : map_func.h , map_type.h
- TileIndexDiffCByDiagDir() : map_func.h
- TileIndexDiffCByDir() : map_func.h
- TileIndexSet : terraform_cmd.cpp
- TileIndexToHeightMap : terraform_cmd.cpp
- TileIndexToTileIndexDiffC() : map_func.h
- TileLayoutFlags : newgrf_commons.h
- TileLoop_Town() : town_cmd.cpp
- TileLoop_Water() : water.h , water_cmd.cpp
- TileLoopClearAlps() : clear_cmd.cpp
- TileOffsByDiagDir() : map_func.h
- TileOffsByDir() : map_func.h
- TilePixelHeight() : tile_map.h
- TilePixelHeightOutsideMap() : tile_map.h
- TileSource : elrail_data.h
- TileStr() : dbg_helpers.cpp
- TileType : tile_type.h
- TileVirtXY() : map_func.h
- TileX() : map_func.h
- TileXY() : map_func.h
- TileY() : map_func.h
- TIME_BETWEEN_DOUBLE_CLICK : window.cpp
- TIMEOUT_DURATION : window_gui.h
- TL_2X2_GRID : town_type.h
- TL_3X3_GRID : town_type.h
- TL_BETTER_ROADS : town_type.h
- TL_ORIGINAL : town_type.h
- TL_RANDOM : town_type.h
- TLF_BB_XY_OFFSET : newgrf_commons.h
- TLF_BB_Z_OFFSET : newgrf_commons.h
- TLF_CHILD_X_OFFSET : newgrf_commons.h
- TLF_CHILD_Y_OFFSET : newgrf_commons.h
- TLF_CUSTOM_PALETTE : newgrf_commons.h
- TLF_DODRAW : newgrf_commons.h
- TLF_DRAWING_FLAGS : newgrf_commons.h
- TLF_KNOWN_FLAGS : newgrf_commons.h
- TLF_NON_GROUND_FLAGS : newgrf_commons.h
- TLF_PALETTE : newgrf_commons.h
- TLF_PALETTE_REG_FLAGS : newgrf_commons.h
- TLF_PALETTE_VAR10 : newgrf_commons.h
- TLF_SPRITE : newgrf_commons.h
- TLF_SPRITE_REG_FLAGS : newgrf_commons.h
- TLF_SPRITE_VAR10 : newgrf_commons.h
- TLF_VAR10_FLAGS : newgrf_commons.h
- TLG : elrail_data.h
- TLR_MAX_VAR10 : newgrf_commons.h
- TO_ALL : airport.h
- TO_BRIDGES : transparency.h
- TO_BUILDINGS : transparency.h
- TO_CATENARY : transparency.h
- TO_HOUSES : transparency.h
- TO_INDUSTRIES : transparency.h
- TO_INVALID : transparency.h
- TO_LOADING : transparency.h
- TO_SIGNS : transparency.h
- TO_STRUCTURES : transparency.h
- TO_TREES : transparency.h
- ToggleBit() : bitmath_func.hpp
- ToggleBoundingBoxes() : toolbar_gui.cpp , toolbar_gui.h
- ToggleDesert : road_map.h
- ToggleDirtyBlocks() : toolbar_gui.cpp , toolbar_gui.h
- ToggleInvisibility() : transparency.h
- ToggleInvisibilityWithTransparency() : transparency.h
- ToggleRailButton_Remove() : rail_gui.cpp
- ToggleRoadButton_Remove() : road_gui.cpp
- ToggleSnow() : road_map.h
- ToggleTransparency() : transparency.h
- ToggleTransparencyLock() : transparency.h
- Token : depend.cpp
- TOKEN_AND : depend.cpp
- TOKEN_CLOSE : depend.cpp
- TOKEN_DEFINE : depend.cpp
- TOKEN_DEFINED : depend.cpp
- TOKEN_ELIF : depend.cpp
- TOKEN_ELSE : depend.cpp
- TOKEN_END : depend.cpp
- TOKEN_ENDIF : depend.cpp
- TOKEN_EOL : depend.cpp
- TOKEN_GLOBAL : depend.cpp
- TOKEN_IDENTIFIER : depend.cpp
- TOKEN_IF : depend.cpp
- TOKEN_IFDEF : depend.cpp
- TOKEN_IFNDEF : depend.cpp
- TOKEN_INCLUDE : depend.cpp
- TOKEN_LOCAL : depend.cpp
- TOKEN_NOT : depend.cpp
- TOKEN_OPEN : depend.cpp
- TOKEN_OR : depend.cpp
- TOKEN_SHARP : depend.cpp
- TOKEN_UNDEF : depend.cpp
- TOKEN_UNKNOWN : depend.cpp
- TOKEN_ZERO : depend.cpp
- ToolbarEditorWidgets : toolbar_widget.h
- ToolbarFastForwardClick() : toolbar_gui.cpp
- ToolbarMode : toolbar_gui.cpp
- ToolbarNormalWidgets : toolbar_widget.h
- ToolbarOptionsClick() : toolbar_gui.cpp
- ToolbarSaveClick() : toolbar_gui.cpp
- ToolbarScenDatePanel() : toolbar_gui.cpp
- ToolbarScenSaveOrLoad() : toolbar_gui.cpp
- ToolTipsWidgets : misc_widget.h
- ToPercent16() : math_func.hpp
- ToPercent8() : math_func.hpp
- ToTileIndexDiff() : map_func.h
- TOWN_GROW_RATE_CUSTOM : town.h
- TOWN_GROW_RATE_CUSTOM_NONE : town.h
- TOWN_GROWTH_DESERT : town.h
- TOWN_GROWTH_TICKS : date_type.h
- TOWN_GROWTH_WINTER : town.h
- TOWN_HAS_CHURCH : town.h
- TOWN_HAS_STADIUM : town.h
- TOWN_HOUSE_COMPLETED : house.h
- TOWN_IS_GROWING : town.h
- TOWN_RATING_CHECK_TYPE_COUNT : town.h
- TownActionBuildStatue() : town_cmd.cpp
- TownActions : town.h
- TownAuthorityWidgets : town_widget.h
- TownCanBePlacedHere() : town_cmd.cpp
- TownDirectoryWidgets : town_widget.h
- TownEffect : cargotype.h
- TownFlags : town.h
- TownFounding : town_type.h
- TownFoundingByte : town_type.h
- TownFoundingWidgets : town_widget.h
- TownHouseChangeInfo() : newgrf.cpp
- TownLayout : town_type.h
- TownLayoutAllows2x2HouseHere() : town_cmd.cpp
- TownLayoutAllowsHouseHere() : town_cmd.cpp
- TownLayoutByte : town_type.h
- TownName() : settings_gui.cpp
- TownNameGenerator : townname.cpp
- TownRatingCheckType : town.h
- TownSize : town_type.h
- TownViewWidgets : town_widget.h
- TP_IMPROVED : tree_cmd.cpp
- TP_NONE : tree_cmd.cpp
- TP_ORIGINAL : tree_cmd.cpp
- Track : track_type.h
- TRACK_BEGIN : track_type.h
- TRACK_BIT_3WAY_NE : track_type.h
- TRACK_BIT_3WAY_NW : track_type.h
- TRACK_BIT_3WAY_SE : track_type.h
- TRACK_BIT_3WAY_SW : track_type.h
- TRACK_BIT_ALL : track_type.h
- TRACK_BIT_CROSS : track_type.h
- TRACK_BIT_DEPOT : track_type.h
- TRACK_BIT_HORZ : track_type.h
- TRACK_BIT_LEFT : track_type.h
- TRACK_BIT_LOWER : track_type.h
- TRACK_BIT_MASK : track_type.h
- TRACK_BIT_NONE : track_type.h
- TRACK_BIT_RIGHT : track_type.h
- TRACK_BIT_UPPER : track_type.h
- TRACK_BIT_VERT : track_type.h
- TRACK_BIT_WORMHOLE : track_type.h
- TRACK_BIT_X : track_type.h
- TRACK_BIT_Y : track_type.h
- TRACK_END : track_type.h
- TRACK_LEFT : track_type.h
- TRACK_LOWER : track_type.h
- TRACK_RIGHT : track_type.h
- TRACK_UPPER : track_type.h
- TRACK_X : track_type.h
- TRACK_Y : track_type.h
- TrackBits : track_type.h
- TrackBitsToTrack() : track_func.h
- TrackBitsToTrackdirBits() : track_func.h
- TrackCrossesTracks() : track_func.h
- Trackdir : track_type.h
- TRACKDIR_BEGIN : track_type.h
- TRACKDIR_BIT_LEFT_N : track_type.h
- TRACKDIR_BIT_LEFT_S : track_type.h
- TRACKDIR_BIT_LOWER_E : track_type.h
- TRACKDIR_BIT_LOWER_W : track_type.h
- TRACKDIR_BIT_MASK : track_type.h
- TRACKDIR_BIT_NONE : track_type.h
- TRACKDIR_BIT_RIGHT_N : track_type.h
- TRACKDIR_BIT_RIGHT_S : track_type.h
- TRACKDIR_BIT_UPPER_E : track_type.h
- TRACKDIR_BIT_UPPER_W : track_type.h
- TRACKDIR_BIT_X_NE : track_type.h
- TRACKDIR_BIT_X_SW : track_type.h
- TRACKDIR_BIT_Y_NW : track_type.h
- TRACKDIR_BIT_Y_SE : track_type.h
- TRACKDIR_END : track_type.h
- TRACKDIR_LEFT_N : track_type.h
- TRACKDIR_LEFT_S : track_type.h
- TRACKDIR_LOWER_E : track_type.h
- TRACKDIR_LOWER_W : track_type.h
- trackdir_names : dbg_helpers.cpp
- TRACKDIR_RIGHT_N : track_type.h
- TRACKDIR_RIGHT_S : track_type.h
- TRACKDIR_RVREV_NE : track_type.h
- TRACKDIR_RVREV_NW : track_type.h
- TRACKDIR_RVREV_SE : track_type.h
- TRACKDIR_RVREV_SW : track_type.h
- TRACKDIR_UPPER_E : track_type.h
- TRACKDIR_UPPER_W : track_type.h
- TRACKDIR_X_NE : track_type.h
- TRACKDIR_X_SW : track_type.h
- TRACKDIR_Y_NW : track_type.h
- TRACKDIR_Y_SE : track_type.h
- TrackdirBits : track_type.h
- TrackdirBitsToTrackBits() : track_func.h
- TrackdirCrossesTrackdirs() : track_func.h
- TrackDirectionToTrackdir() : track_func.h
- TrackdirReachesTrackdirs() : track_func.h
- TrackdirToExitdir() : track_func.h
- TrackdirToTrack() : track_func.h
- TrackdirToTrackdirBits() : track_func.h
- TrackEnterdirToTrackdir() : track_func.h
- TrackExitdirToTrackdir() : track_func.h
- TrackOverlapsTracks() : track_func.h
- TracksOverlap() : track_func.h
- TrackStatusToRedSignals() : track_func.h
- TrackStatusToTrackBits() : track_func.h
- TrackStatusToTrackdirBits() : track_func.h
- TrackToOppositeTrack() : track_func.h
- TrackToTrackBits() : track_func.h
- TrackToTrackdir() : track_func.h
- TrackToTrackdirBits() : track_func.h
- TRAIN_DETAILS_MAX_INDENT : train_gui.cpp
- TRAIN_DETAILS_MIN_INDENT : train_gui.cpp
- TrainApproachingCrossing() : train_cmd.cpp
- TrainApproachingCrossingEnum() : train_cmd.cpp
- TrainApproachingCrossingTile() : train_cmd.cpp
- TrainApproachingLineEnd() : train_cmd.cpp
- TrainCanLeaveTile() : train_cmd.cpp
- TrainCheckIfLineEnds() : train_cmd.cpp
- TrainController() : vehicle_sl.cpp , train_cmd.cpp
- TrainCrashed() : train_cmd.cpp
- TrainDetailsCapacityTab() : train_gui.cpp
- TrainDetailsCargoTab() : train_gui.cpp
- TrainDetailsInfoTab() : train_gui.cpp
- TrainDetailsWindowTabs : vehicle_gui.h
- TrainEngineCapacitySorter() : build_vehicle_gui.cpp
- TrainEnginesThenWagonsSorter() : build_vehicle_gui.cpp
- TrainEnterStation() : train_cmd.cpp
- TrainExitDir() : train_cmd.cpp
- TrainForceProceeding : train.h
- TrainList : rail_cmd.cpp , train_cmd.cpp
- TrainOnTileEnum() : train_cmd.cpp , signal.cpp
- TrainSlopeSteepnessChanged() : settings.cpp
- TransferCargo() : autoreplace_cmd.cpp
- TranslateGRFStrings() : newgrf.cpp
- TranslateRefitMask() : newgrf.cpp
- TranslateTTDPatchCodes() : newgrf_text.cpp , newgrf_text.h
- TranslateXYToTileCoord() : viewport.cpp , viewport_func.h
- TransparencyOption : transparency.h
- TransparencyOptionBits : transparency.h
- TransparencyToolbarWidgets : transparency_widget.h
- TRANSPARENT_BIT : sprites.h
- TRANSPORT_AIR : transport_type.h
- TRANSPORT_BEGIN : transport_type.h
- TRANSPORT_END : transport_type.h
- TRANSPORT_RAIL : transport_type.h
- TRANSPORT_ROAD : transport_type.h
- TRANSPORT_WATER : transport_type.h
- TransportType : transport_type.h
- TREE_CACTUS : tree_map.h
- TREE_COUNT_RAINFOREST : tree_map.h
- TREE_COUNT_SUB_ARCTIC : tree_map.h
- TREE_COUNT_SUB_TROPICAL : tree_map.h
- TREE_COUNT_TEMPERATE : tree_map.h
- TREE_COUNT_TOYLAND : tree_map.h
- TREE_GROUND_GRASS : tree_map.h
- TREE_GROUND_ROUGH : tree_map.h
- TREE_GROUND_ROUGH_SNOW : tree_map.h
- TREE_GROUND_SHORE : tree_map.h
- TREE_GROUND_SNOW_DESERT : tree_map.h
- TREE_INVALID : tree_map.h
- TREE_RAINFOREST : tree_map.h
- tree_sprites : tree_gui.cpp
- TREE_SUB_ARCTIC : tree_map.h
- TREE_SUB_TROPICAL : tree_map.h
- TREE_TEMPERATE : tree_map.h
- TREE_TOYLAND : tree_map.h
- TreeGround : tree_map.h
- TreePlacer : tree_cmd.cpp
- TreeType : tree_map.h
- TriggerIndustry() : newgrf_industrytiles.cpp , newgrf_industrytiles.h
- TriggerIndustryProduction() : economy.cpp
- TriggerIndustryTile() : newgrf_industrytiles.cpp , newgrf_industrytiles.h
- TriggerObjectAnimation() : newgrf_object.cpp , newgrf_object.h
- TriggerObjectTileAnimation() : newgrf_object.cpp , newgrf_object.h
- TriggerStationRandomisation() : newgrf_station.cpp , newgrf_station.h
- TriggerWatchedCargoCallbacks() : station_cmd.cpp
- TropicZone : tile_type.h
- TROPICZONE_DESERT : tile_type.h
- TROPICZONE_NORMAL : tile_type.h
- TROPICZONE_RAINFOREST : tile_type.h
- TruncateCargo() : station_cmd.cpp
- TryBuildLightHouse() : object_cmd.cpp
- TryBuildTransmitter() : object_cmd.cpp
- TryClearTile() : town_cmd.cpp
- TryGetBaseSetFile() : base_media_func.h , base_media_base.h
- TryPathReserve() : train_cmd.cpp , train.h
- TryReserveRailTrack() : pbs.h , pbs.cpp
- TryReserveSafeTrack() : train_cmd.cpp
- TryReserveTrack() : rail_map.h
- TSZ_END : town_type.h
- TSZ_LARGE : town_type.h
- TSZ_MEDIUM : town_type.h
- TSZ_RANDOM : town_type.h
- TSZ_SMALL : town_type.h
- TTD_BIG_ENDIAN : endian_type.hpp
- TTD_LITTLE_ENDIAN : endian_type.hpp
- ttd_opendir() : fileio_func.h
- ttd_strnlen() : string_func.h
- TTDPAirportType : newgrf_airport.h
- TTDPatch_To_OTTDIndex : currency.cpp
- TTDPStringIDToOTTDStringIDMapping() : newgrf.cpp
- TUNNEL_SOUND_FRAME : tunnelbridge_cmd.cpp
- TUNNELBRIDGE_REMOVE : town.h
- TUNNELBRIDGE_TRACKBIT_FACTOR : economy_type.h
- TunnelBridgeIsFree() : vehicle.cpp , vehicle_func.h