equal
deleted
inserted
replaced
663 flags:= flags or SDL_FULLSCREEN; |
663 flags:= flags or SDL_FULLSCREEN; |
664 cScreenWidth:= cInitWidth; |
664 cScreenWidth:= cInitWidth; |
665 cScreenHeight:= cInitHeight |
665 cScreenHeight:= cInitHeight |
666 end; |
666 end; |
667 |
667 |
668 // load window icon |
|
669 {$IFDEF SDL_IMAGE_NEWER} |
668 {$IFDEF SDL_IMAGE_NEWER} |
670 WriteToConsole('Init SDL_image... '); |
669 WriteToConsole('Init SDL_image... '); |
671 SDLTry(IMG_Init(IMG_INIT_PNG) <> 0, true); |
670 SDLTry(IMG_Init(IMG_INIT_PNG) <> 0, true); |
672 WriteLnToConsole(msgOK); |
671 WriteLnToConsole(msgOK); |
673 {$ENDIF} |
672 {$ENDIF} |
|
673 // load engine icon |
674 {$IFDEF DARWIN} |
674 {$IFDEF DARWIN} |
675 ico:= LoadImage(Pathz[ptGraphics] + '/hwengine_mac', ifIgnoreCaps); |
675 ico:= LoadImage(Pathz[ptGraphics] + '/hwengine_mac', ifIgnoreCaps); |
676 {$ELSE} |
676 {$ELSE} |
677 ico:= LoadImage(Pathz[ptGraphics] + '/hwengine', ifIgnoreCaps); |
677 ico:= LoadImage(Pathz[ptGraphics] + '/hwengine', ifIgnoreCaps); |
678 {$ENDIF} |
678 {$ENDIF} |