hedgewars/uLand.pas
branch0.9.18
changeset 7922 2fc02902c7cb
parent 7640 e9e6b4d740f6
child 7939 f951c4b5b335
equal deleted inserted replaced
7920:4760f92481ab 7922:2fc02902c7cb
   403 end;
   403 end;
   404 
   404 
   405 procedure MakeFortsMap;
   405 procedure MakeFortsMap;
   406 var tmpsurf: PSDL_Surface;
   406 var tmpsurf: PSDL_Surface;
   407 begin
   407 begin
       
   408 ResizeLand(4096,2048);
   408 MaxHedgehogs:= 32;
   409 MaxHedgehogs:= 32;
   409 // For now, defining a fort is playable area as 3072x1200 - there are no tall forts.  The extra height is to avoid triggering border with current code, also if user turns on a border, it will give a bit more maneuvering room.
   410 // For now, defining a fort is playable area as 3072x1200 - there are no tall forts.  The extra height is to avoid triggering border with current code, also if user turns on a border, it will give a bit more maneuvering room.
   410 playHeight:= 1200;
   411 playHeight:= 1200;
   411 playWidth:= 2560;
   412 playWidth:= 2560;
   412 leftX:= (LAND_WIDTH - playWidth) div 2;
   413 leftX:= (LAND_WIDTH - playWidth) div 2;