| 29 | #include "Utils/diamondsquare.hpp" |
| 30 | |
| 31 | cRandomMap::cRandomMap(const sMapParams& pParams) : cOriginalMap() { |
| 32 | mParams = pParams; |
| 33 | mPathSearchUnitType = 0; |
| 34 | mPathTilesNotTouchable = 0; |
| 35 | mData = std::make_shared<std::vector<uint8_t>>(); |
| 36 | ClearTiles(0); |
| 37 | |
| 38 | saveHeader(); |
| 39 | } |
| 40 | |
| 41 | int32 cRandomMap::getSpriteTypeCount(size_t pSpriteType) { |
| 42 | int32 count = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected