1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-30 01:07:57 +00:00

added 'RogueViz settings' to HyperRogue main menu; graph viz is now accessed via o-key only

This commit is contained in:
Zeno Rogue
2021-04-02 16:22:01 +02:00
parent e9c8f516aa
commit 7d2a70024d
2 changed files with 8 additions and 8 deletions

View File

@@ -379,6 +379,12 @@ int pres_hooks =
}
}
}) +
addHook(dialog::hooks_display_dialog, 100, [] () {
if(current_screen_cfunction() == showMainMenu) {
dialog::addItem(XLAT("RogueViz demos"), 'd');
dialog::add_action_push(choose_presentation);
}
}) +
addHook(tour::ss::hooks_extra_slideshows, 300, [] (tour::ss::slideshow_callback cb) {
if(rogueviz::pres::rvslides_data.empty()) pres::gen_rvtour_data();
cb(XLAT("non-Euclidean geometry in data analysis"), &pres::rvslides_data[0], 'd');