listnames, total nutzlose funktion

This commit is contained in:
Enno Rehling 2005-10-25 09:02:24 +00:00
parent 00fab33aaf
commit f269ebbf75
2 changed files with 0 additions and 30 deletions

View File

@ -74,35 +74,6 @@ createmonsters(void)
fhash(f); fhash(f);
} }
/* ------------------------------------------------------------- */
void
listnames(void)
{
region *r;
size_t i;
puts("Die Liste der benannten Regionen ist:");
i = 0;
for (r = regions; r; r = r->next)
if (rterrain(r) != T_OCEAN) {
printf("%s,", rname(r, NULL));
i += strlen(rname(r, NULL)) + 1;
while (i % 15) {
printf(" ");
i++;
}
if (i > 60) {
printf("\n");
i = 0;
}
}
printf("\n");
}
static char static char
factionsymbols(region * r) factionsymbols(region * r)
{ {

View File

@ -30,7 +30,6 @@ enum {
void createmonsters(void); void createmonsters(void);
void addunit(void); void addunit(void);
void makeblock(int x1, int y1, char chaos); void makeblock(int x1, int y1, char chaos);
void listnames(void);
void writemap(FILE * F, int mode); void writemap(FILE * F, int mode);
void regionspells(void); void regionspells(void);