1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 01:16:50 +00:00

disable_floorshapes

This commit is contained in:
Zeno Rogue 2021-11-23 10:24:51 +01:00
parent 770949978a
commit a98d9cb699

View File

@ -26,7 +26,10 @@ EX vector<basic_textureinfo> floor_texture_vertices;
EX vector<glvertex> floor_texture_map;
EX struct renderbuffer *floor_textures;
EX bool disable_floorshapes = false; /* tiles generates faster, but crash on drawing */
void geometry_information::init_floorshapes() {
if(disable_floorshapes) return;
all_escher_floorshapes.clear();
all_plain_floorshapes = {
&shFloor, &shMFloor, &shMFloor2, &shMFloor3, &shMFloor4,