mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-18 14:45:12 +00:00
surface 3D graphics are now automatically disabled in rug (won't work correctly with quotient rugs anyway) and in pmodels which do not support it
This commit is contained in:
@@ -8,6 +8,7 @@ namespace hr {
|
||||
|
||||
int inmirrorcount = 0;
|
||||
|
||||
bool spatial_graphics;
|
||||
bool wmspatial, wmescher, wmplain, wmblack, wmascii;
|
||||
bool mmspatial, mmhigh, mmmon, mmitem;
|
||||
|
||||
@@ -5301,6 +5302,13 @@ void drawthemap() {
|
||||
mmmon = vid.monmode >= 2;
|
||||
mmhigh = vid.monmode == 3 || vid.monmode == 5;
|
||||
mmspatial = vid.monmode == 4 || vid.monmode == 5;
|
||||
|
||||
spatial_graphics = wmspatial || mmspatial;
|
||||
if(rug::rugged && !rug::spatial_rug) spatial_graphics = false;
|
||||
if(non_spatial_model())
|
||||
spatial_graphics = false;
|
||||
|
||||
if(!spatial_graphics) wmspatial = mmspatial = false;
|
||||
|
||||
DEBB(DF_GRAPH, (debugfile,"draw the map\n"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user