Increase rarity of near flakes (don't want them intruding in game much). Also fix stereo. Near flakes were being drawn far.
--- a/hedgewars/uVisualGears.pas Sat Nov 05 11:41:56 2011 -0400
+++ b/hedgewars/uVisualGears.pas Sat Nov 05 12:10:49 2011 -0400
@@ -338,9 +338,9 @@
case Gear^.Kind of
vgtFlake: if cFlattenFlakes then gear^.Layer:= 0
- else if random(2) = 0 then gear^.Layer:= 0 // 50%
- else if random(2) = 0 then gear^.Layer:= 1 // 25%
- else gear^.Layer:= random(2)+2; // 12.5% each
+ else if random(3) <> 0 then gear^.Layer:= 0 // 66%
+ else if random(3) <> 0 then gear^.Layer:= 1 // 22%
+ else gear^.Layer:= random(2)+2; // 6% each
// 0: this layer is very distant in the background when stereo
vgtTeamHealthSorter,
--- a/hedgewars/uWorld.pas Sat Nov 05 11:41:56 2011 -0400
+++ b/hedgewars/uWorld.pas Sat Nov 05 12:10:49 2011 -0400
@@ -77,7 +77,7 @@
cStereo_Water_distant = 0.0125;
cStereo_Land = 0.0075;
cStereo_Water_near = 0.0025;
- cStereo_Outside = 0.0400;
+ cStereo_Outside = -0.0400;
procedure InitWorld;
var i, t: LongInt;