mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-18 14:35:47 +00:00
ads:: a bool to disable textures
This commit is contained in:
parent
8770caaa00
commit
7627fd9255
@ -177,7 +177,10 @@ void draw_texture(texture_to_use& tu) {
|
|||||||
copyright_shown = et.copyright;
|
copyright_shown = et.copyright;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool texture_off;
|
||||||
|
|
||||||
void draw_textures() {
|
void draw_textures() {
|
||||||
|
if(texture_off) return;
|
||||||
pick_textures();
|
pick_textures();
|
||||||
for(auto& tu: textures_to_use)
|
for(auto& tu: textures_to_use)
|
||||||
if(current.shift > tu.from && current.shift < tu.to)
|
if(current.shift > tu.from && current.shift < tu.to)
|
||||||
|
Loading…
Reference in New Issue
Block a user