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