1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 20:57:10 +00:00

disable highlights & achievements from the demo in RogueViz since the achievements do not work there

This commit is contained in:
Zeno Rogue
2025-08-31 17:56:12 +02:00
parent 5e8bf42b7b
commit 99ee910150

View File

@@ -551,6 +551,7 @@ EX void show_custom() {
dialog::display(); dialog::display();
} }
#ifndef RVCOL
EX void mode_higlights() { EX void mode_higlights() {
cmode = sm::NOSCR; cmode = sm::NOSCR;
gamescreen(); gamescreen();
@@ -717,6 +718,7 @@ EX void mode_higlights() {
dialog::addBack(); dialog::addBack();
dialog::display(); dialog::display();
} }
#endif
EX eLandStructure default_land_structure() { EX eLandStructure default_land_structure() {
if(closed_or_bounded) return lsSingle; if(closed_or_bounded) return lsSingle;
@@ -828,8 +830,10 @@ EX void showChangeMode() {
show_achievement_eligibility(); show_achievement_eligibility();
dialog::addBreak(50); dialog::addBreak(50);
#ifndef RVCOL
dialog::addItem(XLAT("highlights & achievements"), 'h'); dialog::addItem(XLAT("highlights & achievements"), 'h');
dialog::add_action_push(mode_higlights); dialog::add_action_push(mode_higlights);
#endif
dialog::addItem(XLAT("custom mode manager"), 'm'); dialog::addItem(XLAT("custom mode manager"), 'm');
dialog::add_action(prepare_custom); dialog::add_action(prepare_custom);
dialog::addBack(); dialog::addBack();