hedgewars/hwengine.dpr
changeset 81 d74e0e914b50
parent 80 3c3dc6a148ca
child 97 e7c1df9cce2c
equal deleted inserted replaced
80:3c3dc6a148ca 81:d74e0e914b50
   110      end;
   110      end;
   111 SDL_Flip(SDLPrimSurface);
   111 SDL_Flip(SDLPrimSurface);
   112 if flagMakeCapture then
   112 if flagMakeCapture then
   113    begin
   113    begin
   114    flagMakeCapture:= false;
   114    flagMakeCapture:= false;
   115    s:= 'hw_' + ParamStr(5) + '_' + inttostr(GameTicks) + '.bmp';
   115    s:= 'hw_' + cSeed + '_' + inttostr(GameTicks) + '.bmp';
   116    WriteLnToConsole('Saving ' + s);
   116    WriteLnToConsole('Saving ' + s);
   117    SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(PChar(s), 'wb'), 1)
   117    SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(PChar(s), 'wb'), 1)
   118    end;
   118    end;
   119 end;
   119 end;
   120 
   120