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