home *** CD-ROM | disk | FTP | other *** search
- /*
- ** showlistsum.c Copyright 1991 Kent Paul Dolan,
- ** Mountain View, CA, USA 94039-0755
- **
- ** Written to satisfy an inquiry on USENet's rec.games.programmer newsgroup.
- ** May be freely used or modified in any non-commercial work. Copyrighted
- ** only to prevent patenting by someone else.
- */
-
- #include <stdio.h>
- #include "townmaze.h"
- #include "townproto.h"
-
- #ifdef __STDC__
- void showlistsummary()
- #else
- int showlistsummary()
- #endif
- {
- fprintf(stderr,"ISOLATED = %5d isolated = %5d isolatedct = %5d\n",
- ISOLATED,isolated,isolatedct);
- fprintf(stderr,"LIVE = %5d live = %5d livect = %5d\n",
- LIVE,live,livect);
- fprintf(stderr,"DEAD = %5d dead = %5d deadct = %5d\n",
- DEAD,dead,deadct);
- fprintf(stderr,
- "STREET = %5d street = %5d streetct = %5d streetnumct %5d\n",
- STREET,street,streetct,streetnumct);
- fprintf(stderr,"UNUSED = %5d unused = %5d unusedct = %5d\n",
- UNUSED,unused,unusedct);
- return;
- }
-
-