equal
deleted
inserted
replaced
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 |