Merge remote-tracking branch 'remotes/origin/next' into release_v1.3

This commit is contained in:
drian
2021-02-10 21:00:09 +01:00
58 changed files with 4340 additions and 3913 deletions
+7 -2
View File
@@ -703,9 +703,7 @@ bool empty_world(int factor, bool force) // main empty world creation routine
if(clearmap && unsavededits) { xmapbackup("newmap", ""); unsavededits = 0; }
if(copy) ow = blockcopy(shrink ? bs : be);
extern char *mlayout;
DELETEA(world);
DELETEA(mlayout);
setupworld(factor);
loop(x,ssize) loop(y,ssize)
@@ -1050,3 +1048,10 @@ void mapareacheck(char *what) // "vdelta" | "steepest" | "total" | "pprest" | "p
COMMAND(mapareacheck, "s");
void showmapstats()
{
conoutf("\f2Map quality stats");
conoutf("this map %s", rnd(3) ? "is great" : "sucks");
}
COMMAND(showmapstats, "");