1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 03:09:59 +00:00

dialog:: list used in Yendor

This commit is contained in:
Zeno Rogue 2022-10-21 11:27:49 +02:00
parent 3b5a5c01c5
commit 781d6f0257

View File

@ -574,6 +574,8 @@ EX namespace yendor {
vid.fsize = vid.fsize * 4/5;
dialog::init(XLAT("Yendor Challenge"), iinf[itOrbYendor].color, 150, 100);
dialog::start_list(2000, 2000);
for(int i=1; i<YENDORLEVELS; i++) {
string s;
@ -594,6 +596,8 @@ EX namespace yendor {
dialog::addSelItem(s, v, i > 26 ? 'A' + i - 27 : 'a' + i-1);
}
dialog::end_list();
dialog::addBreak(60);
if (yendor::on)
dialog::addItem(XLAT("Return to the normal game"), '0');