File ma_movement.c


Included Files


Preprocessor definitions

#define convoyable( p )

#define supval( u )

#define VOID 1

#define NO_CONVOY 2

#define CUT 3

#define BOUNCE 4

#define NO_SUPPORT 5

#define BESIEGE 6

#define DOSIEGE 7

#define BLOCKED 8

#define BAD_CONVOY 9

#define SELF_BESIEGE 10

#define VENICE_REBEL 11

#define DISLODGED 32

#define MAYBE_NO_CONVOY 33


Local Variables

result
static int result[200]
Used in: SupportCut()
  ma_moveout()

support
static int support[200]
Used in: SupportCut()
  ma_moveout()

supportvalue
static int supportvalue[200]
Used in: SupportCut()
  ma_moveout()


Global Function SupportCut()

void SupportCut ( int u, int value )
Called by: ma_moveout()ma_movement.c
References Variables: dipentglobal.c
  resultma_movement.c
  supportma_movement.c
  supportvaluema_movement.c
  unitglobal.c

Global Function ma_movein()

int ma_movein ( char** s, int p )
Prototyped in: functions.h
Calls: PermittedMachUnit()machlib.c
  errmsg()po_errmsg.c
  get_action()po_get.c
  get_power()po_get.c
  get_type()po_get.c
  has_fortress()machlib.c
  strncasecmp()strcasecmp.c
  valid_move()common.c
  autype(), fprintf(), get_coast(), get_prov(), memcpy(), real_bailout(), utype()
Called by: ma_process_input()ma_porder.c
References Variables: dipentglobal.c
  heapglobal.c
  hpglobal.c
  log_fpglobal.c
  nunitglobal.c
  prglobal.c
  rfpglobal.c
  unitglobal.c

Global Function ma_moveout()

int ma_moveout ( int pt )
Prototyped in: functions.h
Calls: SupportCut()ma_movement.c
  has_fortress()machlib.c
  mast_rpt()po_mastrpt.c
  Stype(), Utype(), atoi(), fprintf(), fputc(), sprintf()
Called by: ma_process_output()ma_porder.c
References Variables: alliesglobal.c
  dipentglobal.c
  errglobal.c
  heapglobal.c
  hpglobal.c
  more_ordersglobal.c
  mtypeglobal.c
  nprglobal.c
  nunitglobal.c
  ownersvariant.c
  powersvariant.c
  prglobal.c
  predictma_porder.c
  processingglobal.c
  resultma_movement.c
  rfpglobal.c
  supportma_movement.c
  supportvaluema_movement.c
  unitglobal.c