1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-13 17:06:52 +00:00

addparamsaver function

This commit is contained in:
Zeno Rogue 2020-12-31 02:42:00 +01:00
parent cec8a40786
commit 2835cd522a

View File

@ -144,6 +144,16 @@ void addparam(ld& val, const string s) {
}
#endif
EX void addparamsaver(ld& val, const string s) {
addparam(val, s);
addsaver(val, s);
}
EX void addparamsaver(ld& val, const string p, const string s) {
addparam(val, p);
addsaver(val, s);
}
EX ld bounded_mine_percentage = 0.1;
EX int bounded_mine_quantity, bounded_mine_max;