Add alot of memory leak fixes

This commit is contained in:
Bram Verhulst
2024-04-23 11:17:17 +02:00
parent e75b80eea8
commit 1b90f222a4
27 changed files with 234 additions and 48 deletions

View File

@@ -150,6 +150,8 @@ static std::map<GroundTileType *, float> GroundTileWeights {
{ Tiles::Ores::IRON, 0.1f },
};
void InitializeGroundTiles();
class WorldTile
{
public:
@@ -197,7 +199,7 @@ private:
surroundingTiles m_SurroundingTiles;
std::vector<Texture *> m_SideTextures { 8, nullptr };
std::vector<Texture*> m_SideTextures { 8, nullptr };
Texture* m_pAllTexture;
};