1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-08 10:14:08 +00:00

flocking:: -flockspd option

This commit is contained in:
Zeno Rogue 2020-03-20 19:50:23 +01:00
parent c66fbe9ea0
commit 1bf12411bb

View File

@ -348,6 +348,10 @@ namespace flocking {
for(int i=0; i<N; i++) for(int i=0; i<N; i++)
vdata[i].cp.shade = shape; vdata[i].cp.shade = shape;
} }
else if(argis("-flockspd")) {
shift(); ini_speed = argf();
shift(); max_speed = argf();
}
#ifdef USE_THREADS #ifdef USE_THREADS
else if(argis("-threads")) { else if(argis("-threads")) {
shift(); threads = argi(); shift(); threads = argi();