function for debugging internal textures

this would have been nice for checking the textures of sf::Fonts
This commit is contained in:
2025-05-17 18:27:22 -05:00
parent 61fe06a66d
commit 0bc13148bf
3 changed files with 14 additions and 1 deletions

View File

@@ -60,6 +60,8 @@ size_t cCustomGraphics::count(bool party) {
}
}
extern void debug_show_texture(const sf::Texture& texture, float seconds = 2, std::string label = "");
void cCustomGraphics::copy_graphic(pic_num_t dest, pic_num_t src, size_t numSlots) {
if(numSlots < 1) return;
// If the party doesn't have an export sheet, create one.