1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

intro slide to noniso geometries

This commit is contained in:
Zeno Rogue 2020-08-10 20:31:49 +02:00
parent 0822625cf8
commit f27c54596e

View File

@ -146,6 +146,22 @@ void honey(vector<tour::slide>& v) {
}
auto hooks = addHook(rvtour::hooks_build_rvtour, 163, honey);
void start_noniso(vector<tour::slide>& v) {
using namespace tour;
v.emplace_back(
slide{"non-isotropic geometries/intro slide", 999, LEGAL::NONE | QUICKSKIP,
"This is a collection of non-isotropic geometry demos.",
[] (presmode mode) {
if(mode == pmStart) {
stop_game();
set_geometry(gCubeTiling);
start_game();
}
}
});
}
auto hooks = addHook(rvtour::hooks_build_rvtour, 163, honey)
+ addHook(rvtour::hooks_build_rvtour, 160, start_noniso);
} }