hedgewars/uStore.pas
changeset 4782 603916ddf4b6
parent 4761 e73707bb99c0
child 4809 9c7d5f802618
equal deleted inserted replaced
4780:8571151411b3 4782:603916ddf4b6
   272 
   272 
   273 AddProgress;
   273 AddProgress;
   274 for ii:= Low(TSprite) to High(TSprite) do
   274 for ii:= Low(TSprite) to High(TSprite) do
   275     with SpritesData[ii] do
   275     with SpritesData[ii] do
   276         // FIXME - add a sprite attribute
   276         // FIXME - add a sprite attribute
   277         if ((cReducedQuality and rqNoBackground) = 0) or (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR, sprFlake, sprSplash, sprDroplet]) or (((Theme = 'Snow') or (Theme = 'Christmas')) and (ii = sprFlake))) then // FIXME: hack
   277         if ((cReducedQuality and rqNoBackground) = 0) or (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR, sprFlake, sprSplash, sprDroplet, sprSDSplash, sprSDDroplet]) or (((Theme = 'Snow') or (Theme = 'Christmas')) and ((ii = sprFlake) or (ii = sprSDFlake)))) then // FIXME: hack
   278         begin
   278         begin
   279             if AltPath = ptNone then
   279             if AltPath = ptNone then
   280                 if ii in [sprHorizontL, sprHorizontR, sprSkyL, sprSkyR] then // FIXME: hack
   280                 if ii in [sprHorizontL, sprHorizontR, sprSkyL, sprSkyR] then // FIXME: hack
   281                     tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent)
   281                     tmpsurf:= LoadImage(Pathz[Path] + '/' + FileName, ifAlpha or ifTransparent)
   282                 else
   282                 else