hedgewars/uLand.pas
changeset 10181 4708343d5963
parent 10165 e84f9b928ad3
child 10189 875607ce793d
--- a/hedgewars/uLand.pas	Thu Mar 06 14:17:44 2014 +0400
+++ b/hedgewars/uLand.pas	Fri Mar 07 23:36:56 2014 +0400
@@ -32,7 +32,7 @@
 implementation
 uses uConsole, uStore, uRandom, uLandObjects, uIO, uLandTexture, SysUtils,
      uVariables, uUtils, uCommands, adler32, uDebug, uLandPainted, uTextures,
-     uLandGenMaze, uLandOutline, uPhysFSLayer, uScript;
+     uLandGenMaze, uLandOutline, uPhysFSLayer, uScript, uLandGenPerlin;
 
 var digest: shortstring;
 
@@ -701,7 +701,8 @@
             WriteLnToConsole('Generating land...');
             case cMapGen of
                 0: GenBlank(EdgeTemplates[SelectTemplate]);
-                1: begin ResizeLand(4096,2048); GenMaze; end;
+                //1: begin ResizeLand(4096,2048); GenMaze; end;
+                1: begin ResizeLand(4096,2048); GenPerlin; end;
                 2: GenDrawnMap;
             else
                 OutError('Unknown mapgen', true);
@@ -829,7 +830,8 @@
     WriteLnToConsole('Generating preview...');
     case cMapGen of
         0: GenBlank(EdgeTemplates[SelectTemplate]);
-        1: begin ResizeLand(4096,2048); GenMaze; end;
+        //1: begin ResizeLand(4096,2048); GenMaze; end;
+        1: begin ResizeLand(4096,2048); GenPerlin; end;
         2: GenDrawnMap;
     else
         OutError('Unknown mapgen', true);
@@ -876,7 +878,8 @@
     WriteLnToConsole('Generating preview...');
     case cMapGen of
         0: GenBlank(EdgeTemplates[SelectTemplate]);
-        1: begin ResizeLand(4096,2048); GenMaze; end;
+        //1: begin ResizeLand(4096,2048); GenMaze; end;
+        1: begin ResizeLand(4096,2048); GenPerlin; end;
         2: GenDrawnMap;
     else
         OutError('Unknown mapgen', true);