hedgewars/hwengine.pas
changeset 2669 4eec706e86b0
parent 2667 d9201436c6cf
child 2671 7e0f88013fe8
equal deleted inserted replaced
2668:d3a85891ae39 2669:4eec706e86b0
   562 SDLTry(SDL_Init(SDL_INIT_VIDEO or SDL_INIT_JOYSTICK) >= 0, true);
   562 SDLTry(SDL_Init(SDL_INIT_VIDEO or SDL_INIT_JOYSTICK) >= 0, true);
   563 WriteLnToConsole(msgOK);
   563 WriteLnToConsole(msgOK);
   564 
   564 
   565 SDL_EnableUNICODE(1);
   565 SDL_EnableUNICODE(1);
   566 
   566 
       
   567 WriteToConsole('Init SDL_image... ');
       
   568 SDLTry(IMG_Init(IMG_INIT_PNG) <> 0, true);
       
   569 WriteLnToConsole(msgOK);
       
   570 
   567 WriteToConsole('Init SDL_ttf... ');
   571 WriteToConsole('Init SDL_ttf... ');
   568 SDLTry(TTF_Init <> -1, true);
   572 SDLTry(TTF_Init <> -1, true);
   569 WriteLnToConsole(msgOK);
   573 WriteLnToConsole(msgOK);
   570 
   574 
   571 ShowMainWindow;
   575 ShowMainWindow;