diff -r 3ae60c8a15f2 -r b39beffcf05e hedgewars/ArgParsers.inc --- a/hedgewars/ArgParsers.inc Mon Aug 27 16:52:50 2012 -0400 +++ b/hedgewars/ArgParsers.inc Tue Aug 28 20:30:57 2012 +0400 @@ -63,6 +63,21 @@ cLocaleFName:= ParamStr(17); end; +{$IFDEF USE_VIDEO_RECORDING} +procedure internalStartVideoRecordingWithParameters(); +begin + internalStartGameWithParameters(); + GameType:= gmtRecord; + cVideoFramerateNum:= StrToInt(ParamStr(18)); + cVideoFramerateDen:= StrToInt(ParamStr(19)); + RecPrefix:= ParamStr(20); + cAVFormat:= ParamStr(21); + cVideoCodec:= ParamStr(22); + cVideoQuality:= StrToInt(ParamStr(23)); + cAudioCodec:= ParamStr(24); +end; +{$ENDIF} + procedure setVideo(screenWidth: LongInt; screenHeight: LongInt; bitsStr: LongInt); begin cScreenWidth:= screenWidth;