MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / StashMap

Function StashMap

src/openrct2/world/Map.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 static TileCoordsXY _mapSizeStash;
106
107 void StashMap()
108 {
109 auto& gameState = getGameState();
110 _tileIndexStash = std::move(_tileIndex);
111 _tileElementsStash = std::move(gameState.tileElements);
112 _mapSizeStash = gameState.mapSize;
113 _tileElementsInUseStash = _tileElementsInUse;
114 }
115
116 void UnstashMap()
117 {

Callers 1

TrackDesignDrawPreviewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected