From 5cb74151f5379e2651028be9c9999a707d467dfb Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sun, 25 May 2025 11:44:14 -0400 Subject: [PATCH] Remove more dead code from texturemgr. --- textures.cpp | 4 ---- textures.hpp | 1 - 2 files changed, 5 deletions(-) diff --git a/textures.cpp b/textures.cpp index ff12199..37b90a0 100644 --- a/textures.cpp +++ b/textures.cpp @@ -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; } } diff --git a/textures.hpp b/textures.hpp index efca76e..aaef349 100644 --- a/textures.hpp +++ b/textures.hpp @@ -17,7 +17,6 @@ namespace textures { struct TextureManager { std::vector surfaces; std::unordered_map sprite_textures; - std::unordered_map char_to_texture; sf::Image floor; sf::Image ceiling; };