Set default theme water color to blue
authorWuzzy <almikes@aol.com>
Wed, 05 Apr 2017 17:28:46 +0200
changeset 12163 9b5748fa7974
parent 12162 e4294b5cc2e7
child 12164 0d24dc3ca462
Set default theme water color to blue
ChangeLog.txt
hedgewars/uVariables.pas
--- 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.
--- 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