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

### - s -

- SafeSaveOrLoad() : openttd.cpp
- SanitizeFilename() : fileio.cpp , fileio.h
- SanitizeSpriteOffset() : newgrf.cpp
- save : saveload.cpp
- Save_ANIT() : texteff.cpp
- SAVE_DIR : fileio.h
- Save_SIGN() : signs.cpp
- Save_VEHS() : vehicle.cpp
- SaveFileDone() : saveload.cpp , saveload.h
- SaveFileError() : saveload.cpp , saveload.h
- SaveFileStart() : saveload.cpp , saveload.h
- SaveFileToDisk() : saveload.cpp
- SaveHighScoreValue() : player_func.h , players.cpp
- SaveLoad_CAPR() : economy.cpp
- SaveLoad_ECMY() : economy.cpp
- SaveLoad_PRIC() : economy.cpp
- SaveOrLoad() : saveload.cpp , saveload.h
- SaveOrLoadResult : saveload.h
- SaveSettings() : settings.cpp
- SaveSettingsGlobList() : settings.cpp
- SaveToConfig() : settings.cpp , settings_func.h
- SaveToHighScore() : player_func.h , players.cpp
- SaveVersionInConfig() : settings.cpp
- SB() : bitmath_func.hpp
- ScaleAllPlayerFaceBits() : player_face.h
- ScaleByMapSize() : map.cpp , map_func.h
- ScaleByMapSize1D() : map.cpp , map_func.h
- ScalePlayerFaceValue() : player_face.h
- SCENARIO_DIR : fileio.h
- SCORE_END : economy_type.h
- SCORE_MAX : economy_type.h
- SCORE_TOTAL : economy_type.h
- ScoreID : economy_type.h
- scrollamt : openttd.cpp
- ScrollbarClickHandler() : widget.cpp , window_gui.h
- SDT_BOOLX : settings_internal.h
- SDT_INTLIST : settings_internal.h
- SDT_MANYOFMANY : settings_internal.h
- SDT_NUMX : settings_internal.h
- SDT_ONEOFMANY : settings_internal.h
- SDT_STRING : settings_internal.h
- SearchLumberMillTrees() : industry_cmd.cpp
- Searchpath : fileio.h
- SearchTileForStatue() : town_cmd.cpp
- SelectPlayerFaceWndProc() : player_gui.cpp
- SendAllVehiclesToDepot() : vehicle.cpp
- SendWindowMessage() : window.cpp , window_func.h , window_gui.h
- SendWindowMessageClass() : window.cpp , window_func.h , window_gui.h
- SendWindowMessageW() : window.cpp
- SetArticulatedPart() : train.h
- SetBit() : bitmath_func.hpp
- SETBITS : bitmath_func.hpp
- SetBridgeMiddle() : bridge_map.h
- SetClearCounter() : clear_map.h
- SetClearGroundDensity() : clear_map.h
- SetCurrentGrfLangID() : newgrf_text.cpp , newgrf_text.h
- SetCustomStationSpec() : newgrf_station.cpp , newgrf_station.h
- SetDirtyBlocks() : gfx.cpp , gfx_func.h
- SetDisallowedRoadDirections() : road_map.h
- SetDParamStr() : strings.cpp , strings_func.h
- SetEngineGRF() : newgrf_engine.cpp
- SetFenceSE() : clear_map.h
- SetFenceSW() : clear_map.h
- SetFieldType() : clear_map.h
- SetFreeWagon() : train.h
- SetFrontEngine() : train.h
- SetGeneratingWorldPaintStatus() : genworld.cpp , genworld.h
- SetGeneratingWorldProgress() : genworld.h , genworld_gui.cpp
- SetHasSignals() : rail_map.h
- SetHouseAnimationFrame() : town_map.h
- SetHouseCompleted() : town_map.h
- SetHouseProcessingTime() : town_map.h
- SetHouseRandomBits() : town_map.h
- SetHouseTriggers() : town_map.h
- SetHouseType() : town_map.h
- SetIndustryAnimationLoop() : industry_map.h
- SetIndustryAnimationState() : industry_map.h
- SetIndustryCompleted() : industry_map.h
- SetIndustryConstructionCounter() : industry_map.h
- SetIndustryConstructionStage() : industry_map.h
- SetIndustryGfx() : industry_map.h
- SetIndustryIndexOfField() : clear_map.h
- SetIndustryRandomBits() : industry_map.h
- SetIndustryTriggers() : industry_map.h
- SetLiftDestination() : town_map.h
- SetLiftPosition() : town_map.h
- SetLocalPlayer() : player_func.h , players.cpp
- SetMessageButtonStates() : news_gui.cpp
- SetMIDITypeIfNeeded() : qtmidi.cpp
- SetMultiheaded() : train.h
- SetNewsDisplayValue() : news_gui.cpp
- SetPatchValue() : settings.cpp , settings_internal.h
- SetPlayerFaceBits() : player_face.h
- SetPresentSignals() : rail_map.h
- SetPriceBaseMultiplier() : economy.cpp , economy_func.h
- SetRailType() : rail_map.h
- SetSaveLoadError() : saveload.cpp
- SetSelectionTilesDirty() : viewport.cpp
- SetSignalsOnBothDir() : signal.cpp , signal_func.h
- SetSignalStateByTrackdir() : rail_map.h
- SetSignalStates() : rail_map.h
- SetSnowLine() : landscape.h
- SetStationClassName() : newgrf_station.cpp , newgrf_station.h
- SetTileHeight() : tile_map.h
- SetTileOwner() : tile_map.h
- SetTileType() : tile_map.h
- SettingDescTypeLong : settings_internal.h
- SettingGuiFlagLong : settings_internal.h
- SettingsDisableElrail() : elrail.cpp , rail.h
- SetTownIndex() : town_map.h
- SetTrackBits() : rail_map.h
- SetTrainEngine() : train.h
- SetTrainGroupID() : group.h , group_cmd.cpp
- SetTrainWagon() : train.h
- SetTreeCount() : tree_map.h
- SetTreeCounter() : tree_map.h
- SetTreeGroundDensity() : tree_map.h
- SetTreeGrowth() : tree_map.h
- SetTropicZone() : tile_map.h
- SetTunnelBridgeSnowOrDesert() : tunnelbridge_map.h
- SetUnicodeGlyph() : fontcache.cpp
- SetupRailToolbar() : rail_gui.cpp
- SetWaterClassDependingOnSurroundings() : water.h , water_cmd.cpp
- SetWindowDirty() : window.cpp , window_func.h
- SF_EXIT : signal.cpp
- SF_EXIT2 : signal.cpp
- SF_FULL : signal.cpp
- SF_GREEN : signal.cpp
- SF_GREEN2 : signal.cpp
- SF_TRAIN : signal.cpp
- SGF_0ISDISABLED : settings_internal.h
- SGF_CURRENCY : settings_internal.h
- SGF_MULTISTRING : settings_internal.h
- SGF_NETWORK_ONLY : settings_internal.h
- SGF_NO_NETWORK : settings_internal.h
- SGF_NOCOMMA : settings_internal.h
- ShipVehicleChangeInfo() : newgrf.cpp
- SHORE_REPLACE_ACTION_5 : newgrf.h
- SHORE_REPLACE_ACTION_A : newgrf.h
- SHORE_REPLACE_NONE : newgrf.h
- SHORE_REPLACE_ONLY_NEW : newgrf.h
- ShoreReplacement : newgrf.h
- ShowAdditionalText() : vehicle_gui.cpp , vehicle_gui.h
- ShowDepotWindow() : depot.h , depot_gui.cpp
- ShowEndGameChart() : date.cpp , player_gui.cpp
- ShowGenerateWorldProgress() : genworld.h , genworld_gui.cpp
- ShowGroupActionDropdown() : group_gui.cpp
- ShowHighscoreTable() : functions.h , player_gui.cpp
- ShowLangDropdown() : settings_gui.cpp
- ShowLastNewsMessage() : gui.h , news_gui.cpp
- ShowMessageHistory() : gui.h , news_gui.cpp
- ShowNewGRFSettings() : newgrf_config.h , newgrf_gui.cpp
- ShowNewsMessage() : news_gui.cpp
- ShowNewspaper() : news_gui.cpp
- ShowPlayerStations() : player_gui.h , station_gui.cpp
- ShowQuery() : misc_gui.cpp , textbuf_gui.h
- ShowQueryString() : misc_gui.cpp , textbuf_gui.h
- ShowRefitOptionsList() : vehicle_gui.cpp , vehicle_gui.h
- ShowRejectOrAcceptNews() : station_cmd.cpp
- ShowSignalBuilder() : rail_gui.cpp
- ShowStationViewWindow() : station.h , station_gui.cpp
- ShowTicker() : news_gui.cpp
- ShowTownnameDropdown() : settings_gui.cpp
- ShowVehicleDetailsWindow() : vehicle_gui.cpp
- ShowVehicleRefitWindow() : vehicle_gui.cpp , vehicle_gui.h
- ShowVehicleViewWindow() : vehicle_gui.cpp , vehicle_gui.h
- SIG_ELECTRIC : rail_map.h
- SIG_GLOB_SIZE : signal.cpp
- SIG_GLOB_UPDATE : signal.cpp
- SIG_SEMAPHORE : rail_map.h
- SIG_TBD_SIZE : signal.cpp
- SIG_TBU_SIZE : signal.cpp
- SigFlags : signal.cpp
- SIGNAL_STATE_GREEN : rail_map.h
- SIGNAL_STATE_RED : rail_map.h
- signal_type_names : dbg_helpers.cpp
- SignalAgainstTrackdir() : signal_func.h
- SignalAlongTrackdir() : signal_func.h
- SignalBuildWndProc() : rail_gui.cpp
- SignalOnTrack() : signal_func.h
- SignalState : rail_map.h
- SignalType : rail_map.h
- SignalVariant : rail_map.h
- SIGTYPE_COMBO : rail_map.h
- SIGTYPE_ENTRY : rail_map.h
- SIGTYPE_EXIT : rail_map.h
- SIGTYPE_NORMAL : rail_map.h
- SkipSpriteData() : sprite.h , spritecache.cpp
- SL_ERROR : saveload.h
- SL_OK : saveload.h
- SL_ORDER : station_gui.cpp
- SL_REBUILD : station_gui.cpp
- SL_REINIT : saveload.h
- SL_RESORT : station_gui.cpp
- SlArray() : saveload.cpp , saveload.h
- SlAutolength() : saveload.cpp , saveload.h
- SlCalcArrayLen() : saveload.cpp
- SlCalcConvFileLen() : saveload.cpp
- SlCalcConvMemLen() : saveload.cpp
- SlCalcListLen() : saveload.cpp
- SlCalcNetStringLen() : saveload.cpp
- SlCalcObjLength() : saveload.cpp
- SlCalcRefLen() : saveload.cpp
- SlCalcStringLen() : saveload.cpp
- SlCopyBytes() : saveload.cpp
- SLE_FILE_STRINGID : saveload.h
- SLE_VAR_NAME : saveload.h
- SLE_VAR_NULL : saveload.h
- SLE_VAR_STR : saveload.h
- SLE_VAR_STRB : saveload.h
- SLE_VAR_STRBQ : saveload.h
- SLE_VAR_STRQ : saveload.h
- SlError() : saveload.cpp
- SLF_CONFIG_NO : saveload.h
- SLF_NETWORK_NO : saveload.h
- SLF_SAVE_NO : saveload.h
- SlFindChunkHandler() : saveload.cpp
- SlGetGammaLength() : saveload.cpp
- SlGlobList() : saveload.h , saveload.cpp
- SlIsObjectCurrentlyValid() : saveload.h
- SlIsObjectValidInSavegame() : saveload.cpp
- SlIterateArray() : saveload.h , saveload.cpp
- SlList() : saveload.cpp
- SlLoadChunk() : saveload.cpp
- SlLoadChunks() : saveload.cpp
- SlObject() : saveload.h , saveload.cpp
- Slope : slope_type.h
- SLOPE_E : slope_type.h
- SLOPE_ELEVATED : slope_type.h
- SLOPE_ENW : slope_type.h
- SLOPE_EW : slope_type.h
- SLOPE_FLAT : slope_type.h
- SLOPE_HALFTILE : slope_type.h
- SLOPE_HALFTILE_E : slope_type.h
- SLOPE_HALFTILE_MASK : slope_type.h
- SLOPE_HALFTILE_N : slope_type.h
- SLOPE_HALFTILE_S : slope_type.h
- SLOPE_HALFTILE_W : slope_type.h
- SLOPE_N : slope_type.h
- SLOPE_NE : slope_type.h
- SLOPE_NS : slope_type.h
- SLOPE_NW : slope_type.h
- SLOPE_NWS : slope_type.h
- SLOPE_S : slope_type.h
- SLOPE_SE : slope_type.h
- SLOPE_SEN : slope_type.h
- SLOPE_STEEP : slope_type.h
- SLOPE_STEEP_E : slope_type.h
- SLOPE_STEEP_N : slope_type.h
- SLOPE_STEEP_S : slope_type.h
- SLOPE_STEEP_W : slope_type.h
- SLOPE_SW : slope_type.h
- SLOPE_W : slope_type.h
- SLOPE_WSE : slope_type.h
- SlopeWithOneCornerRaised() : slope_func.h
- SlopeWithThreeCornersRaised() : slope_func.h
- SlReadByte() : saveload.cpp , saveload.h
- SlReadByteInternal() : saveload.cpp
- SlReadFill() : saveload.cpp
- SlReadSimpleGamma() : saveload.cpp
- SlSaveChunk() : saveload.cpp
- SlSaveChunks() : saveload.cpp
- SlSaveLoadConv() : saveload.cpp
- SlSetLength() : saveload.cpp , saveload.h
- SlSkipBytes() : saveload.cpp
- SlSkipVariableOnLoad() : saveload.cpp
- SlString() : saveload.cpp
- SLW_CARGOALL : station_gui.h
- SLW_CARGOSTART : station_gui.h
- SLW_CLOSEBOX : station_gui.h
- SLW_FACILALL : station_gui.h
- SLW_LIST : station_gui.h
- SLW_NOCARGOWAITING : station_gui.h
- SLW_PAN_BETWEEN : station_gui.h
- SLW_PAN_RIGHT : station_gui.h
- SLW_PAN_SORT_RIGHT : station_gui.h
- SLW_SORTBY : station_gui.h
- SLW_SORTDROPBTN : station_gui.h
- SLW_TRAIN : station_gui.h
- SlWriteByte() : saveload.h , saveload.cpp
- SlWriteByteInternal() : saveload.cpp
- SlWriteFill() : saveload.cpp
- SlWriteSimpleGamma() : saveload.cpp
- smoothed_noise() : tgp.cpp
- SortListFlags : window_gui.h
- SortStationsList() : station_gui.cpp
- SOUND_SLOT : fios.h
- SP_APPLICATION_BUNDLE_DIR : fileio.h
- SP_BINARY_DIR : fileio.h
- SP_INSTALLATION_DIR : fileio.h
- SP_PERSONAL_DIR : fileio.h
- SP_SHARED_DIR : fileio.h
- SP_WORKING_DIR : fileio.h
- SpecialRailFoundation() : slope_func.h
- SPEED_LIMIT_APPROACH : aircraft_cmd.cpp
- SPEED_LIMIT_BROKEN : aircraft_cmd.cpp
- SPEED_LIMIT_HOLD : aircraft_cmd.cpp
- SPEED_LIMIT_NONE : aircraft_cmd.cpp
- SPEED_LIMIT_TAXI : aircraft_cmd.cpp
- SPRITE_MASK : sprites.h
- SPRITE_MODIFIER_OPAQUE : sprites.h
- SPRITE_WIDTH : sprites.h
- SpriteID : gfx_type.h
- SpriteMasks : sprites.h
- SpriteSetup : sprites.h
- StartScenario() : openttd.cpp
- STAT_CLASS_BEGIN : newgrf_station.h
- STAT_CLASS_DFLT : newgrf_station.h
- STAT_CLASS_MAX : newgrf_station.h
- STAT_CLASS_WAYP : newgrf_station.h
- StationCallbackMask : newgrf_callbacks.h
- StationClassID : newgrf_station.h
- StationListFlags : station_gui.cpp
- StationListWidgets : station_gui.h
- StationRatingMaxSorter() : station_gui.cpp
- StationSet : station.h
- StationsWndShowStationRating() : station_gui.cpp
- StationViewWidgets : station_gui.h
- StationViewWndProc() : station_gui.cpp
- SteepSlope() : slope_func.h
- StopTextRefStackUsage() : newgrf_text.h , newgrf_text.cpp
- str_strip_colours() : string.cpp , string_func.h
- str_validate() : string_func.h , string.cpp
- STRAIGHT_TRACK_LENGTH : map_type.h
- strecat() : string.cpp , string_func.h
- string_to_val() : settings.cpp
- StringColorFlags : gfx_type.h
- strtolower() : string.cpp , string_func.h
- Subdirectory : fileio.h
- SVI : engines.h
- SVW_ACCEPTLIST : station_gui.h
- SVW_ACCEPTS : station_gui.h
- SVW_CAPTION : station_gui.h
- SVW_CLOSEBOX : station_gui.h
- SVW_LOCATION : station_gui.h
- SVW_PLANES : station_gui.h
- SVW_RATINGLIST : station_gui.h
- SVW_RATINGS : station_gui.h
- SVW_RENAME : station_gui.h
- SVW_RESIZE : station_gui.h
- SVW_ROADVEHS : station_gui.h
- SVW_SHIPS : station_gui.h
- SVW_TRAINS : station_gui.h
- SVW_WAITING : station_gui.h
- Swap() : math_func.hpp
- SwapDirection() : viewport.cpp
- SwapOrders() : order_cmd.cpp
- SYNCHRONISED_CALLBACK_1B : town.h