mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-05 03:47:58 +00:00
unlock_all option now unlocks Bringris and Nil Rider
This commit is contained in:
@@ -1295,7 +1295,7 @@ void geometry_menu(bool for_scores) {
|
||||
int total_stars = 0;
|
||||
for(int i=0; i<isize(bgeoms); i++) total_stars += bgeoms[i].stars;
|
||||
for(int i=0; i<isize(bgeoms); i++) {
|
||||
if(total_stars >= bgeoms[i].stars_needed || !stars_enabled) {
|
||||
if(total_stars >= bgeoms[i].stars_needed || !stars_enabled || unlock_all) {
|
||||
dialog::addTitle(bgeoms[i].name, i == c_geom ? 0xFF00 : 0xFF0000, 150);
|
||||
dialog::items.back().key = 'a' + i;
|
||||
dialog::add_action([i, for_scores] {
|
||||
|
@@ -357,7 +357,7 @@ void pick_level() {
|
||||
}
|
||||
cur_stars += score_here;
|
||||
|
||||
if(l->stars_needed > total_stars) {
|
||||
if(l->stars_needed > total_stars && !unlock_all) {
|
||||
dialog::addSelItem(l->name, "stars needed: " + its(l->stars_needed), l->hotkey);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user