rogueviz:: intra-demos:: popscreen on run

This commit is contained in:
Zeno Rogue 2022-08-07 15:44:49 +02:00
parent e686f5bc39
commit c261db8a08
3 changed files with 7 additions and 3 deletions

View File

@ -13,8 +13,8 @@
#define _HYPER_H_
// version numbers
#define VER "12.0w"
#define VERNUM_HEX 0xA918
#define VER "12.0x"
#define VERNUM_HEX 0xA919
#include "sysconfig.h"

View File

@ -500,6 +500,8 @@ auto hooks =
slide_backup(vrhr::eyes, vrhr::eEyes::truesim);
slide_backup(vrhr::cscr, vrhr::eCompScreen::eyes);
#endif
popScreenAll();
resetGL();
};
};

View File

@ -1470,6 +1470,7 @@ void portal_slideshow(tour::ss::slideshow_callback cb) {
act();
start_game();
loop = 2;
popScreenAll();
});
slidecommand = "notknot options";
@ -1486,7 +1487,8 @@ void portal_slideshow(tour::ss::slideshow_callback cb) {
add("knotted portal", "This is a knotted portal in Euclidean space.", "https://www.youtube.com/watch?v=eb2DhCcGH7U", launch_euc_with(false));
add("self-hiding portal", "This knotted portal is 'self-hiding'. It appears that the portal enters itself and disappears!", "https://www.youtube.com/watch?v=vFLZ2NGtuGw", launch_euc_with(true));
add("non-Euclidean portal in Nil", "A portal in Nil geometry.", "https://www.youtube.com/watch?v=2K-v8tK68AE", launch_nil);
add("spherical portal", "A portal in spherical geometry. Such a portal lets us create a space with spherical geometry that has more volume than the sphere.", "https://www.youtube.com/watch?v=PerPeQFu5gw", launch_sphereknot);
add("spherical portal", "A portal in spherical geometry. Such a portal lets us create a space with spherical geometry that has more volume than the sphere.", "https://www.youtube.com/watch?v=PerPeQFu5gw", launch_sphere);
add("kontted spherical portal", "A knotted portal in spherical geometry.", "https://www.youtube.com/watch?v=PerPeQFu5gw", launch_sphereknot);
add("Cat Portal in Solv", "A portal in Solv geometry. The honeycomb is based on the mapping torus of Arnold's cat mapping.", "https://www.youtube.com/watch?v=CGiSxC9B6i0", launch_solv);
callhooks(rogueviz::pres::hooks_build_rvtour, "portal", portal_slides);