hedgewars/uLand.pas
changeset 2866 450ca0afcd58
parent 2747 7889a3a9724f
child 2891 e1f902eb0cfe
equal deleted inserted replaced
2865:922419c947f5 2866:450ca0afcd58
   655 end;
   655 end;
   656 
   656 
   657 procedure MakeFortsMap;
   657 procedure MakeFortsMap;
   658 var tmpsurf: PSDL_Surface;
   658 var tmpsurf: PSDL_Surface;
   659 begin
   659 begin
       
   660 MaxHedgehogs:= 32;
   660 // 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.
   661 // 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.
   661 playHeight:= 1200;
   662 playHeight:= 1200;
   662 playWidth:= 2560;
   663 playWidth:= 2560;
   663 leftX:= (LAND_WIDTH - playWidth) div 2;
   664 leftX:= (LAND_WIDTH - playWidth) div 2;
   664 rightX:= ((playWidth + (LAND_WIDTH - playWidth) div 2) - 1);
   665 rightX:= ((playWidth + (LAND_WIDTH - playWidth) div 2) - 1);