MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / ClearTiles

Method ClearTiles

Source/Map/Map.cpp:139–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void cMap::ClearTiles(const size_t pTileID) {
140
141 mData->resize(0x60 + ((mParams.mWidth * mParams.mHeight) * 2), (uint8)pTileID);
142 mTile_Ptr = (int32)((0x60) - (mParams.mWidth * 2));
143}
144
145tSharedBuffer cMap::getData() const {
146 return mData;

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.80

Tested by

no test coverage detected