修改OpenGl渲染底层之前

This commit is contained in:
2025-10-20 20:50:12 +08:00
parent 1b011b9b68
commit 2b888aae5b
61 changed files with 1609 additions and 680 deletions

View File

@@ -1,5 +1,6 @@
#include "Tile.h"
#include "Tool/Tool_String.h"
#include "EngineCore/Game.h"
Tile::Tile()
{
}
@@ -12,6 +13,7 @@ Tile::Tile(std::string Path) : Sprite()
m_texture = new Texture(std::get<std::string>(m_data["path"]), std::get<int>(m_data["idx"]));
Sprite::Init();
this->imgPath = Path;
}
Tile::~Tile()
@@ -42,4 +44,4 @@ void Tile::InitInfo(std::string Path)
m_data["pos"] = std::stoi(Data.Get());
}
}
}
}