1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 05:57:37 +00:00

color by sides; canvas coloring selectable from the texture menu

This commit is contained in:
Zeno Rogue
2018-08-20 15:49:17 +02:00
parent cd91148459
commit a4ced4a504
4 changed files with 49 additions and 5 deletions

View File

@@ -844,13 +844,23 @@ void show() {
});
if(archimedean) {
dialog::addItem(XLAT("colored tiling"), 't');
dialog::addItem(XLAT("color by symmetries"), 't');
dialog::add_action([] () {
specialland = laCanvas;
firstland = specialland = laCanvas;
patterns::whichCanvas = 'A';
restart_game();
});
}
else dialog::addBreak(100);
if(true) {
dialog::addItem(XLAT("color by sides"), 'u');
dialog::add_action([] () {
firstland = specialland = laCanvas;
patterns::whichCanvas = 'B';
restart_game();
});
}
}
dialog::addHelp();