# HG changeset patch # User Wuzzy # Date 1491406126 -7200 # Node ID 9b5748fa7974604a10b694e3e5e84d385d8de306 # Parent e4294b5cc2e79c0952a386602f76f89b2cfd3521 Set default theme water color to blue diff -r e4294b5cc2e7 -r 9b5748fa7974 ChangeLog.txt --- a/ChangeLog.txt Wed Apr 05 17:26:59 2017 +0200 +++ b/ChangeLog.txt Wed Apr 05 17:28:46 2017 +0200 @@ -188,6 +188,7 @@ + Themes can now use flakes with negative falling speed (rising flakes) + Themes can now contain custom sound files: splash.ogg Droplet1.ogg Droplet2.ogg Droplet3.ogg skip.ogg + Simplified hat format for unanimated hats; a single 32×32 image is enough. For clan hats, use size 64×32, with the color overlay at the right + * Default water color was black instead of blue Lua-API: + New call: SetCinematicMode(enable) -- e.g. for cutscenes etc. diff -r e4294b5cc2e7 -r 9b5748fa7974 hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Wed Apr 05 17:26:59 2017 +0200 +++ b/hedgewars/uVariables.pas Wed Apr 05 17:28:46 2017 +0200 @@ -2592,6 +2592,25 @@ LAND_HEIGHT_MASK:= $FFFFF800 end; + // default water + WaterColorArray[0].r := 52; + WaterColorArray[0].g := 60; + WaterColorArray[0].b := 125; + WaterColorArray[0].a := 255; + WaterColorArray[2]:= WaterColorArray[0]; + WaterColorArray[4]:= WaterColorArray[0]; + WaterColorArray[6]:= WaterColorArray[0]; + // water surface + WaterColorArray[1].r := 84; + WaterColorArray[1].g := 92; + WaterColorArray[1].b := 157; + WaterColorArray[1].a := 255; + WaterColorArray[3]:= WaterColorArray[1]; + WaterColorArray[5]:= WaterColorArray[1]; + WaterColorArray[7]:= WaterColorArray[1]; + + WaterOpacity:= $80; + // default sudden death water // deep water