1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-23 09:31:23 +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:
Zeno Rogue
2018-12-05 19:57:35 +01:00
parent e68da3d9a9
commit d8bf550d37
6 changed files with 35 additions and 14 deletions

View File

@@ -412,19 +412,10 @@ slide default_slides[] = {
#endif
[] (presmode mode) {
#if CAP_RUG
static int wm, mm;
if(mode == 1) {
if(mode == 1)
rug::init();
wm = vid.wallmode;
mm = vid.monmode;
vid.wallmode = 3;
vid.monmode = 2;
}
if(mode == 3) {
if(mode == 3)
rug::close();
vid.wallmode = wm;
vid.monmode = mm;
}
slidecommand = "switch renderer";
if(mode == 4) {
rug::close();