rogueviz::ads:: start tour from the menu

This commit is contained in:
Zeno Rogue
2025-04-05 23:33:37 +02:00
parent e29cbda259
commit 5feae0dd9c
3 changed files with 19 additions and 4 deletions
+9 -3
View File
@@ -268,19 +268,25 @@ void pick_the_game() {
dialog::addInfo(XLAT("abandon all hope of going faster than light"));
dialog::addBreak(200);
dialog::addBigItem("anti-de Sitter space", '1');
dialog::addBigItem("anti-de Sitter space", 'a');
dialog::add_action([] { popScreen(); run_ads_game_std(); add_ads_cleanup(); clearMessages(); });
dialog::addInfo(XLAT("shoot asteroids, mine resources, collect gold"));
dialog::addBreak(100);
dialog::addBigItem("de Sitter space", '2');
dialog::addBigItem("de Sitter space", 'd');
dialog::add_action([] { popScreen(); run_ds_game_std(); add_ds_cleanup(); clearMessages(); });
dialog::addInfo(XLAT("avoid energy balls, but do not let the main star run away!"));
dialog::addBreak(100);
dialog::addItem("not now", '3');
dialog::addBigItem("guided tour", 't');
dialog::add_action(start_relhell_tour);
dialog::addInfo(XLAT("but what exactly are these spaces?"));
dialog::addBreak(100);
dialog::addItem("not now", 'q');
dialog::add_action([] { quitmainloop = true; });
dialog::display();