Map is back.

This commit is contained in:
Zed A. Shaw 2025-05-25 22:39:42 -04:00
parent af2947c50a
commit 8453e7c3b9
4 changed files with 17 additions and 16 deletions

View file

@ -16,6 +16,7 @@ namespace textures {
struct TextureManager {
std::vector<sf::Image> surfaces;
std::vector<wchar_t> tile_set;
std::unordered_map<std::string, SpriteTexture> sprite_textures;
sf::Image floor;
sf::Image ceiling;
@ -27,6 +28,8 @@ namespace textures {
sf::Image load_image(const std::string& filename);
std::vector<wchar_t>& get_tile_set();
const uint32_t* get_surface(size_t num);
const uint32_t* get_floor();