mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-25 07:20:09 +00:00
dialog:: list used in Yendor
This commit is contained in:
parent
3b5a5c01c5
commit
781d6f0257
@ -574,6 +574,8 @@ EX namespace yendor {
|
|||||||
vid.fsize = vid.fsize * 4/5;
|
vid.fsize = vid.fsize * 4/5;
|
||||||
dialog::init(XLAT("Yendor Challenge"), iinf[itOrbYendor].color, 150, 100);
|
dialog::init(XLAT("Yendor Challenge"), iinf[itOrbYendor].color, 150, 100);
|
||||||
|
|
||||||
|
dialog::start_list(2000, 2000);
|
||||||
|
|
||||||
for(int i=1; i<YENDORLEVELS; i++) {
|
for(int i=1; i<YENDORLEVELS; i++) {
|
||||||
string s;
|
string s;
|
||||||
|
|
||||||
@ -594,6 +596,8 @@ EX namespace yendor {
|
|||||||
dialog::addSelItem(s, v, i > 26 ? 'A' + i - 27 : 'a' + i-1);
|
dialog::addSelItem(s, v, i > 26 ? 'A' + i - 27 : 'a' + i-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog::end_list();
|
||||||
|
|
||||||
dialog::addBreak(60);
|
dialog::addBreak(60);
|
||||||
if (yendor::on)
|
if (yendor::on)
|
||||||
dialog::addItem(XLAT("Return to the normal game"), '0');
|
dialog::addItem(XLAT("Return to the normal game"), '0');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user