mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-26 21:37:02 +00:00
addparamsaver function
This commit is contained in:
parent
cec8a40786
commit
2835cd522a
10
config.cpp
10
config.cpp
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user