1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 19:54:47 +00:00

renamed function readArgs to expansion_readArgs

This commit is contained in:
Zeno Rogue 2018-09-27 21:50:26 +02:00
parent dee2b23991
commit 1ea9c929b6

View File

@ -731,7 +731,7 @@ void compute_coefficients() {
}
}
int readArgs() {
int expansion_readArgs() {
using namespace arg;
if(0) ;
@ -805,11 +805,16 @@ int readArgs() {
shift(); number_coding = (eNumberCoding) argi();
shift(); use_color_codes = argi() & 1; use_analyzer = argi() & 2; show_distance_lists = argi() & 4;
}
else if(argis("-expansion-off")) {
viewdists = false;
}
else return 1;
return 0;
}
auto ea_hook = addHook(hooks_args, 100, readArgs);
auto ea_hook = addHook(hooks_args, 100, expansion_readArgs);
#endif
expansion_analyzer expansion;