| 28 | } |
| 29 | |
| 30 | void cOriginalMap::saveHeader() { |
| 31 | uint16* Map = (uint16*)mData->data(); |
| 32 | |
| 33 | // Map Marker ('ofed') |
| 34 | Map[0x28] = 'fo'; Map[0x29] = 'de'; |
| 35 | |
| 36 | // Put the map size |
| 37 | writeBEWord(&Map[0x2A], (uint16)mParams.mWidth); |
| 38 | writeBEWord(&Map[0x2B], (uint16)mParams.mHeight); |
| 39 | |
| 40 | SetTileTypeInHeader(); |
| 41 | } |
| 42 | |
| 43 | void cOriginalMap::SetTileTypeInHeader() { |
| 44 | std::string mBaseName = mTileTypes[mParams.mTileType].mName + "base.blk"; |
nothing calls this directly
no test coverage detected