Remove more dead code from texturemgr.
This commit is contained in:
parent
3a745d492a
commit
5cb74151f5
2 changed files with 0 additions and 5 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue