hedgewars/hwengine.dpr
changeset 887 cfed7e92afd7
parent 814 7fb4417b7bc1
child 889 3bf9dc791f45
equal deleted inserted replaced
886:c712272b2770 887:cfed7e92afd7
   116      end;
   116      end;
   117 
   117 
   118 SDL_GL_SwapBuffers();
   118 SDL_GL_SwapBuffers();
   119 if flagMakeCapture then
   119 if flagMakeCapture then
   120    begin
   120    begin
   121    flagMakeCapture:= false;
   121 {   flagMakeCapture:= false;
   122    s:= 'hw_' + cSeed + '_' + inttostr(GameTicks) + '.bmp';
   122    s:= 'hw_' + cSeed + '_' + inttostr(GameTicks) + '.bmp';
   123    WriteLnToConsole('Saving ' + s);
   123    WriteLnToConsole('Saving ' + s);
   124    SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(Str2PChar(s), 'wb'), 1)
   124    SDL_SaveBMP_RW(SDLPrimSurface, SDL_RWFromFile(Str2PChar(s), 'wb'), 1)
   125    end;
   125 }   end;
   126 end;
   126 end;
   127 
   127 
   128 ////////////////////
   128 ////////////////////
   129 procedure OnDestroy;
   129 procedure OnDestroy;
   130 begin
   130 begin