File ma_expenses.c


Included Files


Preprocessor definitions

#define BOUNCE 2

#define NOADJACENT 3

#define TOO_MANY 4


Global Function CheckAndLiberateRebellion()

int CheckAndLiberateRebellion ( int u )
Calls: fprintf()
Called by: expout()ma_expenses.c
References Variables: prglobal.c
  rfpglobal.c
  unitglobal.c

Global Function expin()

int expin ( char** s, int p )
Prototyped in: functions.h
Calls: PermittedMachUnit()machlib.c
  errmsg()po_errmsg.c
  get_amount()po_get.c
  get_duration()po_get.c
  get_expense()po_get.c
  get_exptype()po_get.c
  get_power()po_get.c
  get_type()po_get.c
  testword()ma_expenses.c
  atoi(), autype(), fprintf(), get_prov(), strcmp(), utype()
Called by: ma_process_input()ma_porder.c
References Variables: alliesglobal.c
  borrowglobal.c
  chitsglobal.c
  dipentglobal.c
  ducatsglobal.c
  errglobal.c
  expenseglobal.c
  markerglobal.c
  ownersvariant.c
  paymentsglobal.c
  powersvariant.c
  prglobal.c
  processingglobal.c
  rfpglobal.c
  unitglobal.c

Global Function expout()

void expout ( int pt )
Prototyped in: functions.h
Calls: CheckAndLiberateRebellion()ma_expenses.c
  set_rebellion()machlib.c
  __flsbuf(), atoi(), bstype(), config(), die(), die_rolls(), fprintf(), fputc(), fputs(), memset(), strlen(), utype()
Called by: ma_process_output()ma_porder.c
References Variables: alliesglobal.c
  borrowglobal.c
  chitsglobal.c
  dipentglobal.c
  ducatsglobal.c
  errglobal.c
  expenseglobal.c
  log_fpglobal.c
  ncownglobal.c
  npownglobal.c
  nprglobal.c
  nunitglobal.c
  ownersvariant.c
  paymentsglobal.c
  powersvariant.c
  prglobal.c
  predictma_famplag.c
  processingglobal.c
  rfpglobal.c
  unitglobal.c

Global Function testword()

int testword ( char** stream, char* word )
Prototyped in: functions.h
Calls: strncasecmp()strcasecmp.c
  strlen()
Called by: expin()ma_expenses.c