@ -47,10 +47,6 @@ namespace textures {
}
TMGR.surfaces[surface_i] = load_image(texture_fname);
wchar_t tid = config["display"];
fmt::println("texture {} has surface_i={}", texture_fname, surface_i);
TMGR.char_to_texture[tid] = surface_i;
@ -17,7 +17,6 @@ namespace textures {
struct TextureManager {
std::vector<sf::Image> surfaces;
std::unordered_map<std::string, SpriteTexture> sprite_textures;
std::unordered_map<wchar_t, int> char_to_texture;
sf::Image floor;
sf::Image ceiling;
};