mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-10 02:33:00 +00:00
validity appears in better place, lands colored
This commit is contained in:
@@ -718,7 +718,7 @@ void showEuclideanMenu() {
|
|||||||
if(i < 26) ch = 'a' + i;
|
if(i < 26) ch = 'a' + i;
|
||||||
else ch = 'A' + (i-26);
|
else ch = 'A' + (i-26);
|
||||||
string validclasses[4] = {"", " (½)", "", " (!)"};
|
string validclasses[4] = {"", " (½)", "", " (!)"};
|
||||||
string s = XLAT1(linf[l].name) + validclasses[isLandValid(l)];
|
string s = XLAT1(linf[l].name);
|
||||||
|
|
||||||
if(landvisited[l]) {
|
if(landvisited[l]) {
|
||||||
dialog::addBoolItem(s, l == specialland, ch);
|
dialog::addBoolItem(s, l == specialland, ch);
|
||||||
@@ -726,6 +726,9 @@ void showEuclideanMenu() {
|
|||||||
else {
|
else {
|
||||||
dialog::addSelItem(s, XLAT("(locked)"), ch);
|
dialog::addSelItem(s, XLAT("(locked)"), ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog::lastItem().color = linf[l].color;
|
||||||
|
dialog::lastItem().value += validclasses[isLandValid(l)];
|
||||||
}
|
}
|
||||||
dialog::addBreak(50);
|
dialog::addBreak(50);
|
||||||
if(chaosUnlocked && !quotient && !euclid && !sphere)
|
if(chaosUnlocked && !quotient && !euclid && !sphere)
|
||||||
|
|||||||
Reference in New Issue
Block a user