1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-23 16:50:27 +00:00

rogueviz::flocking:: ranges adjustable with CL parameters

This commit is contained in:
Zeno Rogue 2018-11-20 12:59:12 +01:00
parent 875743039f
commit 895081934d

View File

@ -268,6 +268,15 @@ namespace flocking {
else if(argis("-sepf")) { else if(argis("-sepf")) {
shift(); sep_factor = argf(); shift(); sep_factor = argf();
} }
else if(argis("-cohr")) {
shift(); coh_range = argf();
}
else if(argis("-alignr")) {
shift(); align_range = argf();
}
else if(argis("-sepr")) {
shift(); sep_range = argf();
}
else return 1; else return 1;
return 0; return 0;
} }