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

### - g -

- GB() : bitmath_func.hpp
- GBUG_VEH_LENGTH : 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
- GDType : settings_type.h
- GE_BF : player_face.h
- GE_BM : player_face.h
- GE_WF : player_face.h
- GE_WM : player_face.h
- GENDER_FEMALE : player_face.h
- GenderEthnicity : player_face.h
- GENERATE_NEW_SEED : genworld.h
- GenerateDesertArea() : terraform_gui.cpp
- GenerateIndustries() : genworld.cpp , industry_cmd.cpp , main_gui.cpp
- GenerateLists() : autoreplace_gui.cpp
- GenerateReplaceRailList() : autoreplace_gui.cpp
- GenerateReplaceVehList() : autoreplace_gui.cpp
- GenerateRockyArea() : terraform_gui.cpp
- GenerateTerrainPerlin() : tgp.cpp , tgp.h
- GenerateTrees() : genworld.cpp , tree_cmd.cpp
- GenerateVehicleSortList() : vehicle.cpp
- GenerateWorld() : genworld.cpp , genworld.h
- GenerateWorldSetAbortCallback() : genworld.cpp , genworld.h
- GenerateWorldSetCallback() : genworld.cpp , genworld.h
- GenericPlaceSignals() : rail_gui.cpp
- GenRandomRoadBits() : town_cmd.cpp
- GetAcceptanceAroundTiles() : station.h , station_cmd.cpp
- GetAcceptanceMask() : station_cmd.cpp
- GetAircraftFlyingAltitude() : aircraft_cmd.cpp
- GetAircraftSpriteSize() : aircraft.h , aircraft_cmd.cpp
- GetAnyRoadBits() : road_map.cpp , road_map.h
- GetAnyRoadTrackBits() : road_map.cpp , road_map.h
- GetArgumentInteger() : console.cpp , console.h
- GetArgvPtr() : strings.cpp
- GetAutorailHT() : viewport.cpp
- GetAvailableMoneyForCommand() : command.cpp , command_func.h
- 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
- GetCargoIDByBitnum() : cargotype.cpp , cargotype.h
- GetClearCounter() : clear_map.h
- GetClearDensity() : clear_map.h
- GetClearGround() : clear_map.h
- GetClosestWaterDistance() : newgrf_industries.cpp
- GetCommandFlags() : command.cpp , command_func.h
- GetCompanyHQSection() : unmovable_map.h
- GetCompanyHQSize() : unmovable_map.h
- GetCountAndDistanceOfClosestInstance() : newgrf_industries.cpp
- GetCurrentLocale() : functions.h , strings.cpp , win32.cpp
- GetCustomStationSpec() : newgrf_station.cpp , newgrf_station.h
- GetDebugString() : debug.cpp , debug.h
- GetDepotByTile() : depot.cpp , depot.h
- GetDepotDirection() : npf.cpp
- GetDisallowedRoadDirections() : road_map.h
- GetDriveableTrackdirBits() : npf.cpp
- GetEngineCargoType() : engine.cpp , engine.h
- GetEngineGRF() : newgrf_engine.cpp , newgrf_engine.h
- GetEngineGRFID() : newgrf_engine.cpp , newgrf_engine.h
- GetEnginePalette() : vehicle.cpp
- GetEngineReplacement() : engine.cpp
- GetFenceSE() : clear_map.h
- GetFenceSW() : clear_map.h
- GetFieldType() : clear_map.h
- GetFirstVehicleFromSharedList() : vehicle_base.h
- GetFloodingBehaviour() : water_cmd.cpp
- GetFontBase() : fontcache.cpp
- GetFoundationSlope() : landscape.h
- GetGlobalVariable() : newgrf.cpp , newgrf.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
- GetHouseAnimationFrame() : town_map.h
- GetHouseBuildingStage() : town_map.h
- GetHouseConstructionTick() : town_map.h
- GetHouseConstructionYear() : town_map.h
- GetHouseNorthPart() : newgrf_house.cpp , town_cmd.cpp
- GetHouseProcessingTime() : town_map.h
- GetHouseRandomBits() : town_map.h
- GetHouseTriggers() : town_map.h
- GetHouseType() : town_map.h
- GetInclinedSlopeDirection() : slope_func.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
- GetLanguageFileHeader() : strings.cpp
- GetLanguageList() : strings.cpp
- GetLastEnginePart() : train.h
- GetLastVehicleOrder() : vehicle_base.h
- GetLiftDestination() : town_map.h
- GetLiftPosition() : town_map.h
- GetMaskOfAllowedCurrencies() : currency.cpp , currency.h
- GetMaskOfTownActions() : town_cmd.cpp , town_gui.cpp
- GetNearbyIndustryTileInformation() : newgrf_industries.h , newgrf_industrytiles.cpp
- GetNearbyTileInformation() : newgrf_commons.cpp , newgrf_commons.h
- GetNewgrfCurrencyIdConverted() : currency.cpp , currency.h
- GetNewsDisplayValue() : news_gui.cpp
- GetNextArticPart() : train.h
- GetNextUnit() : train.h
- GetNextVehicle() : train.h
- GetNorthernBridgeEnd() : bridge_map.cpp , bridge_map.h
- GetNthSetBit() : town_gui.cpp
- GetNumCustomStations() : newgrf_station.h , newgrf_station.cpp
- GetNumStationClasses() : newgrf_station.cpp , newgrf_station.h
- GetOrderFromOrderWndPt() : order_gui.cpp
- GetOtherBridgeEnd() : bridge_map.cpp , bridge_map.h
- GetOtherTunnelBridgeEnd() : tunnelbridge_map.h
- GetOtherTunnelEnd() : tunnel_map.h , tunnel_map.cpp
- GetPCPElevation() : elrail.cpp
- GetPlayerFaceBits() : player_face.h
- GetPlayerFaceSprite() : player_face.h
- GetPlayerRailtypes() : rail.cpp , rail.h
- GetPlayerRoadtypes() : road_func.h
- GetPresentSignals() : rail_map.h
- GetProductionAroundTiles() : station.h , station_cmd.cpp
- GetRailDepotDirection() : rail_map.h
- GetRailFoundation() : rail.h , rail_cmd.cpp
- GetRailFoundationCorner() : slope_func.h
- GetRailTileType() : rail_map.h
- GetRailTrackBitsUniversal() : elrail.cpp
- GetRailType() : rail_map.h
- GetRailTypeInfo() : rail.h
- GetRailVehAtPosition() : newgrf_engine.cpp , newgrf_engine.h
- GetRailWaypointBits() : rail_map.h
- GetRailWaypointTrack() : rail_map.h
- GetRandomIndustry() : industry.h
- GetRandomTown() : town.h
- GetRandomTreeType() : tree_cmd.cpp
- GetRefitCost() : vehicle.cpp
- GetRegister() : newgrf_spritegroup.h
- GetRelativePosition() : newgrf_industrytiles.cpp
- GetRoadStopDir() : station_map.h
- GetSavegameFormat() : saveload.cpp
- GetSaveLoadErrorString() : saveload.cpp , saveload.h
- GetSaveSlopeZ() : rail_cmd.cpp
- GetServiceIntervalClamped() : order.h , order_cmd.cpp
- 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.h
- GetSlopeZOnEdge() : 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
- GetSouthernBridgeEnd() : bridge_map.cpp , bridge_map.h
- GetStationClassName() : newgrf_station.cpp , newgrf_station.h
- GetStatueTownID() : unmovable_map.h
- GetStringBoundingBox() : gfx.cpp , gfx_func.h
- GetStringListMaxWidth() : main_gui.cpp
- GetStringWithArgs() : strings.cpp
- GetTargetAirportIfValid() : aircraft_cmd.cpp , aircraft.h
- GetTerrainType() : newgrf_commons.h , newgrf_commons.cpp
- GetTileOwner() : tile_map.h
- GetTileRailType() : rail.cpp , rail_map.h
- GetTileSingleEntry() : npf.cpp
- GetTileTrackStatus() : tile_cmd.h
- GetTileTrackStatusProc : tile_cmd.h
- GetTileType() : tile_map.h
- GetTownByTile() : town_map.h
- GetTownIndex() : town_map.h
- GetTownRadiusGroup() : town_cmd.cpp , town.h
- GetTownRoadBits() : town_cmd.cpp
- GetTownRoadGridElement() : town_cmd.cpp
- GetTrackBits() : rail_map.h
- GetTrainAcceleration() : train_cmd.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
- GetTunnelBridgeTransportType() : tunnelbridge_map.h
- GetUnicodeGlyph() : fontcache.cpp
- GetUnmovableType() : unmovable_map.h
- GetValidAirports() : airport.h , airport.cpp
- GetVariableAddress() : saveload.h
- GetVehicleCallback() : newgrf_engine.cpp , newgrf_engine.h
- GetVehicleCallbackParent() : newgrf_engine.cpp , newgrf_engine.h
- GetVehicleDescription() : vehicle.cpp , vehicle_base.h
- GetVehiclePalette() : vehicle.cpp
- GetVehicleSpriteGroup() : newgrf_engine.cpp
- GetVehicleTrackdir() : vehicle.cpp , vehicle_base.h
- GetVehicleTunnelBridgeProc() : vehicle.cpp
- GetWaypointAxis() : rail_map.h
- GetWaypointByTile() : waypoint.h
- GetWaypointIndex() : rail_map.h
- GetWidgetFromPos() : window_gui.h , widget.cpp
- GetWorldPopulation() : town_cmd.cpp , town.h
- GFX_WATERTILE_SPECIALCHECK : industry_map.h
- glwp_modes : genworld_gui.cpp
- GM_DIR : fileio.h
- GRAPH_NUM_LINES_Y : graph_gui.cpp
- GRAPH_X_POSITION_BEGINNING : graph_gui.cpp
- GRAPH_X_POSITION_SEPARATION : graph_gui.cpp
- GraphicsNew() : newgrf.cpp
- GrayscaleToMapHeights() : heightmap.cpp
- grf_base_languages : newgrf_text.cpp
- GRFBugs : newgrf_config.h
- GRFListCompatibility : newgrf_config.h
- grfmsg() : newgrf.h , newgrf.cpp
- GRFSorter() : newgrf_config.cpp
- GRFStatus : newgrf_config.h
- GroupWndProc() : group_gui.cpp
- GrowTown() : town_cmd.cpp
- GrowTownAtRoad() : town_cmd.cpp
- GrowTownInTile() : town_cmd.cpp
- GrowTownWithBridge() : town_cmd.cpp
- GrowTownWithExtraHouse() : town_cmd.cpp
- GrowTownWithRoad() : town_cmd.cpp
- GUIPlaceProcDragXY() : terraform_gui.cpp , viewport_func.h
- GuiShowTooltipsWithArgs() : misc_gui.cpp , window_gui.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