1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 02:09:59 +00:00

ray:: ray-step option

This commit is contained in:
Zeno Rogue 2020-08-23 00:11:47 +02:00
parent b8b24af6ff
commit 62b85fff34

View File

@ -1794,6 +1794,11 @@ int readArgs() {
PHASEFROM(2); PHASEFROM(2);
shift(); max_iter_current() = argi(); shift(); max_iter_current() = argi();
} }
else if(argis("-ray-step")) {
PHASEFROM(2);
println(hlog, "maxstep_current() is ", maxstep_current());
shift_arg_formula(maxstep_current());
}
else if(argis("-ray-cells")) { else if(argis("-ray-cells")) {
PHASEFROM(2); shift(); PHASEFROM(2); shift();
rays_generate = true; rays_generate = true;