hedgewars/uStore.pas
changeset 4761 e73707bb99c0
parent 4748 ce9b48de1f52
child 4782 603916ddf4b6
equal deleted inserted replaced
4758:73aef6a577ba 4761:e73707bb99c0
   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