hedgewars/uStore.pas
branch0.9.15
changeset 4765 adef9ec50d63
parent 4603 d362ab6c7f53
child 4894 efcea232bbf6
equal deleted inserted replaced
4762:59eb6319c950 4765:adef9ec50d63
   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])) then // FIXME: hack
   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
   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