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

### - r -

- RAIL_GROUND_BARREN : rail_map.h
- RAIL_GROUND_FENCE_HORIZ1 : rail_map.h
- RAIL_GROUND_FENCE_HORIZ2 : rail_map.h
- RAIL_GROUND_FENCE_NE : rail_map.h
- RAIL_GROUND_FENCE_NESW : rail_map.h
- RAIL_GROUND_FENCE_NW : rail_map.h
- RAIL_GROUND_FENCE_SE : rail_map.h
- RAIL_GROUND_FENCE_SENW : rail_map.h
- RAIL_GROUND_FENCE_SW : rail_map.h
- RAIL_GROUND_FENCE_VERT1 : rail_map.h
- RAIL_GROUND_FENCE_VERT2 : rail_map.h
- RAIL_GROUND_GRASS : rail_map.h
- RAIL_GROUND_HALF_SNOW : rail_map.h
- RAIL_GROUND_ICE_DESERT : rail_map.h
- RAIL_GROUND_WATER : rail_map.h
- RAIL_TILE_DEPOT : rail_map.h
- RAIL_TILE_NORMAL : rail_map.h
- RAIL_TILE_SIGNALS : rail_map.h
- RailBuildCost() : rail.h
- RailConvertCost() : rail.h
- RailFenceOffset : rail.h
- RailGroundType : rail_map.h
- RailTileType : rail_map.h
- RailToolbar_CtrlChanged() : rail_gui.cpp
- RailToolbarWidgets : rail_gui.cpp
- RailType : rail_type.h
- RAILTYPE_BEGIN : rail_type.h
- RAILTYPE_ELECTRIC : rail_type.h
- RAILTYPE_END : rail_type.h
- RAILTYPE_MAGLEV : rail_type.h
- RAILTYPE_MONO : rail_type.h
- RAILTYPE_RAIL : rail_type.h
- RailTypeFlag : rail.h
- RailTypes : rail_type.h
- RAILTYPES_ELECTRIC : rail_type.h
- RAILTYPES_MAGLEV : rail_type.h
- RAILTYPES_MONO : rail_type.h
- RAILTYPES_NONE : rail_type.h
- RAILTYPES_RAIL : rail_type.h
- RAILVEH_MULTIHEAD : engine_type.h
- RAILVEH_SINGLEHEAD : engine_type.h
- RAILVEH_WAGON : engine_type.h
- RailVehicleChangeInfo() : newgrf.cpp
- RailVehicleLengthChanged() : train_cmd.cpp
- RailVehicleTypes : engine_type.h
- RandomCompanyManagerFaceBits() : company_manager_face.h
- RandomDiagDir() : town_cmd.cpp
- RandomHeight() : tgp.cpp
- RandomTile : map_func.h
- RandomTileSeed() : map_func.h
- RateConversion() : mixer.cpp
- RATING_GROWTH_MAXIMUM : town_type.h
- RATING_GROWTH_UP_STEP : town_type.h
- RATING_INITIAL : town_type.h
- RATING_OUTSTANDING : town_type.h
- RATING_ROAD_DOWN_STEP_EDGE : town_type.h
- RATING_ROAD_DOWN_STEP_INNER : town_type.h
- RATING_ROAD_MINIMUM : town_type.h
- RATING_ROAD_NEEDED_HOSTILE : town_type.h
- RATING_ROAD_NEEDED_NEUTRAL : town_type.h
- RATING_ROAD_NEEDED_PERMISSIVE : town_type.h
- RATING_STATION_DOWN_STEP : town_type.h
- RATING_STATION_UP_STEP : town_type.h
- RATING_TUNNEL_BRIDGE_DOWN_STEP : town_type.h
- RATING_TUNNEL_BRIDGE_MINIMUM : town_type.h
- RATING_TUNNEL_BRIDGE_NEEDED_HOSTILE : town_type.h
- RATING_TUNNEL_BRIDGE_NEEDED_NEUTRAL : town_type.h
- RATING_TUNNEL_BRIDGE_NEEDED_PERMISSIVE : town_type.h
- RDE_NEXT_TILE : roadveh.h
- RDE_TURNED : roadveh.h
- ReadByte() : oldloader.cpp , oldloader.h
- ReadByteFromFile() : oldloader.cpp
- ReadHeightMap() : heightmap.cpp
- ReadHeightmapBMP() : heightmap.cpp
- ReadHeightmapBMPImageData() : heightmap.cpp
- ReadSpriteHeaderSkipData() : spritecache.cpp
- ReadValue() : saveload.cpp , saveload.h
- ReadyForNextItem() : news_gui.cpp
- ReallocError() : alloc_func.cpp , alloc_func.hpp
- ReallocT() : alloc_func.hpp
- ReallyDoDrawString() : gfx.cpp
- RECOLOUR_BIT : sprites.h
- RecomputePrices() : economy.cpp , economy_func.h
- ReferenceToInt() : saveload.cpp
- RefitVehicle() : vehicle_cmd.cpp , vehicle_func.h
- ReInitAllWindows() : window.cpp , window_func.h
- ReinitGuiAfterToggleElrail() : rail_gui.cpp , rail_gui.h
- ReleaseDisastersTargetingIndustry() : disaster_cmd.cpp , industry.h
- ReleaseDisastersTargetingVehicle() : disaster_cmd.cpp , vehicle_func.h
- ReloadNewGRFData() : newgrf.h , afterload.cpp
- RelocateAllWindows() : window.cpp , window_gui.h
- RemapNewGRFStringControlCode() : newgrf_text.cpp , newgrf_text.h
- RemapOldStringID() : saveload_internal.h , strings_sl.cpp
- RemapTTOColour() : oldloader_sl.cpp
- RemoveAirport() : station_cmd.cpp
- RemoveAllEngineReplacement() : autoreplace.cpp , autoreplace_func.h
- RemoveAllEngineReplacementForCompany() : autoreplace_func.h
- RemoveAndSellVehicle() : infrastructure.cpp
- RemoveBuoy() : waypoint_cmd.cpp , waypoint_func.h
- RemoveDock() : station_cmd.cpp
- RemoveDuplicatesFromGRFConfigList() : newgrf_config.cpp
- RemoveEngineReplacement() : autoreplace.cpp , autoreplace_func.h
- RemoveEngineReplacementForCompany() : autoreplace_func.h
- RemoveFirstTrack() : track_func.h
- RemoveFirstTrackdir() : track_func.h
- RemoveFromConsist() : train_cmd.cpp
- RemoveFromRailBaseStation() : station_cmd.cpp
- RemoveHalftileSlope() : slope_func.h
- RemoveOrderFromAllVehicles() : order_cmd.cpp , order_func.h
- RemoveRailStation() : station_cmd.cpp
- RemoveRailWaypoint() : station_cmd.cpp
- RemoveRoad() : road_cmd.cpp
- RemoveRoadStop() : station_cmd.cpp
- RemoveVehicleFromGroup() : group.h , group_cmd.cpp
- RenameSign() : signs_gui.cpp
- ReplaceChain() : autoreplace_cmd.cpp
- ReplaceEnglishWords() : townname.cpp
- ReplaceFreeUnit() : autoreplace_cmd.cpp
- ReplaceVehicleWindowWidgets : autoreplace_gui.cpp
- ReplaceWords() : townname.cpp
- ReportNewsProductionChangeIndustry() : industry_cmd.cpp
- ResetBridges() : bridge.h , tunnelbridge_cmd.cpp
- ResetCompanyLivery() : livery.h , company_cmd.cpp
- ResetCurrencies() : currency.cpp , currency.h
- ResetFontSizes() : fontcache.cpp , fontcache.h
- ResetGenericCallbacks() : newgrf_generic.cpp , newgrf_generic.h
- ResetHouseAge() : town_map.h
- ResetIndustries() : industry_cmd.cpp , industrytype.h
- ResetIndustryConstructionStage() : industry_map.h
- ResetIndustryCounts() : industrytype.h
- ResetLandscapeConfirmationCallback() : terraform_gui.cpp
- ResetNewGRFData() : newgrf.cpp
- ResetOldNames() : saveload_internal.h , strings_sl.cpp
- ResetPriceBaseMultipliers() : economy.cpp , economy_func.h
- ResetRailTypes() : rail.h , rail_cmd.cpp
- ResetRestoreAllTransparency() : transparency.h
- ResetSets() : signal.cpp
- ResetSignalHandlers() : afterload.cpp
- ResetSignalVariant() : rail_gui.cpp , rail_gui.h
- ResetStationClasses() : newgrf_station.h , newgrf_station.cpp
- ResetWindowSystem() : window_func.h , window.cpp
- ResizeSprite() : 32bpp_optimized.cpp
- ResizeWindow() : window.cpp , window_func.h
- ResolveOrder() : ai_order.cpp
- RestoreRandomSeeds() : random_func.hpp
- RestoreTrainBackup() : train_cmd.cpp
- RestoreVehicleOrders() : order_func.h , order_cmd.cpp
- return_cmd_error : command_func.h
- ReverseDiagDir() : direction_func.h
- ReverseDir() : direction_func.h
- ReverseTrackdir() : track_func.h
- RGBToGrayscale() : heightmap.cpp
- ROAD_ALL : road_type.h
- ROAD_E : road_type.h
- ROAD_N : road_type.h
- ROAD_NE : road_type.h
- ROAD_NONE : road_type.h
- ROAD_NW : road_type.h
- ROAD_S : road_type.h
- ROAD_SE : road_type.h
- ROAD_SW : road_type.h
- ROAD_W : road_type.h
- ROAD_X : road_type.h
- ROAD_Y : road_type.h
- RoadBits : road_type.h
- RoadFindPathToDest() : roadveh_cmd.cpp
- RoadFlags : road_gui.cpp
- ROADSTOP_BUS : station_type.h
- ROADSTOP_TRUCK : station_type.h
- RoadStopType : station_type.h
- RoadToolbar_CtrlChanged() : road_gui.cpp
- RoadToolbarWidgets : road_gui.cpp
- RoadType : road_type.h
- ROADTYPE_BEGIN : road_type.h
- ROADTYPE_END : road_type.h
- ROADTYPE_ROAD : road_type.h
- ROADTYPE_TRAM : road_type.h
- RoadTypes : road_type.h
- ROADTYPES_ALL : road_type.h
- ROADTYPES_END : road_type.h
- ROADTYPES_NONE : road_type.h
- ROADTYPES_ROAD : road_type.h
- ROADTYPES_TRAM : road_type.h
- RoadTypeToRoadTypes() : road_func.h
- RoadVehiclesAreBuilt() : road_cmd.cpp
- RoadVehicleStates : roadveh.h
- ROL() : bitmath_func.hpp
- ROR() : bitmath_func.hpp
- RotateNeighbour() : ai_road.cpp
- RotateRight() : newgrf_spritegroup.cpp
- RotateRoadBits() : road_func.h
- ROV : engines.h
- RTF_CATENARY : rail.h
- RunVehicleDayProc() : vehicle.cpp
- RUNWAY_OUT2_block : airport.h
- RVI : engines.h
- RVList : roadstop.cpp
- RVS_DRIVE_SIDE : roadveh.h
- RVS_IN_DT_ROAD_STOP : roadveh.h
- RVS_IN_ROAD_STOP : roadveh.h
- RVS_USING_SECOND_BAY : roadveh.h
- RVSB_IN_DEPOT : roadveh.h
- RVSB_IN_DT_ROAD_STOP : roadveh.h
- RVSB_IN_ROAD_STOP : roadveh.h
- RVSB_ROAD_STOP_TRACKDIR_MASK : roadveh.h
- RVSB_TRACKDIR_MASK : roadveh.h
- RVSB_WORMHOLE : roadveh.h