* sccsid = "@(#)player.h 2.4 %G%";
/* sizes and coordinates for the screen */
#define LINE_B (LINE_T+LINE_Y-1)
#define LINE_R (LINE_L+LINE_X-1)
#define BOX_B (BOX_T+BOX_Y-1)
#define BOX_R (BOX_L+BOX_X-1)
#define TURN_L ((BOX_L+BOX_R-TURN_X)/2)
#define TURN_B (TURN_T+TURN_Y+1)
#define TURN_R (TURN_L+TURN_X+1)
#define STAT_X (STAT_R-STAT_L+1)
#define STAT_Y (STAT_B-STAT_T+1)
#define STAT_2 (STAT_1+4)
#define STAT_3 (STAT_2+7)
#define SCROLL_T (BOX_B+1)
#define SCROLL_B (LINES-1)
#define SCROLL_R (COLS-1)
#define SCROLL_Y (LINES-SCROLL_T)
#define VIEW_B (VIEW_T+VIEW_Y-1)
#define VIEW_R (VIEW_L+VIEW_X-1)
#define SLOT_L (VIEW_R+1)
#define SLOT_R (SLOT_L+SLOT_X-1)
char loaded
, fired
, changed
, repaired
;
struct ship
*ms
; /* memorial structure, &cc->ship[player] */
struct File
*mf
; /* ms->file */
struct shipspecs
*mc
; /* ms->specs */
/* condition codes for leave() */
#define blockalarm() ((void) sigblock(1 << SIGALRM-1))
#define unblockalarm() ((void) sigsetmask(sigblock(0) & ~(1 << SIGALRM-1)))