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

option -animvideo now only available with CAP_VIDEO

This commit is contained in:
Zeno Rogue 2020-05-22 14:52:12 +02:00
parent 4a1f6c8314
commit b0d1de01e5

View File

@ -1659,15 +1659,17 @@ int readArgs() {
PHASE(3); shift(); noframes = argi(); PHASE(3); shift(); noframes = argi();
shift(); animfile = args(); record_animation(); shift(); animfile = args(); record_animation();
} }
else if(argis("-animvideo")) {
PHASE(3); shift(); noframes = argi();
shift(); videofile = args(); record_video();
}
else if(argis("-record-only")) { else if(argis("-record-only")) {
PHASEFROM(2); PHASEFROM(2);
shift(); min_frame = argi(); shift(); min_frame = argi();
shift(); max_frame = argi(); shift(); max_frame = argi();
} }
#endif
#if CAP_VIDEO
else if(argis("-animvideo")) {
PHASE(3); shift(); noframes = argi();
shift(); videofile = args(); record_video();
}
#endif #endif
else if(argis("-animcircle")) { else if(argis("-animcircle")) {
PHASE(3); start_game(); PHASE(3); start_game();