1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 03:47:40 +00:00

more intuitive tiling selection

This commit is contained in:
Zeno Rogue
2019-09-12 13:52:16 +02:00
parent 165a55d93c
commit d5a99e67e0
4 changed files with 29 additions and 16 deletions

View File

@@ -573,13 +573,12 @@ EX namespace hybrid {
EX geometry_information *underlying_cgip;
EX void configure(eGeometry g) {
if(vid.always3) { vid.always3 = false; geom3::apply_always3(); }
if(WDIM == 3) return;
check_cgi();
cgi.prepare_basics();
cgi.require_basics();
underlying = geometry;
underlying_cgip = cgip;
bool sph = sphere;
geometry = g;
auto keep = ginf[g].menu_displayed_name;
ginf[g] = ginf[underlying];
ginf[g].menu_displayed_name = keep;