1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

refer to color by HTML name in commandline arguments

This commit is contained in:
Zeno Rogue
2021-10-17 09:18:31 +02:00
parent 9d26e98fcd
commit 839ca440ea
8 changed files with 60 additions and 19 deletions

View File

@@ -2904,7 +2904,7 @@ int readArgs() {
shift_arg_formula(hard_limit);
}
else if(argis("-ray-out")) {
PHASEFROM(2); shift(); color_out_of_range = arghex();
PHASEFROM(2); shift(); color_out_of_range = argcolor(32);
}
else if(argis("-ray-comp")) {
PHASEFROM(2);
@@ -2947,7 +2947,7 @@ int readArgs() {
else if(argis("-ray-cursor")) {
start_game();
volumetric::enable();
shift(); volumetric::vmap[centerover] = arghex();
shift(); volumetric::vmap[centerover] = argcolor(32);
}
else return 1;
return 0;