Add CMake build and cross-platform cleanup
This commit is contained in:
@@ -35,7 +35,6 @@ GroundTileType * getRandomGroundTile() {
|
||||
return GroundTileTypeManager::GetInstance()->AIR; // Default value
|
||||
}
|
||||
void InitializeGroundTiles() {
|
||||
Tiles tiles {};
|
||||
GroundTileTypeManager::GetInstance()->AIR = new GroundTileType("", GroundTileTypes::Air, 0);
|
||||
GroundTileTypeManager::GetInstance()->DIRT = new RandomGroundTile("tiles/dirt/dirt[0].png", GroundTileTypes::Dirt, 5, 250);
|
||||
|
||||
|
||||
@@ -96,7 +96,6 @@ public:
|
||||
}
|
||||
|
||||
std::string GetPath() const override {
|
||||
int variant = utils::randRange(1, m_maxRandom);
|
||||
std::string toReplace { "[0]" };
|
||||
std::string replacement = std::to_string(utils::randRange(1, m_maxRandom));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user