Cleanup of GUECS and the textures manager.

This commit is contained in:
Zed A. Shaw 2025-05-03 23:38:03 -04:00
parent 438bd8ab8a
commit 4e7f837240
4 changed files with 31 additions and 28 deletions

View file

@ -10,7 +10,6 @@
namespace textures {
struct SpriteTexture {
std::string name;
std::shared_ptr<sf::Sprite> sprite = nullptr;
std::shared_ptr<sf::Texture> texture = nullptr;
};
@ -25,9 +24,9 @@ namespace textures {
void init();
SpriteTexture get(std::string name);
SpriteTexture get(const std::string& name);
sf::Image load_image(std::string filename);
sf::Image load_image(const std::string& filename);
const uint32_t* get_surface(size_t num);