hedgewars/uStore.pas
changeset 9768 08799c901a42
parent 9670 1954f692e8c6
child 9773 d6f8b9cb729e
equal deleted inserted replaced
9767:17df4c8201f6 9768:08799c901a42
   328     with SpritesData[ii] do
   328     with SpritesData[ii] do
   329         // FIXME - add a sprite attribute to match on rq flags?
   329         // FIXME - add a sprite attribute to match on rq flags?
   330         if (((cReducedQuality and (rqNoBackground or rqLowRes)) = 0) or   // why rqLowRes?
   330         if (((cReducedQuality and (rqNoBackground or rqLowRes)) = 0) or   // why rqLowRes?
   331                 (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR]))) and
   331                 (not (ii in [sprSky, sprSkyL, sprSkyR, sprHorizont, sprHorizontL, sprHorizontR]))) and
   332            (((cReducedQuality and rqPlainSplash) = 0) or ((not (ii in [sprSplash, sprDroplet, sprSDSplash, sprSDDroplet])))) and
   332            (((cReducedQuality and rqPlainSplash) = 0) or ((not (ii in [sprSplash, sprDroplet, sprSDSplash, sprSDDroplet])))) and
   333            (((cReducedQuality and rqKillFlakes) = 0) or (Theme = 'Snow') or (Theme = 'Christmas') or ((not (ii in [sprFlake, sprSDFlake])))) and
   333            (((cReducedQuality and rqKillFlakes) = 0) or cSnow or ((not (ii in [sprFlake, sprSDFlake])))) and
   334            ((cCloudsNumber > 0) or (ii <> sprCloud)) and
   334            ((cCloudsNumber > 0) or (ii <> sprCloud)) and
   335            ((vobCount > 0) or (ii <> sprFlake)) then
   335            ((vobCount > 0) or (ii <> sprFlake)) then
   336             begin
   336             begin
   337             if reload then
   337             if reload then
   338                 tmpsurf:= Surface
   338                 tmpsurf:= Surface