1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

moved dual geometry puzzle to RogueViz

This commit is contained in:
Zeno Rogue
2022-06-17 01:20:34 +02:00
parent f3f502e65e
commit 9bb9fd572d
6 changed files with 25 additions and 8 deletions

View File

@@ -136,6 +136,8 @@ EX namespace dual {
hyperpoint which_dir;
EX purehookset hooks_after_move;
int remap_direction(int d, int cg) {
if(WDIM == 2 || cg == currently_loaded) return d;
@@ -247,7 +249,7 @@ EX namespace dual {
switch_to(1); forcedmovetype = fm; movepcto(0, subdir, false); forcedmovetype = fmSkip;
switch_to(cg);
reduceOrbPowers();
dpgen::check();
callhooks(hooks_after_move);
return true;
}
addMessage(XLAT("Impossible."));