From 7627fd9255cca45204565aa3822a590708c01c73 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 17 Sep 2024 17:57:54 +0200 Subject: [PATCH] ads:: a bool to disable textures --- rogueviz/ads/ds-texture.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rogueviz/ads/ds-texture.cpp b/rogueviz/ads/ds-texture.cpp index c7c53e57..bc5ad547 100644 --- a/rogueviz/ads/ds-texture.cpp +++ b/rogueviz/ads/ds-texture.cpp @@ -177,7 +177,10 @@ void draw_texture(texture_to_use& tu) { copyright_shown = et.copyright; } +bool texture_off; + void draw_textures() { + if(texture_off) return; pick_textures(); for(auto& tu: textures_to_use) if(current.shift > tu.from && current.shift < tu.to)