mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-15 15:23:14 +00:00
rogueviz::dpgen:: minor improvements
This commit is contained in:
parent
735863b127
commit
6beb9b62b3
@ -182,6 +182,8 @@ void launch_puzzle(const puzzle& p) {
|
||||
launch(last_seed = p.seed, last_elimit = p.el, last_hlimit = p.hl);
|
||||
popScreenAll();
|
||||
if(restricted) pushScreen(puzzle_restrict);
|
||||
clearMessages();
|
||||
addMessage("Welcome to Dual Geometry Puzzle!");
|
||||
}
|
||||
|
||||
vector<puzzle> puzzles = {
|
||||
@ -251,6 +253,9 @@ EX void show_menu() {
|
||||
dialog::addBack();
|
||||
|
||||
if(restricted) {
|
||||
dialog::addItem(XLAT("RogueViz settings"), 'S');
|
||||
dialog::add_action([] { pushScreen(showSettings); });
|
||||
|
||||
dialog::addItem(XLAT("back to RogueViz menu"), 'm');
|
||||
dialog::add_action([] { quitmainloop = true; });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user