qprint("\ntry #%d (out of %d)...\n", i + 1, NUMTRIES);
qprint("placing capitals...\n");
if (!drift())
- qprint("fairland: unstable drift -- try increasing DRIFT_MAX\n");
+ qprint("unstable drift\n");
qprint("growing continents...\n");
grow_continents();
} while (fl_status && ++i < NUMTRIES);
grow_islands();
qprint("\nelevating land...\n");
create_elevations();
- qprint("designating sectors...\n");
- qprint("adding resources...\n");
+
+ qprint("writing to sectors file...\n");
if (!write_newcap_script())
exit(1);
-
if (chdir(gamedir)) {
fprintf(stderr, "Can't chdir to %s (%s)\n", gamedir, strerror(errno));
exit(EXIT_FAILURE);
if (!ef_open(EF_SECTOR, EFF_MEM | EFF_NOTIME))
exit(1);
write_sects();
- qprint("writing to sectors file...\n");
if (!ef_close(EF_SECTOR))
exit(1);
++coast_search;
} while (!done && coast_search < COAST_SEARCH_MAX &&
(secs == 1 || x != sx || y != sy));
- if (!done && c < nc) {
- qprint("fairland: error -- continent %c had no room to grow!\n",
- numletter[c % 62]);
+ if (!done && c < nc)
fl_status |= STATUS_NO_ROOM;
- }
return done;
}
int i, j;
struct sctstr *sp;
- qprint("setting coastal flags...\n");
for (i = 0; i < nc; ++i) {
for (j = 0; j < sc; j++) {
sp = getsectp(sectx[i][j], secty[i][j]);
seed is 1
placing capitals...
growing continents...
-fairland: error -- continent h had no room to grow!
Only managed to grow 33 out of 37 sectors.
try #2 (out of 10)...
placing capitals...
growing continents...
-fairland: error -- continent h had no room to grow!
Only managed to grow 31 out of 37 sectors.
try #3 (out of 10)...
growing continents...
growing islands: 1(14) 2(20) 3(11) 4(16) 5(14) 6(8) 7(2) 8(3) 9(4) 10(5) 11(14) 12(3)
elevating land...
-designating sectors...
-adding resources...
-setting coastal flags...
writing to sectors file...
. . # # # # . . % . . . . % % % % . . . . . . # # # # # # . . %