equal
deleted
inserted
replaced
279 with SpritesData[ii] do |
279 with SpritesData[ii] do |
280 // FIXME - add a sprite attribute |
280 // FIXME - add a sprite attribute |
281 if (not cReducedQuality) or ((ii <> sprSky) and (ii <> sprHorizont) and (ii <> sprFlake)) then |
281 if (not cReducedQuality) or ((ii <> sprSky) and (ii <> sprHorizont) and (ii <> sprFlake)) then |
282 begin |
282 begin |
283 if AltPath = ptNone then |
283 if AltPath = ptNone then |
|
284 {$IFDEF IPHONEOS} |
|
285 tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent) |
|
286 {$ELSE} |
284 tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifCritical or ifTransparent) |
287 tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifCritical or ifTransparent) |
|
288 {$ENDIF} |
285 else begin |
289 else begin |
286 tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent); |
290 tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent); |
287 if tmpsurf = nil then |
291 if tmpsurf = nil then |
288 tmpsurf:= LoadImage(Pathz[AltPath] + '/' + FileName, ifALpha or ifCritical or ifTransparent); |
292 tmpsurf:= LoadImage(Pathz[AltPath] + '/' + FileName, ifALpha or ifCritical or ifTransparent); |
289 end; |
293 end; |