mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-12 03:33:00 +00:00
addparamsaver function
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user