# HG changeset patch # User Henek # Date 1313268407 -7200 # Node ID 49cfd05ccb83f2259a7bde0c181c1d6e9da57372 # Parent 5a971d01a545286a4cf80dc58c07e3c21bd7e010 new SD flakes from mikade and a flash when sudden death starts diff -r 5a971d01a545 -r 49cfd05ccb83 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Sat Aug 13 21:06:51 2011 +0200 +++ b/hedgewars/uGears.pas Sat Aug 13 22:46:47 2011 +0200 @@ -853,6 +853,12 @@ if cHealthDecrease <> 0 then begin SuddenDeathDmg:= true; + + // flash + ScreenFade:= sfFromWhite; + ScreenFadeValue:= sfMax; + ScreenFadeSpeed:= 1; + ChangeToSDClouds; ChangeToSDFlakes; glClearColor(SDSkyColor.r / 255, SDSkyColor.g / 255, SDSkyColor.b / 255, 0.99); diff -r 5a971d01a545 -r 49cfd05ccb83 hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Sat Aug 13 21:06:51 2011 +0200 +++ b/hedgewars/uVariables.pas Sat Aug 13 22:46:47 2011 +0200 @@ -2505,11 +2505,11 @@ else cMaxCaptions:= 4; - vobSDFrameTicks:= 0; - vobSDFramesCount:= 0; + vobSDFrameTicks:= 99999; + vobSDFramesCount:= 4; vobSDCount:= 30 * cScreenSpace div LAND_WIDTH; - vobSDVelocity:= 0; - vobSDFallSpeed:= 0; + vobSDVelocity:= 15; + vobSDFallSpeed:= 250; LuaGoals:= ''; end; diff -r 5a971d01a545 -r 49cfd05ccb83 share/hedgewars/Data/Graphics/SuddenDeath/SDFlake.png Binary file share/hedgewars/Data/Graphics/SuddenDeath/SDFlake.png has changed