mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-09-27 21:58:13 +00:00
ray:: CLI options -ray-range and -ray-sol
This commit is contained in:
parent
ee0f57f28b
commit
a4d3ebb06d
@ -1367,6 +1367,12 @@ int readArgs() {
|
|||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
want_use = 1;
|
want_use = 1;
|
||||||
}
|
}
|
||||||
|
else if(argis("-ray-range")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift_arg_formula(exp_start);
|
||||||
|
shift_arg_formula(exp_decay_current());
|
||||||
|
want_use = 1;
|
||||||
|
}
|
||||||
else if(argis("-ray-out")) {
|
else if(argis("-ray-out")) {
|
||||||
PHASEFROM(2); shift(); color_out_of_range = arghex();
|
PHASEFROM(2); shift(); color_out_of_range = arghex();
|
||||||
}
|
}
|
||||||
@ -1374,6 +1380,12 @@ int readArgs() {
|
|||||||
PHASEFROM(2);
|
PHASEFROM(2);
|
||||||
comparison_mode = true;
|
comparison_mode = true;
|
||||||
}
|
}
|
||||||
|
else if(argis("-ray-sol")) {
|
||||||
|
PHASEFROM(2);
|
||||||
|
shift(); max_iter_sol = argi();
|
||||||
|
shift_arg_formula(maxstep_sol, reset_raycaster);
|
||||||
|
reset_raycaster();
|
||||||
|
}
|
||||||
else if(argis("-ray-cells")) {
|
else if(argis("-ray-cells")) {
|
||||||
PHASEFROM(2); shift();
|
PHASEFROM(2); shift();
|
||||||
rays_generate = true;
|
rays_generate = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user