OpenTTD Source: Globals

OpenTTD Source 14.1

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

### - m -

- M : slope_type.h , industry_land.h , town_land.h
- MA : engines.h
- MacOSRegisterExternalFont() : string_osx.cpp , string_osx.h
- MacOSResetScriptCache() : string_osx.h , string_osx.cpp
- MacOSSetCurrentLocaleName() : string_osx.cpp , string_osx.h
- MacOSStringCompare() : string_osx.cpp , string_osx.h
- MacOSStringContains() : string_osx.cpp , string_osx.h
- MacOSVersionIsAtLeast() : macos.h
- main() : settingsgen.cpp
- MainWidgets : main_widget.h
- MAKE_FIOS_TYPE : fileio_type.h
- MakeAirport() : station_map.h
- MakeAnchorSlug() : textfile_gui.cpp
- MakeAqueductBridgeRamp() : bridge_map.h
- MakeAsdfgKeys() : osk_gui.cpp
- MakeAustrianTownName() : townname.cpp
- MakeBMPImage() : screenshot.cpp
- MakeBridgeRamp() : bridge_map.h
- MakeBuoy() : station_map.h
- MakeCanal() : water_map.h
- MakeCatalanTownName() : townname.cpp
- MakeClear() : clear_map.h
- MakeCompanyButtonRows() : widget.cpp , widget_type.h
- MakeCompanyButtonRowsGraphGUI() : graph_gui.cpp
- MakeCompanyButtonRowsLinkGraphGUI() : linkgraph_gui.cpp
- MakeCompanyButtonRowsScriptDebug() : script_gui.cpp
- MakeCzechTownName() : townname.cpp
- MakeDanishTownName() : townname.cpp
- MakeDefaultName() : town.h
- MakeDock() : station_map.h
- MakeDriveThroughRoadStop() : station_map.h
- MakeDutchTownName() : townname.cpp
- MakeEnglishAdditionalTownName() : townname.cpp
- MakeEnglishOriginalTownName() : townname.cpp
- MakeField() : clear_map.h
- MakeFinnishTownName() : townname.cpp
- MakeFrenchTownName() : townname.cpp
- MakeGermanTownName() : townname.cpp
- MakeHeightmapScreenshot() : screenshot.cpp , screenshot.h
- MakeHouseTile() : town_map.h
- MakeHungarianTownName() : townname.cpp
- MakeIndustry() : industry_map.h
- MakeItalianTownName() : townname.cpp
- MakeLake() : landscape.cpp
- MakeLargeWorldScreenshot() : screenshot.cpp
- MakeLock() : water_map.h
- MakeLockTile() : water_map.h
- MakeMainToolbar() : toolbar_gui.cpp
- MakeMinimapWorldScreenshot() : screenshot.cpp , screenshot.h
- MakeNorwegianTownName() : townname.cpp
- MakeNumberKeys() : osk_gui.cpp
- MakeNWidget() : widget.cpp
- MakeNWidgetCompanyLines() : graph_gui.cpp
- MakeNWidgets() : widget.cpp , widget_type.h
- MakeNWidgetSocialPlugins() : settings_gui.cpp
- MakeObject() : object_map.h
- MakeOilrig() : station_map.h
- MakePCXImage() : screenshot.cpp
- MakePerformanceDetailPanels() : graph_gui.cpp
- MakePNGImage() : screenshot.cpp
- MakePolishTownName() : townname.cpp
- MakePolygonSegments() : gfx.cpp
- MakeQwertyKeys() : osk_gui.cpp
- MakeRailBridgeRamp() : bridge_map.h
- MakeRailDepot() : rail_map.h
- MakeRailStation() : station_map.h
- MakeRailTunnel() : tunnel_map.h
- MakeRailWaypoint() : station_map.h
- MakeRiver() : water_map.h
- MakeRiverAndModifyDesertZoneAround() : water.h , water_cmd.cpp
- MakeRoadBridgeRamp() : bridge_map.h
- MakeRoadCrossing() : road_map.h
- MakeRoadDepot() : road_map.h
- MakeRoadNormal() : road_map.h
- MakeRoadStop() : station_map.h
- MakeRoadTunnel() : tunnel_map.h
- MakeRomanianTownName() : townname.cpp
- MakeScreenshot() : screenshot.cpp , screenshot.h
- MakeScreenshotName() : screenshot.cpp
- MakeScreenshotWithConfirm() : screenshot.cpp , screenshot.h
- MakeSea() : water_map.h
- MakeShipDepot() : water_map.h
- MakeShore() : water_map.h
- MakeSillyTownName() : townname.cpp
- MakeSlovakTownName() : townname.cpp
- MakeSmallScreenshot() : screenshot.cpp
- MakeSnow() : clear_map.h
- MakeSpacebarKeys() : osk_gui.cpp
- MakeSpanishTownName() : townname.cpp
- MakeStation() : station_map.h
- MakeStringID() : strings_func.h
- MakeSwedishTownName() : townname.cpp
- MakeSwissTownName() : townname.cpp
- MakeTopKeys() : osk_gui.cpp
- MakeTownHouse() : town_cmd.cpp
- MakeTrainBackup() : train_cmd.cpp
- MakeTree() : tree_map.h
- MakeTreeTypeButtons() : tree_gui.cpp
- MakeTurkishTownName() : townname.cpp
- MakeVoid() : void_map.h
- MakeWater() : water_map.h
- MakeWidgetTree() : widget.cpp
- MakeWindowNWidgetTree() : widget.cpp , widget_type.h
- MakeZxcvbKeys() : osk_gui.cpp
- MallocError() : alloc_func.cpp , alloc_func.hpp
- MallocT() : alloc_func.hpp
- MAP_HEIGHT_LIMIT_AUTO_CEILING_ROOM : genworld.h
- MAP_HEIGHT_LIMIT_AUTO_MINIMUM : genworld.h
- MapAircraftMovementAction() : newgrf_engine.cpp
- MapAircraftMovementState() : newgrf_engine.cpp
- MapGRFStringID() : newgrf.h , newgrf.cpp
- MapNewGRFIndustryType() : newgrf_industries.cpp , newgrf_industries.h
- MapSpriteMappingRecolour() : newgrf.cpp
- MarkAllViewportsDirty() : viewport.cpp , viewport_func.h
- MarkBridgeDirty() : tunnelbridge.h , tunnelbridge_cmd.cpp
- MarkCanalsAndRiversAroundDirty() : water_cmd.cpp
- MarkDirtyAdjacentLevelCrossingTiles() : road_func.h , train_cmd.cpp
- MarkTileDirtyByTile() : viewport.cpp , viewport_func.h
- MarkTileDirtyIfCanalOrRiver() : water_cmd.cpp
- MarkTrainAsStuck() : train_cmd.cpp
- MarkViewportDirty() : viewport.cpp
- MarkWholeScreenDirty() : gfx.cpp , gfx_func.h
- MaskWireBits() : elrail.cpp
- MAT_COL_BITS : widget_type.h
- MAT_COL_START : widget_type.h
- MAT_ROW_BITS : widget_type.h
- MAT_ROW_START : widget_type.h
- MatchesExtension() : fileio.cpp
- MatrixWidgetValues : widget_type.h
- MAX_ADMINS : network_type.h
- MAX_ARTICULATED_PARTS : articulated_vehicles.cpp
- MAX_BRIDGES : bridge.h
- MAX_BUILDING_PIXELS : tile_type.h
- MAX_CARGO_SCALE : economy_type.h
- MAX_CARGOES : industry_gui.cpp
- MAX_CATCHMENT : station_type.h
- MAX_CHAR_LENGTH : strings_type.h
- MAX_CHAT_MESSAGES : network_chat_gui.cpp
- MAX_CLIENT_SLOTS : network_type.h
- MAX_CLIENTS : network_type.h
- MAX_COMMAND_PARAM_SIZE : strgen_base.cpp
- MAX_COMPANIES : company_type.h
- MAX_COMPETITORS_INTERVAL : company_type.h
- MAX_CONSTRUCTOR_OPS : script_info.hpp
- MAX_CREATEINSTANCE_OPS : script_info.hpp
- MAX_ELEMENTS : airport.h
- MAX_FONT_SIZE : truetypefontcache.h
- MAX_GET_OPS : script_info.hpp
- MAX_GET_SETTING_OPS : script_info.hpp
- MAX_GFT : base_media_base.h
- MAX_HEADINGS : airport.h
- MAX_HEIGHTMAP_SIDE_LENGTH_IN_PIXELS : heightmap.cpp
- MAX_HELIPADS : airport.h
- MAX_HISTORY_QUARTERS : company_type.h
- MAX_INFLATION : economy_type.h
- MAX_LANG : strings_type.h
- MAX_LENGTH_COMPANY_NAME_CHARS : company_type.h
- MAX_LENGTH_DEPOT_NAME_CHARS : depot_type.h
- MAX_LENGTH_ENGINE_NAME_CHARS : engine_type.h
- MAX_LENGTH_GROUP_NAME_CHARS : group_type.h
- MAX_LENGTH_PRESIDENT_NAME_CHARS : company_type.h
- MAX_LENGTH_SIGN_NAME_CHARS : signs_type.h
- MAX_LENGTH_STATION_NAME_CHARS : station_type.h
- MAX_LENGTH_TOWN_NAME_CHARS : town_type.h
- MAX_LENGTH_VEHICLE_NAME_CHARS : vehicle_type.h
- MAX_LOAN_LIMIT : economy_type.h
- MAX_MAP_HEIGHT_LIMIT : tile_type.h
- MAX_MAP_SIZE : map_type.h
- MAX_MAP_SIZE_BITS : map_type.h
- MAX_NEWS_AMOUNT : news_gui.cpp
- MAX_NUM_CASES : language.h
- MAX_NUM_GENDERS : language.h
- MAX_OFFSET_DOUBLE_CLICK : window.cpp
- MAX_OFFSET_HOVER : window.cpp
- MAX_PAL : gfx_type.h
- MAX_PLURALS : strgen_tables.h
- MAX_REFIT_CYCLE : vehicle_gui.cpp
- MAX_SHIP_DEPOT_SEARCH_DISTANCE : ship_cmd.cpp
- MAX_SL_OPS : script_info.hpp
- MAX_SNOWLINE_HEIGHT : tile_type.h
- MAX_SPRITEGROUP : newgrf.cpp
- MAX_SPRITES : sprites.h
- MAX_TERMINALS : airport.h
- MAX_TGP_FREQUENCIES : tgp.cpp
- MAX_TILE_EXTENT_BOTTOM : viewport.cpp
- MAX_TILE_EXTENT_LEFT : viewport.cpp
- MAX_TILE_EXTENT_RIGHT : viewport.cpp
- MAX_TILE_EXTENT_TOP : viewport.cpp
- MAX_TILE_HEIGHT : tile_type.h
- MAX_TIMETABLE_START_YEARS : timetable.h
- MAX_TOWN_GROWTH_TICKS : town.h
- MAX_UVALUE : stdafx.h
- MAX_VEH_ORDER_ID : order_type.h
- MAX_VEHICLE_PIXEL_X : tile_type.h
- MAX_VEHICLE_PIXEL_Y : tile_type.h
- MAX_VOLUME : mixer.cpp
- maxdim() : geometry_func.cpp , geometry_func.hpp
- MaxZoomInOut() : viewport_func.h
- MaybeAddToTodoSet() : signal.cpp
- MaybeBarCrossingWithSound() : train_cmd.cpp
- MaybeBringWindowToFront() : window.cpp
- MaybeCrashAirplane() : aircraft_cmd.cpp
- MayBeShown() : window.cpp
- MayCompanyTakeOver() : company_cmd.cpp , company_func.h
- MayHaveBridgeAbove() : afterload.cpp
- MayHaveRoad() : road_map.h
- MayLoadUnderExclusiveRights() : economy.cpp
- MBR : bridge_land.h
- MC : smallmap_gui.cpp
- MCT_GRAIN_WHEAT_MAIZE : cargo_type.h
- MCT_LIVESTOCK_FRUIT : cargo_type.h
- MCT_VALUABLES_GOLD_DIAMONDS : cargo_type.h
- MD : industry_land.h
- MemCmpT() : mem_func.hpp
- MemCpyT() : mem_func.hpp
- MemMoveT() : mem_func.hpp
- MEMORY_CHUNK_SIZE : saveload.cpp
- MemSetT() : mem_func.hpp
- MenuClickBuildAir() : toolbar_gui.cpp
- MenuClickBuildRail() : toolbar_gui.cpp
- MenuClickBuildRoad() : toolbar_gui.cpp
- MenuClickBuildTram() : toolbar_gui.cpp
- MenuClickBuildWater() : toolbar_gui.cpp
- MenuClickCompany() : toolbar_gui.cpp
- MenuClickFinances() : toolbar_gui.cpp
- MenuClickForest() : toolbar_gui.cpp
- MenuClickGoal() : toolbar_gui.cpp
- MenuClickGraphsOrLeague() : toolbar_gui.cpp
- MenuClickHelp() : toolbar_gui.cpp
- MenuClickIndustry() : toolbar_gui.cpp
- MenuClickMap() : toolbar_gui.cpp
- MenuClickMusicWindow() : toolbar_gui.cpp
- MenuClickNewspaper() : toolbar_gui.cpp
- MenuClickSaveLoad() : toolbar_gui.cpp
- MenuClickSettings() : toolbar_gui.cpp
- MenuClickShowAir() : toolbar_gui.cpp
- MenuClickShowRoad() : toolbar_gui.cpp
- MenuClickShowShips() : toolbar_gui.cpp
- MenuClickShowTrains() : toolbar_gui.cpp
- MenuClickStations() : toolbar_gui.cpp
- MenuClickStory() : toolbar_gui.cpp
- MenuClickSubsidies() : toolbar_gui.cpp
- MenuClickTown() : toolbar_gui.cpp
- MessageHistoryWidgets : news_widget.h
- MI : build_industry.h
- midi_out : win32_m.cpp
- MIDITIME_TO_REFTIME : dmusic.cpp
- MILLISECONDS_PER_TICK : gfx_type.h
- MIN_CARGO_SCALE : economy_type.h
- MIN_COMPETITORS_INTERVAL : company_type.h
- MIN_CUSTOM_TERRAIN_TYPE : tile_type.h
- MIN_EURO_YEAR : currency.h
- MIN_HEIGHTMAP_HEIGHT : tile_type.h
- MIN_MAP_HEIGHT_LIMIT : tile_type.h
- MIN_MAP_SIZE : map_type.h
- MIN_MAP_SIZE_BITS : map_type.h
- MIN_NEWS_AMOUNT : news_gui.cpp
- MIN_PRICE_MODIFIER : economy_type.h
- MIN_SNOWLINE_HEIGHT : tile_type.h
- MIN_VISIBLE_TITLE_BAR : window.cpp
- MirrorRoadBits() : road_func.h
- MixedCargoType : cargo_type.h
- MK : airport_defaults.h , build_industry.h , cargo_const.h , smallmap_gui.cpp
- MK_SPRITE : cargo_const.h
- MK_STR_CARGO_PLURAL : cargo_const.h
- MKEND : smallmap_gui.cpp , airport_defaults.h
- MM : engines.h
- MO : smallmap_gui.cpp
- Modifiers : sprites.h
- ModifyOrderFlags : order_type.h
- ModifyTimetableFlags : order_type.h
- MOEND : smallmap_gui.cpp
- MOF_COND_COMPARATOR : order_type.h
- MOF_COND_DESTINATION : order_type.h
- MOF_COND_VALUE : order_type.h
- MOF_COND_VARIABLE : order_type.h
- MOF_DEPOT_ACTION : order_type.h
- MOF_LOAD : order_type.h
- MOF_NON_STOP : order_type.h
- MOF_STOP_LOCATION : order_type.h
- MOF_UNLOAD : order_type.h
- MonitorMonitorsIndustry() : cargomonitor.h
- MouseClick : window.cpp
- move_all_text_effects_interval : texteff.cpp
- MoveBuoysToWaypoints() : station_sl.cpp , saveload_internal.h
- MoveToNextNewsItem() : news_gui.cpp
- MoveToNextTickerItem() : news_gui.cpp
- MoveWaypointsToBaseStations() : saveload_internal.h , waypoint_sl.cpp
- MP_CLEAR : tile_type.h
- MP_HOUSE : tile_type.h
- MP_INDUSTRY : tile_type.h
- MP_OBJECT : tile_type.h
- MP_RAILWAY : tile_type.h
- MP_ROAD : tile_type.h
- MP_STATION : tile_type.h
- MP_TREES : tile_type.h
- MP_TUNNELBRIDGE : tile_type.h
- MP_VOID : tile_type.h
- MP_WATER : tile_type.h
- MR : engines.h
- MS : town_land.h , engines.h , smallmap_gui.cpp
- MS_TO_REFTIME : dmusic.cpp
- MT : build_industry.h , engines.h
- MTF_TRAVEL_SPEED : order_type.h
- MTF_TRAVEL_TIME : order_type.h
- MTF_WAIT_TIME : order_type.h
- MTT_MPSMIDI : base_media_base.h
- MTT_STANDARDMIDI : base_media_base.h
- MusicLoop() : openttd.cpp , music_gui.cpp
- MusicTrackSelectionWidgets : music_widget.h
- MusicTrackType : base_media_base.h
- MusicWidgets : music_widget.h
- MW : engines.h
- MxSetChannelVolume() : mixer.cpp , mixer.h
- MxSetMusicSource() : mixer.h , mixer.cpp
- MxStreamCallback : mixer.h
- MyClient : network_client.h