MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / clearMap

Function clearMap

src/OpenLoco/src/Ui/Windows/MapWindow.cpp:1096–1099  ·  view source on GitHub ↗

0x0046B69C

Source from the content-addressed store, hash-verified

1094
1095 // 0x0046B69C
1096 static void clearMap()
1097 {
1098 std::fill(_mapPixels, _mapPixels + kRenderedMapSize * 2, PaletteIndex::black0);
1099 }
1100
1101 // 0x00F2541D
1102 static uint16_t mapFrameNumber = 0;

Callers 2

onUpdateFunction · 0.85
openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected