mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-08 09:24:06 +00:00
fixed variation selector
This commit is contained in:
parent
ee41a777d2
commit
722ba41799
@ -706,6 +706,8 @@ EX namespace gp {
|
|||||||
else if(xy.first == 1 && xy.second == 1 && S3 == 3) {
|
else if(xy.first == 1 && xy.second == 1 && S3 == 3) {
|
||||||
set_variation(eVariation::bitruncated);
|
set_variation(eVariation::bitruncated);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
set_variation(eVariation::goldberg);
|
||||||
start_game();
|
start_game();
|
||||||
screens = g;
|
screens = g;
|
||||||
}
|
}
|
||||||
@ -796,8 +798,10 @@ EX namespace gp {
|
|||||||
dialog::addInfo(XLAT("This pattern needs x-y divisible by 3"));
|
dialog::addInfo(XLAT("This pattern needs x-y divisible by 3"));
|
||||||
else if((config.first-config.second)%2 && min_quality_chess)
|
else if((config.first-config.second)%2 && min_quality_chess)
|
||||||
dialog::addInfo(XLAT("This pattern needs x-y divisible by 2"));
|
dialog::addInfo(XLAT("This pattern needs x-y divisible by 2"));
|
||||||
else
|
else {
|
||||||
dialog::addBoolItem(XLAT("select"), param == internal_representation(config) && !IRREGULAR, 'f');
|
dialog::addBoolItem(XLAT("select"), param == internal_representation(config) && !IRREGULAR && !INVERSE, 'f');
|
||||||
|
dialog::lastItem().value = "GP(x,y)";
|
||||||
|
}
|
||||||
dialog::add_action_confirmed([] { whirl_set(config); });
|
dialog::add_action_confirmed([] { whirl_set(config); });
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user