equal
deleted
inserted
replaced
964 WriteLnToConsole(msgOK); |
964 WriteLnToConsole(msgOK); |
965 // load engine icon |
965 // load engine icon |
966 {$IFNDEF DARWIN} |
966 {$IFNDEF DARWIN} |
967 ico:= LoadImage(UserPathz[ptGraphics] + '/hwengine', ifIgnoreCaps); |
967 ico:= LoadImage(UserPathz[ptGraphics] + '/hwengine', ifIgnoreCaps); |
968 if ico = nil then ico:= LoadImage(Pathz[ptGraphics] + '/hwengine', ifIgnoreCaps); |
968 if ico = nil then ico:= LoadImage(Pathz[ptGraphics] + '/hwengine', ifIgnoreCaps); |
969 {$ENDIF} |
|
970 if ico <> nil then |
969 if ico <> nil then |
971 begin |
970 begin |
972 SDL_WM_SetIcon(ico, 0); |
971 SDL_WM_SetIcon(ico, 0); |
973 SDL_FreeSurface(ico) |
972 SDL_FreeSurface(ico) |
974 end; |
973 end; |
|
974 {$ENDIF} |
975 end |
975 end |
976 else |
976 else |
977 begin |
977 begin |
978 SetScale(cDefaultZoomLevel); |
978 SetScale(cDefaultZoomLevel); |
979 {$IF DEFINED(DARWIN) OR DEFINED(WIN32)} |
979 {$IF DEFINED(DARWIN) OR DEFINED(WIN32)} |