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
1 changed files with 6 additions and 4 deletions

View File

@ -1659,15 +1659,17 @@ int readArgs() {
PHASE(3); shift(); noframes = argi();
shift(); animfile = args(); record_animation();
}
else if(argis("-animvideo")) {
PHASE(3); shift(); noframes = argi();
shift(); videofile = args(); record_video();
}
else if(argis("-record-only")) {
PHASEFROM(2);
shift(); min_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
else if(argis("-animcircle")) {
PHASE(3); start_game();