per template dab vals
authornemo
Sat, 15 Nov 2014 09:43:21 -0500
changeset 10501 89e8d6d05dfa
parent 10500 585a33f2d105
child 10502 a888e649bea2
per template dab vals
hedgewars/uLandGenMaze.pas
--- a/hedgewars/uLandGenMaze.pas	Sat Nov 15 09:38:51 2014 -0500
+++ b/hedgewars/uLandGenMaze.pas	Sat Nov 15 09:43:21 2014 -0500
@@ -313,37 +313,42 @@
 procedure GenMaze;
 var i: Longword;
 begin
-dabDiv:= 1;
 case cTemplateFilter of
     0: begin
         cellsize := small_cell_size;
         maze_inverted := false;
         minDistance:= max(cFeatureSize*8,32);
+	dabDiv:= 150;
     end;
     1: begin
         cellsize := medium_cell_size;
         minDistance:= max(cFeatureSize*6,20);
         maze_inverted := false;
+	dabDiv:= 100;
     end;
     2: begin
         cellsize := large_cell_size;
         minDistance:= max(cFeatureSize*5,12);
         maze_inverted := false;
+	dabDiv:= 90;
     end;
     3: begin
         cellsize := small_cell_size;
         minDistance:= max(cFeatureSize*8,32);
         maze_inverted := true;
+	dabDiv:= 130;
     end;
     4: begin
         cellsize := medium_cell_size;
         minDistance:= max(cFeatureSize*6,20);
         maze_inverted := true;
+	dabDiv:= 100;
     end;
     5: begin
         cellsize := large_cell_size;
         minDistance:= max(cFeatureSize*5,12);
         maze_inverted := true;
+	dabDiv:= 85;
     end;
 end;