hedgewars/hwengine.pas
changeset 10139 9046f69dae4c
parent 10133 d73412fbf3b4
child 10150 fa5c83fd0ad9
equal deleted inserted replaced
10138:1a71d28392cb 10139:9046f69dae4c
   351 {$ELSE}
   351 {$ELSE}
   352     SDL_EnableUNICODE(1);
   352     SDL_EnableUNICODE(1);
   353 {$ENDIF}
   353 {$ENDIF}
   354     SDL_ShowCursor(0);
   354     SDL_ShowCursor(0);
   355 
   355 
   356     WriteToConsole('Init SDL_ttf... ');
   356     if not cOnlyStats then
   357     SDLTry(TTF_Init() <> -1, true);
   357         begin
   358     WriteLnToConsole(msgOK);
   358         WriteToConsole('Init SDL_ttf... ');
       
   359         SDLTry(TTF_Init() <> -1, true);
       
   360         WriteLnToConsole(msgOK);
       
   361         end;
   359 
   362 
   360 {$IFDEF USE_VIDEO_RECORDING}
   363 {$IFDEF USE_VIDEO_RECORDING}
   361     if GameType = gmtRecord then
   364     if GameType = gmtRecord then
   362         InitOffscreenOpenGL()
   365         InitOffscreenOpenGL()
   363     else
   366     else