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:
@@ -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');
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user