File summary.c

TODO: Make summary.c and po-init.c use the same code!!! I am fixing a bug due only to this now! MLM 05/03/2002

References Variables: outcsummary.c


Included Files


Preprocessor definitions

#define MAXADDR 100

#define MAXNAME 80

#define MAXTURN 200

#define MAXPHASE 10

#define YPL 10

#define CPL 36


Global Variable mfp

FILE* mfp
Visible in:  summary.c
Used in: main()summary.c

Global Variable gflg

int gflg
Visible in:  summary.c
Used in: main()summary.c

Global Variable mflg

int mflg
Visible in:  summary.c
Used in: main()summary.c

Global Variable bflg

int bflg
Visible in:  summary.c
Used in: main()summary.c

Local Variables

variant
static int variant
Used in: main()

addrs
static char addrs[8000][100]
Used in: main()

addr
static char addr[100]
Used in: main()

names
static char names[8000][80]
Used in: main()

phaze
static char phaze[200][10]
Used in: main()

owner
static char owner[200][200]
Used in: main()

cownr
static char cownr[200][200]
Used in: main()

homes
static char homes[200][200]
Used in: main()

units
static int units[200][((((114+1)+1)+1)+1)+1]
Used in: main()

centers
static int centers[200][((((114+1)+1)+1)+1)+1]
Used in: main()

player
static int player[200][((((114+1)+1)+1)+1)+1]
Used in: CheckAndToggleFlag()
  ResignPlayer()
  mail()
  mail_igame()
  mail_listit()
  mail_press()
  mail_reply()
  mail_setp()
  mail_signon()
  main()
  params()
  process()
  process_conc()
  process_draw()
  send_press()

prov
static short prov[200]
Used in: main()

city
static short city[200]
Used in: main()

sqrs
static int sqrs[10]
Used in: main()

tfp
static FILE* tfp
Used in: main()

outc
static char outc[]
Used in:  summary.c
  main()

outn
static int outn[sizeof(outc)]
Used in: main()


Global Function main()

int main ( int argc, char** argv )
Calls: DIPINFO()diplog.c
  conf_cmdline()conf.c
  conf_init()conf.c
  conf_readfile()conf.c
  config()conf.c
  get_power()po_get.c
  getdipent()dipent.c
  newdipent()dipent.c
  opendiplog()diplog.c
  params()params.c
  power()lib.c
  strncasecmp()strcasecmp.c
  atoi(), exit(), fclose(), fgets(), fopen(), fprintf(), fputc(), fputs(), fread(), malloc(), memcpy(), perror(), sprintf(), sscanf(), strchr(), strcpy(), strlen(), strncmp(), toupper()
References Variables: CONFIG_DIRglobal.c
  CONFIG_FILEglobal.c
  addrsummary.c
  addrssummary.c
  bflgsummary.c
  centerssummary.c
  citysummary.c
  cmapglobal.c
  cownrsummary.c
  dipentglobal.c
  ftabglobal.c
  gflgsummary.c
  gwglobal.c
  heapglobal.c
  hkglobal.c
  homessummary.c
  hpglobal.c
  ifpglobal.c
  initial_moneyglobal.c
  linefmtwho.c
  log_fpglobal.c
  maxheapglobal.c
  mflgsummary.c
  mfpsummary.c
  namessummary.c
  ngwglobal.c
  nhkglobal.c
  nprglobal.c
  nrwglobal.c
  nvglobal.c
  outcsummary.c
  outnsummary.c
  ownersummary.c
  permitted_unitsglobal.c
  phazesummary.c
  playersummary.c
  prglobal.c
  provsummary.c
  ptabglobal.c
  qflgglobal.c
  rfpglobal.c
  rwglobal.c
  sqrssummary.c
  stabglobal.c
  tfpsummary.c
  unitssummary.c
  variantsummary.c
  vincomeglobal.c
  powers, variants