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