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:
13
tour.cpp
13
tour.cpp
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user