1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-02 16:00:16 +00:00

scores:: export the scale parameter

This commit is contained in:
Zeno Rogue
2026-01-27 10:45:06 +01:00
parent cb0552f787
commit 911d752fb0
2 changed files with 8 additions and 3 deletions

View File

@@ -1132,6 +1132,7 @@ EX void initConfig() {
separate_status = true;
multi::multi_autojoy = false;
touch_interface = true;
scores::scale = 1;
}
}
}
@@ -1363,6 +1364,8 @@ EX void initConfig() {
"lands per page shown in the World Overview",
'L');
param_i(scores::scale, "scores_scale")->editable(1, 2, 1, "scores scale", "", 'S');
param_b(startanims::enabled, "startanim", true)
-> editable("start animations", 's');

View File

@@ -8,7 +8,9 @@
#include "hyper.h"
#if CAP_SAVE
namespace hr { namespace scores {
namespace hr {
EX namespace scores {
vector<score> scores;
score *currentgame;
@@ -176,7 +178,7 @@ void showPickScores() {
};
}
int scale = 2;
EX int scale = 2;
void show() {
@@ -407,7 +409,7 @@ void load() {
});
}
}
EX }
EX map<int, int> qty_scores_for;