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

### - g -

- GAMELOG_BUF_LEN : gamelog.cpp
- GamelogActionType : gamelog.h
- GamelogChange() : gamelog.cpp
- GamelogChangeType : gamelog_internal.h
- GamelogEmergency() : gamelog.cpp , gamelog.h
- GamelogGetOriginalGRFMD5Checksum() : gamelog.h , gamelog.cpp
- GamelogGRFAdd() : gamelog.cpp , gamelog.h
- GamelogGRFAddList() : gamelog.cpp , gamelog.h
- GamelogGRFBug() : gamelog.cpp
- GamelogGRFBugReverse() : gamelog.cpp , gamelog.h
- GamelogGRFCompatible() : gamelog.cpp , gamelog.h
- GamelogGRFMove() : gamelog.cpp
- GamelogGRFParameters() : gamelog.cpp
- GamelogGRFRemove() : gamelog.cpp , gamelog.h
- GamelogGRFUpdate() : gamelog.cpp , gamelog.h
- GamelogMode() : gamelog.cpp , gamelog.h
- GamelogOldver() : gamelog.cpp , gamelog.h
- GamelogPrint() : gamelog.cpp , gamelog.h
- GamelogPrintDebug() : gamelog.cpp , gamelog.h
- GamelogReset() : gamelog.cpp , gamelog.h
- GamelogRevision() : gamelog.cpp , gamelog.h
- GamelogSetting() : gamelog.cpp , gamelog.h
- GamelogStartAction() : gamelog.cpp , gamelog.h
- GamelogStopAction() : gamelog.cpp , gamelog.h
- GamelogTestEmergency() : gamelog.cpp , gamelog.h
- GamelogTestMode() : gamelog.cpp , gamelog.h
- GamelogTestRevision() : gamelog.cpp , gamelog.h
- GameSettingsWidgets : settings_gui.cpp
- GameSizeChanged() : gfx_func.h , main_gui.cpp
- GB() : bitmath_func.hpp
- GBUG_VEH_LENGTH : newgrf_config.h
- GBUG_VEH_REFIT : newgrf_config.h
- GCF_COMPATIBLE : newgrf_config.h
- GCF_COPY : newgrf_config.h
- GCF_Flags : newgrf_config.h
- GCF_INIT_ONLY : newgrf_config.h
- GCF_RESERVED : newgrf_config.h
- GCF_STATIC : newgrf_config.h
- GCF_SYSTEM : newgrf_config.h
- GCF_UNSAFE : newgrf_config.h
- GCS_ACTIVATED : newgrf_config.h
- GCS_DISABLED : newgrf_config.h
- GCS_INITIALISED : newgrf_config.h
- GCS_NOT_FOUND : newgrf_config.h
- GCS_UNKNOWN : newgrf_config.h
- GE_BF : company_manager_face.h
- GE_BM : company_manager_face.h
- GE_WF : company_manager_face.h
- GE_WM : company_manager_face.h
- GENDER_FEMALE : company_manager_face.h
- GenderEthnicity : company_manager_face.h
- GENERATE_NEW_SEED : genworld.h
- GenerateDefaultSaveName() : saveload.cpp , saveload.h
- GenerateDesertArea() : terraform_gui.cpp
- GenerateGRFList() : gamelog.cpp
- GenerateIndustries() : genworld.cpp , industry_cmd.cpp
- GenerateRockyArea() : terraform_gui.cpp
- GenerateTerrainPerlin() : tgp.cpp , tgp.h
- GenerateTownName() : town.h , town_cmd.cpp
- GenerateTrees() : genworld.cpp , tree_cmd.cpp
- GenerateVehicleSortList() : vehiclelist.cpp
- GenerateWorld() : genworld.cpp , genworld.h
- GenerateWorldMode : genworld.h
- GenerateWorldSetAbortCallback() : genworld.cpp , genworld.h
- GenerateWorldSetCallback() : genworld.cpp , genworld.h
- GenericPlaceSignals() : rail_gui.cpp
- GenRandomRoadBits() : town_cmd.cpp
- GENWORLD_REDRAW_TIMEOUT : genworld.h
- GetAcceptanceAroundTiles() : station_cmd.cpp , station_func.h
- GetAcceptanceMask() : station_cmd.cpp
- GetAcceptedCargoProc : tile_cmd.h
- GetAiPurchaseCallbackResult() : newgrf_generic.cpp
- GetAircraftFlyingAltitude() : aircraft.h , aircraft_cmd.cpp
- GetAircraftSpriteSize() : aircraft.h , aircraft_cmd.cpp
- GetAirportNoiseLevelForTown() : station_cmd.cpp
- GetAllRoadBits() : road_map.h
- GetAnyRoadBits() : road_map.cpp , road_map.h
- GetArgumentInteger() : console.cpp , console_internal.h
- GetArgvPtr() : strings.cpp
- GetAutoPlacePosition() : window.cpp
- GetAutorailHT() : viewport.cpp
- GetAvailableMoneyForCommand() : command.cpp , command_func.h
- GetAvailableVehicleCargoTypes() : articulated_vehicles.cpp
- GetBestRailtype() : rail.cpp , rail.h
- GetBridgeAxis() : bridge_map.h
- GetBridgeEnd() : bridge_map.cpp , bridge_map.h
- GetBridgeHeight() : bridge_map.cpp , bridge_map.h
- GetBridgeType() : bridge_map.h
- GetCanalSprite() : newgrf_canal.h , newgrf_canal.cpp
- GetCargoIDByBitnum() : cargotype.cpp , cargotype.h
- GetCargoSubtypeText() : vehicle_gui.cpp , vehicle_gui.h
- GetCargoSuffix() : industry_gui.cpp
- GetCharacterHeight() : gfx_func.h
- GetCharacterWidth() : gfx.cpp
- GetClearCounter() : clear_map.h
- GetClearDensity() : clear_map.h
- GetClearGround() : clear_map.h
- GetClosestDeletedStation() : station_cmd.cpp
- GetClosestWaterDistance() : newgrf_industries.cpp
- GetCommandFlags() : command.cpp , command_func.h
- GetCompanyHQSection() : unmovable_map.h
- GetCompanyHQSize() : unmovable_map.h
- GetCompanyManagerFaceBits() : company_manager_face.h
- GetCompanyManagerFaceSprite() : company_manager_face.h
- GetCompanyRailtypes() : rail.cpp , rail.h
- GetCompanyRoadtypes() : road.cpp , road_func.h
- GetCountAndDistanceOfClosestInstance() : newgrf_industries.cpp
- GetCrossingReservation() : road_map.h
- GetCurrentLocale() : strings.cpp , win32.cpp
- GetCustomStationSpec() : newgrf_station.cpp , newgrf_station.h
- GetCustomStationSpecByGrf() : newgrf_station.cpp , newgrf_station.h
- GetDebugString() : debug.cpp , debug.h
- GetDepotByTile() : depot.cpp , depot_base.h
- GetDepotDirection() : npf.cpp
- GetDepotWaypointReservation() : rail_map.h
- GetDisallowedRoadDirections() : road_map.h
- GetDistanceFromNearbyHouse() : newgrf_house.cpp
- GetDriveableTrackdirBits() : npf.cpp
- GetEngineGRF() : newgrf_engine.cpp , newgrf_engine.h
- GetEngineGRFID() : newgrf_engine.cpp , newgrf_engine.h
- GetEnginePalette() : vehicle.cpp , vehicle_func.h
- GetEngineReplacement() : autoreplace.cpp
- GetFenceSE() : clear_map.h
- GetFenceSW() : clear_map.h
- GetFieldType() : clear_map.h
- GetFileTitle() : fios.cpp
- GetFloodingBehaviour() : water_cmd.cpp
- GetFontBase() : fontcache.cpp
- GetFoundation_Town() : town_cmd.cpp
- GetFoundationSlope() : landscape.cpp , landscape.h
- GetGenericCallbackResult() : newgrf_generic.cpp
- GetGloballyFocusedWidget() : window.cpp , window_gui.h
- GetGlobalVariable() : newgrf.cpp , newgrf.h
- GetGlyph() : fontcache.h
- GetGlyphWidth() : fontcache.h
- GetGraphicsSetName() : gfxinit.cpp , gfxinit.h
- GetGraphicsSetsList() : gfxinit.cpp , gfxinit.h
- GetGRFStringID() : newgrf_text.cpp , newgrf_text.h
- GetGroupArraySize() : group.h
- GetGroupNumEngines() : group.h , group_cmd.cpp
- GetHalftileFoundationCorner() : slope_func.h
- GetHalftileSlopeCorner() : slope_func.h
- GetHeightmapDimensions() : heightmap.cpp , heightmap.h
- GetHighestSlopeCorner() : slope_func.h
- GetHouseAge() : town_map.h
- GetHouseAnimationFrame() : town_map.h
- GetHouseBuildingStage() : town_map.h
- GetHouseConstructionTick() : town_map.h
- GetHouseNorthPart() : town.h , town_cmd.cpp
- GetHouseProcessingTime() : town_map.h
- GetHouseRandomBits() : town_map.h
- GetHouseTriggers() : town_map.h
- GetHouseType() : town_map.h
- GetInclinedSlopeDirection() : slope_func.h
- GetIndexOfCurrentGraphicsSet() : gfxinit.cpp , gfxinit.h
- GetIndustryAnimationLoop() : industry_map.h
- GetIndustryAnimationState() : industry_map.h
- GetIndustryByTile() : industry_map.h
- GetIndustryConstructionCounter() : industry_map.h
- GetIndustryConstructionStage() : industry_map.h
- GetIndustryGfx() : industry_map.h
- GetIndustryIDAtOffset() : newgrf_industries.cpp , newgrf_industries.h
- GetIndustryIndex() : industry_map.h
- GetIndustryIndexOfField() : clear_map.h
- GetIndustryRandomBits() : industry_map.h
- GetIndustrySpec() : industry.h , industry_cmd.cpp
- GetIndustryTileSpec() : industry.h , industry_cmd.cpp
- GetIndustryTriggers() : industry_map.h
- GetIndustryType() : industry_cmd.cpp , industry_map.h
- GetIndustryTypeCount() : industry.h
- GetInt32() : strings.cpp
- GetInt64() : strings.cpp
- GetIntersectionOfArticulatedRefitMasks() : articulated_vehicles.cpp , articulated_vehicles.h
- GetKeyboardLayout() : osk_gui.cpp
- GetLanguageFileHeader() : strings.cpp
- GetLanguageList() : strings.cpp
- GetLastEnginePart() : train.h
- GetLastVehicleOrder() : vehicle_base.h
- GetLiftDestination() : town_map.h
- GetLiftPosition() : town_map.h
- GetMacOSVersionBugfix() : macos.h
- GetMacOSVersionMajor() : macos.h
- GetMacOSVersionMinor() : macos.h
- GetMaskOfAllowedCurrencies() : currency.cpp , currency.h
- GetMaskOfTownActions() : town.h , town_cmd.cpp
- GetMinimalAirportDistanceToTile() : station_cmd.cpp
- GetMultilineStringHeight() : gfx.cpp
- GetNearbyIndustryTileInformation() : newgrf_industries.h , newgrf_industrytiles.cpp
- GetNearbyTileInformation() : newgrf_commons.cpp , newgrf_commons.h
- GetNewCargoTypeForReplace() : autoreplace_cmd.cpp
- GetNewEngine() : newgrf.cpp
- GetNewEngineType() : autoreplace_cmd.cpp
- GetNewgrfCurrencyIdConverted() : currency.cpp , currency.h
- GetNewVehiclePos() : vehicle.cpp , vehicle_func.h
- GetNextArticPart() : train.h
- GetNextUnit() : train.h
- GetNextVehicle() : train.h
- GetNorthernBridgeEnd() : bridge_map.h , bridge_map.cpp
- GetNumCustomStations() : newgrf_station.cpp , newgrf_station.h
- GetNumGraphicsSets() : gfxinit.cpp , gfxinit.h
- GetNumStationClasses() : newgrf_station.cpp , newgrf_station.h
- GetOrderTypeByTile() : ai_order.cpp
- GetOtherBridgeEnd() : bridge_map.cpp , bridge_map.h
- GetOtherRoadBits() : road_map.h
- GetOtherTunnelBridgeEnd() : tunnelbridge_map.h
- GetOtherTunnelEnd() : tunnel_map.cpp , tunnel_map.h
- GetPartialZ() : landscape.cpp , landscape.h
- GetPCPElevation() : elrail.cpp
- GetPresentSignals() : rail_map.h
- GetPrevUnit() : train.h
- GetPrevVehicle() : train.h
- GetProducedCargoProc : tile_cmd.h
- GetProductionAroundTiles() : station_cmd.cpp , station_func.h
- GetPylonBase() : elrail.cpp
- GetRailCrossingReservation() : road_map.h
- GetRailDepotDirection() : rail_map.h
- GetRailDepotReservation() : rail_map.h
- GetRailDepotTrack() : rail_map.h
- GetRailFoundation() : rail.h , rail_cmd.cpp
- GetRailFoundationCorner() : slope_func.h
- GetRailStationReservation() : station_map.h
- GetRailTileType() : rail_map.h
- GetRailTrackBitsUniversal() : elrail.cpp
- GetRailTunnelBridgeReservation() : tunnelbridge_map.h
- GetRailType() : rail_map.h
- GetRailTypeByLabel() : rail.cpp , rail.h
- GetRailTypeInfo() : rail.h
- GetRailWaypointBits() : rail_map.h
- GetRailWaypointReservation() : rail_map.h
- GetRailWaypointTrack() : rail_map.h
- GetRailwayStationReservation() : station_map.h
- GetRandomIndustry() : industry.h
- GetRandomTown() : town.h
- GetRandomTreeType() : tree_cmd.cpp
- GetRefitCost() : vehicle_func.h , vehicle.cpp
- GetRegister() : newgrf_spritegroup.h
- GetRelativePosition() : newgrf_industrytiles.cpp
- GetReservedTrackbits() : pbs.cpp , pbs.h
- GetRoadFoundation() : road_cmd.cpp
- GetRoadStopDir() : station_map.h
- GetSavegameFormat() : saveload.cpp
- GetSaveLoadErrorString() : saveload.h , saveload.cpp
- GetSaveSlopeZ() : rail_cmd.cpp
- GetServiceIntervalClamped() : order_cmd.cpp , order_func.h
- GetSettingFromName() : settings.cpp , settings_internal.h
- GetShipSpriteSize() : ship.h , ship_cmd.cpp
- GetSignalStateByTrackdir() : rail_map.h
- GetSignalStates() : rail_map.h
- GetSingleSignalState() : rail_map.h
- GetSingleTramBit() : npf.cpp
- GetSlopeMaxZ() : slope_func.h
- GetSlopeZInCorner() : landscape.cpp , landscape.h
- GetSlopeZOnEdge() : landscape.cpp , landscape.h
- GetSmallMapContoursPixels() : smallmap_gui.cpp
- GetSmallMapIndustriesPixels() : smallmap_gui.cpp
- GetSmallMapOwnerPixels() : smallmap_gui.cpp
- GetSmallMapRoutesPixels() : smallmap_gui.cpp
- GetSmallMapVehiclesPixels() : smallmap_gui.cpp
- GetSnowLine() : landscape.h , landscape.cpp
- GetSouthernBridgeEnd() : bridge_map.cpp , bridge_map.h
- GetStationClassName() : newgrf_station.h , newgrf_station.cpp
- GetStationIndex() : station_map.h
- GetStatueTownID() : unmovable_map.h
- GetStringBoundingBox() : gfx_func.h , gfx.cpp
- GetStringHeight() : gfx.cpp , gfx_func.h
- GetStringWithArgs() : strings.cpp
- GetTargetAirportIfValid() : aircraft.h , aircraft_cmd.cpp
- GetTerrainType() : newgrf_commons.cpp , newgrf_commons.h
- GetTileDescProc : tile_cmd.h
- GetTileMaxZ() : tile_map.cpp , tile_map.h
- GetTileOwner() : tile_map.h
- GetTileRailType() : rail.cpp , rail_map.h
- GetTileSingleEntry() : npf.cpp
- GetTileSlope() : tile_map.h , tile_map.cpp
- GetTileTrackStatus() : landscape.cpp , tile_cmd.h
- GetTileTrackStatusProc : tile_cmd.h
- GetTileType() : tile_map.h
- GetTileZ() : tile_map.cpp , tile_map.h
- GetTownByTile() : town_map.h
- GetTownIndex() : town_map.h
- GetTownRadiusGroup() : town.h , town_cmd.cpp
- GetTownRoadBits() : town_cmd.cpp
- GetTownRoadGridElement() : town_cmd.cpp
- GetTrackBits() : rail_map.h
- GetTrackReservation() : rail_map.h
- GetTrainAcceleration() : train_cmd.cpp
- GetTrainForReservation() : pbs.h , pbs.cpp
- GetTreeCount() : tree_map.h
- GetTreeCounter() : tree_map.h
- GetTreeDensity() : tree_map.h
- GetTreeGround() : tree_map.h
- GetTreeGrowth() : tree_map.h
- GetTreeType() : tree_map.h
- GetTropicZone() : tile_map.h
- GetTS() : win32.cpp
- GetTunnelBridgeDirection() : tunnelbridge_map.h
- GetTunnelBridgeLength() : tunnelbridge.h
- GetTunnelBridgeReservation() : tunnelbridge_map.h
- GetTunnelBridgeTransportType() : tunnelbridge_map.h
- GetUnicodeGlyph() : fontcache.h , fontcache.cpp
- GetUnionOfArticulatedRefitMasks() : articulated_vehicles.h , articulated_vehicles.cpp
- GetUnmovableSpec() : unmovable_cmd.cpp
- GetUnmovableType() : unmovable_map.h
- GetValidAirports() : airport.h , airport.cpp
- GetVariableAddress() : saveload.h
- GetVehicleCallback() : newgrf_engine.h , newgrf_engine.cpp
- GetVehicleCallbackParent() : newgrf_engine.h , newgrf_engine.cpp
- GetVehicleDefaultCapacity() : articulated_vehicles.cpp
- GetVehicleDescription() : vehicle_sl.cpp , vehicle_base.h
- GetVehiclePalette() : vehicle.cpp , vehicle_func.h
- GetVehicleSpriteGroup() : newgrf_engine.cpp
- GetVehicleTrackdir() : vehicle_base.h , vehicle.cpp
- GetVehicleTunnelBridgeProc() : vehicle.cpp
- GetWaypointAxis() : rail_map.h
- GetWaypointByTile() : waypoint.h
- GetWaypointIndex() : rail_map.h
- GetWidgetFromPos() : window_gui.h , widget.cpp
- GetWindowClassForVehicleType() : vehicle_gui.h
- GetWireBase() : elrail.cpp
- GetWorldPopulation() : town.h , town_cmd.cpp
- GFT_ARCTIC : gfxinit.cpp
- GFT_BASE : gfxinit.cpp
- GFT_EXTRA : gfxinit.cpp
- GFT_LOGOS : gfxinit.cpp
- GFT_TOYLAND : gfxinit.cpp
- GFT_TROPICAL : gfxinit.cpp
- GFX_WATERTILE_SPECIALCHECK : industry_map.h
- GfxFillRect() : gfx_func.h , gfx.cpp
- GLAT_CHEAT : gamelog.h
- GLAT_EMERGENCY : gamelog.h
- GLAT_END : gamelog.h
- GLAT_GRF : gamelog.h
- GLAT_GRFBUG : gamelog.h
- GLAT_LOAD : gamelog.h
- GLAT_NONE : gamelog.h
- GLAT_SETTING : gamelog.h
- GLAT_START : gamelog.h
- GLC_ALL_GOOD : newgrf_config.h
- GLC_COMPATIBLE : newgrf_config.h
- GLC_NOT_FOUND : newgrf_config.h
- GLCT_EMERGENCY : gamelog_internal.h
- GLCT_END : gamelog_internal.h
- GLCT_GRFADD : gamelog_internal.h
- GLCT_GRFBUG : gamelog_internal.h
- GLCT_GRFCOMPAT : gamelog_internal.h
- GLCT_GRFMOVE : gamelog_internal.h
- GLCT_GRFPARAM : gamelog_internal.h
- GLCT_GRFREM : gamelog_internal.h
- GLCT_MODE : gamelog_internal.h
- GLCT_NONE : gamelog_internal.h
- GLCT_OLDVER : gamelog_internal.h
- GLCT_REVISION : gamelog_internal.h
- GLCT_SETTING : gamelog_internal.h
- glwp_modes : genworld_gui.cpp
- GM_DIR : fileio_type.h
- GraphicsFileType : gfxinit.cpp
- GraphicsNew() : newgrf.cpp
- GrayscaleToMapHeights() : heightmap.cpp
- GRFBaseLanguages : newgrf_text.cpp
- GRFBugs : newgrf_config.h
- GRFListCompatibility : newgrf_config.h
- grfmsg() : newgrf.cpp
- GRFSorter() : newgrf_config.cpp
- GRFStatus : newgrf_config.h
- GroundSpritePaletteTransform() : newgrf_commons.h
- GroupID : ai_types.hpp
- GrowTown() : town_cmd.cpp
- GrowTownAtRoad() : town_cmd.cpp
- GrowTownInTile() : town_cmd.cpp
- GrowTownWithBridge() : town_cmd.cpp
- GrowTownWithExtraHouse() : town_cmd.cpp
- GrowTownWithRoad() : town_cmd.cpp
- GSortT() : sort_func.hpp
- GUIPlaceProcDragXY() : terraform_gui.cpp , tilehighlight_func.h
- GuiShowTooltips() : misc_gui.cpp , window_gui.h
- GW_EMPTY : genworld.h
- GW_HEIGHTMAP : genworld.h
- GW_NEWGAME : genworld.h
- GW_RANDOM : genworld.h
- gwp_class : genworld.h
- GWP_GAME_INIT : genworld.h
- GWP_GAME_START : genworld.h
- GWP_INDUSTRY : genworld.h
- GWP_LANDSCAPE : genworld.h
- GWP_MAP_INIT : genworld.h
- GWP_ROUGH_ROCKY : genworld.h
- GWP_RUNTILELOOP : genworld.h
- GWP_TOWN : genworld.h
- GWP_TREE : genworld.h
- GWP_UNMOVABLE : genworld.h