MapEdit.BeliebigeGroesse
Search:
print pdf

markieren
1
2
3
4
5
6
7
8
9
10
11
12
13
14
procedure CalculateMapSize(Units: Integer);
var
   maxtile: Integer;
begin
  maxtile:=round(Units*1.5);
  if maxtile<6 then
     maxtile:=6;
  MapWidth:=random(maxtile);
  if  MapWidth<3 then
      MapWidth:=2
  MapHeight:=random(maxtile);
  if  MapHeight<3 then
      MapHeight:=2
end;

Recent Changes - Edit Menue
Page last modified on 12.12.2007, 23:08 by Hieronymus
Edit Page - Attributes - Page History