* Note: in keys below, a blank space indicates that whitespace is *
* optional at that point in the user input; a '#' character indicates *
* that white space (or parentheses) is required in user input. *
Included Files
Preprocessor definitions
#define SETFLAGS( set, mask )
#define SETX2FLAGS( set, mask )
#define CheckMach
#define CheckNoMach
#define CheckMach2
#define CheckNoMach2
#define CheckPress
#define CheckWings
#define CheckBlind
#define DRAW_VOTE 1
#define CONC_VOTE 2
#define CATF_SETON 1
#define CATF_SETOFF 0
#define CATF_NORMAL 0
#define CATF_INVERSE 1
#define CLEARED_TEXT "cleared"
#define SET_TEXT "set"
#define TOO_BIG -1
#define JUST_RIGHT 0
#define SET_ADD 1
#define PRV_ADD 'a'
#define SET_PW 2
#define PRV_PW 'a'
#define SET_WAIT 3
#define PRV_WAIT 'a'
#define SET_NOWAIT 4
#define PRV_NOWAIT 'a'
#define SET_MOVES 5
#define PRV_MOVES 'm'
#define SET_BUILD 6
#define PRV_BUILD 'm'
#define SET_RETREAT 7
#define PRV_RETREAT 'm'
#define SET_DEADLINE 8
#define PRV_DEADLINE 'm'
#define SET_START 9
#define PRV_START 'm'
#define SET_GRACE 10
#define PRV_GRACE 'm'
#define SET_NONMR 11
#define PRV_NONMR 'm'
#define SET_NMR 12
#define PRV_NMR 'm'
#define SET_MODERATE 13
#define PRV_MODERATE 'm'
#define SET_UNMODERATE 14
#define PRV_UNMODERATE 'm'
#define SET_NOLIST 15
#define PRV_NOLIST 'm'
#define SET_LIST 16
#define PRV_LIST 'm'
#define SET_ACCESS 17
#define PRV_ACCESS 'm'
#define SET_LEVEL 18
#define PRV_LEVEL 'm'
#define SET_VARIANT 19
#define PRV_VARIANT 'm'
#define SET_DEDICATE 20
#define PRV_DEDICATE 'm'
#define SET_NOOP 21
#define PRV_NOOP 'a'
#define SET_FLAG 22
#define PRV_FLAG 'm'
#define SET_FAKEB 23
#define PRV_FAKEB 'm'
#define SET_GREY 24
#define PRV_GREY 'm'
#define SET_GRYWHT 25
#define PRV_GRYWHT 'm'
#define SET_NOFAKEB 26
#define PRV_NOFAKEB 'm'
#define SET_NOPART 27
#define PRV_NOPART 'm'
#define SET_PART 28
#define PRV_PART 'm'
#define SET_PARTFBD 29
#define PRV_PARTFBD 'm'
#define SET_PARTMAY 30
#define PRV_PARTMAY 'm'
#define SET_WHITE 31
#define PRV_WHITE 'm'
#define SET_WHTGRY 32
#define PRV_WHTGRY 'm'
#define SET_PREF 33
#define PRV_PREF 'a'
#define SET_NOPRESS 34
#define PRV_NOPRESS 'm'
#define SET_OBANY 35
#define PRV_OBANY 'm'
#define SET_OBNONE 36
#define PRV_OBNONE 'm'
#define SET_OBWHITE 37
#define PRV_OBWHITE 'm'
#define SET_NOPROXY 38
#define PRV_NOPROXY 'm'
#define SET_PROXY 39
#define PRV_PROXY 'm'
#define SET_NODICE 40
#define PRV_NODICE 'm'
#define SET_DICE 41
#define PRV_DICE 'm'
#define SET_NOFAMINE 42
#define PRV_NOFAMINE 'm'
#define SET_FAMINE 43
#define PRV_FAMINE 'm'
#define SET_NOPLAGUE 44
#define PRV_NOPLAGUE 'm'
#define SET_PLAGUE 45
#define PRV_PLAGUE 'm'
#define SET_NOLOANS 46
#define PRV_NOLOANS 'm'
#define SET_LOANS 47
#define PRV_LOANS 'm'
#define SET_NOASSASS 48
#define PRV_NOASSASS 'm'
#define SET_ASSASS 49
#define PRV_ASSASS 'm'
#define SET_NOADJ 50
#define PRV_NOADJ 'm'
#define SET_ADJ 51
#define PRV_ADJ 'm'
#define SET_NOSPECIAL 52
#define PRV_NOSPECIAL 'm'
#define SET_SPECIAL 53
#define PRV_SPECIAL 'm'
#define SET_ALLPRESS 54
#define PRV_ALLPRESS 'a'
#define SET_NOALLPRESS 55
#define PRV_NOALLPRESS 'a'
#define SET_COMMENT 56
#define PRV_COMMENT 'm'
#define SET_QUIET 57
#define PRV_QUIET 'm'
#define SET_NOQUIET 58
#define PRV_NOQUIET 'm'
#define SET_RATE 59
#define PRV_RATE 'm'
#define SET_NORATE 60
#define PRV_NORATE 'm'
#define SET_REVEAL 61
#define PRV_REVEAL 'm'
#define SET_NOREVEAL 62
#define PRV_NOREVEAL 'm'
#define SET_SHOW 63
#define PRV_SHOW 'm'
#define SET_NOSHOW 64
#define PRV_NOSHOW 'm'
#define SET_NODIAS 65
#define PRV_NODIAS 'm'
#define SET_DIAS 66
#define PRV_DIAS 'm'
#define SET_DRAW 67
#define PRV_DRAW 'a'
#define SET_NODRAW 68
#define PRV_NODRAW 'a'
#define SET_EPNUM 69
#define PRV_EPNUM 'm'
#define SET_CENTERS 70
#define PRV_CENTERS 'm'
#define SET_BN_MN 71
#define PRV_BN_MN 'm'
#define SET_GRACEDAYS 72
#define PRV_GRACEDAYS 'm'
#define SET_NOGRACEDAYS 73
#define PRV_NOGRACEDAYS 'm'
#define SET_PLAYERALLOW 74
#define PRV_PLAYERALLOW 'm'
#define SET_PLAYERDENY 75
#define PRV_PLAYERDENY 'm'
#define SET_MASTERALLOW 76
#define PRV_MASTERALLOW 'm'
#define SET_MASTERDENY 77
#define PRV_MASTERDENY 'm'
#define SET_STRWAIT 78
#define PRV_STRWAIT 'm'
#define SET_NOSTRWAIT 79
#define PRV_NOSTRWAIT 'm'
#define SET_NO_PLAYERS 80
#define PRV_NO_PLAYERS 'm'
#define SET_LATECOUNT 81
#define PRV_LATECOUNT 'm'
#define SET_NOLATECOUNT 82
#define PRV_NOLATECOUNT 'm'
#define SET_STRCONVOY 83
#define PRV_STRCONVOY 'm'
#define SET_NOSTRCONVOY 84
#define PRV_NOSTRCONVOY 'm'
#define SET_LATEPRESS 85
#define PRV_LATEPRESS 'm'
#define SET_NOLATEPRESS 86
#define PRV_NOLATEPRESS 'm'
#define SET_MANPROC 87
#define PRV_MANPROC 'm'
#define SET_NOMANPROC 88
#define PRV_NOMANPROC 'm'
#define SET_MANSTART 89
#define PRV_MANSTART 'm'
#define SET_NOMANSTART 90
#define PRV_NOMANSTART 'm'
#define SET_TRANSFORM 91
#define PRV_TRANSFORM 'm'
#define SET_NOTRANSFORM 92
#define PRV_NOTRANSFORM 'm'
#define SET_XFLAG 93
#define PRV_XFLAG 'm'
#define SET_ANYCENTRE 94
#define PRV_ANYCENTRE 'm'
#define SET_HOMECENTRE 95
#define PRV_HOMECENTRE 'm'
#define SET_RESUME 96
#define PRV_RESUME 'm'
#define SET_NORESUME 97
#define PRV_NORESUME 'm'
#define SET_WATCHALL 98
#define PRV_WATCHALL 'm'
#define SET_NOWATCHALL 99
#define PRV_NOWATCHALL 'm'
#define SET_ABSENCE 100
#define PRV_ABSENCE 'a'
#define SET_NOABSENCE 101
#define PRV_NOABSENCE 'a'
#define SET_MAXABSENCE 102
#define PRV_MAXABSENCE 'm'
#define SET_ONECENTRE 103
#define PRV_ONECENTRE 'm'
#define SET_NORMBROAD 104
#define PRV_NORMBROAD 'a'
#define SET_NONORMBROAD 105
#define PRV_NONORMBROAD 'a'
#define SET_BLANKPRESS 106
#define PRV_BLANKPRESS 'm'
#define SET_NOBLANKPRESS 107
#define PRV_NOBLANKPRESS 'm'
#define SET_MINORPRESS 108
#define PRV_MINORPRESS 'm'
#define SET_NOMINORPRESS 109
#define PRV_NOMINORPRESS 'm'
#define SET_MACH2 110
#define PRV_MACH2 'm'
#define SET_NOMACH2 111
#define PRV_NOMACH2 'm'
#define SET_AIRLIFT 113
#define PRV_AIRLIFT 'm'
#define SET_NOAIRLIFT 114
#define PRV_NOAIRLIFT 'm'
#define SET_BLANKBOARD 115
#define PRV_BLANKBOARD 'm'
#define SET_FORT 116
#define PRV_FORT 'm'
#define SET_NOFORT 117
#define PRV_NOFORT 'm'
#define SET_AUTODISBAND 118
#define PRV_AUTODISBAND 'm'
#define SET_NOAUTODISBAND 119
#define PRV_NOAUTODISBAND 'm'
#define SET_ANYDISBAND 121
#define PRV_ANYDISBAND 'm'
#define SET_NORMALDISBAND 122
#define PRV_NORMALDISBAND 'm'
#define SET_ATTACKTRANS 123
#define PRV_ATTACKTRANS 'm'
#define SET_NOATTACKTRANS 124
#define PRV_NOATTACKTRANS 'm'
#define SET_ONTIMERAT 125
#define PRV_ONTIMERAT 'm'
#define SET_RESRAT 126
#define PRV_RESRAT 'm'
#define SET_COASTALCONVOY 127
#define PRV_COASTALCONVOY 'm'
#define SET_NOCOASTALCONVOY 128
#define PRV_NOCOASTALCONVOY 'm'
#define SET_MONEY 129
#define PRV_MONEY 'm'
#define SET_NOMONEY 130
#define PRV_NOMONEY 'm'
#define SET_MOVEDISBAND 131
#define PRV_MOVEDISBAND 'm'
#define SET_NOMOVEDISBAND 132
#define PRV_NOMOVEDISBAND 'm'
#define SET_BASIC 133
#define PRV_BASIC 'm'
#define SET_ADVANCED 134
#define PRV_ADVANCED 'm'
#define SET_CONCESSIONS 135
#define PRV_CONCESSIONS 'm'
#define SET_NOCONCESSIONS 136
#define PRV_NOCONCESSIONS 'm'
#define SET_CONC 137
#define PRV_CONC 'a'
#define SET_NOCONC 138
#define PRV_NOCONC 'a'
#define SET_DUALITY 139
#define PRV_DUALITY 'm'
#define SET_NODUALITY 140
#define PRV_NODUALITY 'm'
#define SET_HONGKONG 141
#define PRV_HONGKONG 'm'
#define SET_NOHONGKONG 142
#define PRV_NOHONGKONG 'm'
#define SET_GATEWAY 143
#define PRV_GATEWAY 'm'
#define SET_NOGATEWAY 144
#define PRV_NOGATEWAY 'm'
#define SET_RAILWAY 145
#define PRV_RAILWAY 'm'
#define SET_NORAILWAY 146
#define PRV_NORAILWAY 'm'
#define SET_STORM 147
#define PRV_STORM 'm'
#define SET_NOSTORM 148
#define PRV_NOSTORM 'm'
#define SET_PREFLIST 149
#define PRV_PREFLIST 'm'
#define SET_PREFBOTH 150
#define PRV_PREFBOTH 'm'
#define SET_PREFRAND 151
#define PRV_PREFRAND 'm'
#define SET_SECRET 152
#define PRV_SECRET 'm'
#define SET_NOSECRET 153
#define PRV_NOSECRET 'm'
#define SET_NOTVARIANT 154
#define PRV_NOTVARIANT 'm'
#define SET_MUSTORDER 155
#define PRV_MUSTORDER 'm'
#define SET_NOMUSTORDER 156
#define PRV_NOMUSTORDER 'm'
#define SET_POSTALPRESS 157
#define PRV_POSTALPRESS 'm'
#define SET_NOPOSTALPRESS 158
#define PRV_NOPOSTALPRESS 'm'
#define SET_BLIND_CENTRES 159
#define PRV_BLIND_CENTRES 'm'
#define SET_BLIND_NOCENTRES 160
#define PRV_BLIND_NOCENTRES 'm'
#define SET_SUMMER 161
#define PRV_SUMMER 'm'
#define SET_NOSUMMER 162
#define PRV_NOSUMMER 'm'
#define SET_GARRISONS 163
#define PRV_GARRISONS 'm'
#define SET_NOGARRISONS 164
#define PRV_NOGARRISONS 'm'
#define SET_NEUTRALS 165
#define PRV_NEUTRALS 'm'
#define SET_NONEUTRALS 166
#define PRV_NONEUTRALS 'm'
#define SET_CAPTUREWIN 167
#define PRV_CAPTUREWIN 'm'
#define SET_NOCAPTUREWIN 168
#define PRV_NOCAPTUREWIN 'm'
#define SET_AUTOCREATE 169
#define PRV_AUTOCREATE 'm'
#define SET_NOAUTOCREATE 170
#define PRV_NOAUTOCREATE 'm'
#define SET_TOUCHPRESS 171
#define PRV_TOUCHPRESS 'm'
#define SET_NOTOUCHPRESS 172
#define PRV_NOTOUCHPRESS 'm'
#define LOW_MAXABSENCE 0
#define HIGH_MAXABSENCE 31
#define TSET_NOOP 0
#define TSET_BUILD 1
#define TSET_MOVE 2
#define TSET_ANYWHERE 3
#define TSET_HOME 4
#define TSET_ONEC 5
#define TSET_ANYC 6
#define TSET_NONE 7
#define TSET_SUBKEY 8
int predict
int signedon
int i_am_really_master
int i_am_really_jk
int starting
int player
int listflg
int broadcast
int broadcast_master_only
int broad_part
int broadcast_absence_adjust
char broad_list[36+1]
int broad_allbut
int broad_read
int broad_skip
int broad_signon
int broad_params
int read_phase
int moreaddr
int create
int msg_header_done
char baddr[80]
char raddr[80]
char* xaddr
char* someone
char* somepower
char name[20]
int master_press
int master_only_press
int ppress_read
int ppress_skip
int ppress_done
int diary_read
int diary_skip
int diary_done
char Mfile[40]
char Tfile[40]
FILE* mail_bfp
FILE* mail_mbfp
FILE* mail_mfp
FILE* mail_nfp
FILE* mail_ofp
FILE* mail_qfp
FILE* mail_ifp
FILE* mail_pfp
FILE* mail_tfp
FILE* mail_ppfp
FILE* diaryfp
char mail_bfile[20]
char mail_mbfile[20]
char* mail_rfile
External Variables
accesses
extern char* accesses[]
levels
extern char* levels[]
avalue
extern int avalue[]
lvalue
extern int lvalue[]
naccess
extern int naccess
nlevel
extern int nlevel
void ChangeTransform ( char* s )
int CheckAndToggleFlag ( int* flag, int flag_mask, char* flag_name, int set_on, char* warn_text, int inverted_logic )
*** See if we are ready to start game or not yet, and start it if we are
***
void CheckForGameStart ( void )
int CheckNotStarted ( char* text )
char* SetSubkey ( int act, char* s )
Show the curent preference settings
** Note: Caller DID check this is the master calling this routine?!
**
void ShowPreferences ( FILE* out_fptr )
void ShowTransformSettings ( FILE* rfp )
int absence_delay ( int max_delay, long delay_period )
void break_date_into_two ( char* instring, char* s1, char* s2 )
void mail_setp ( char* s, void )
| Prototyped in:
| functions.h
|
| Calls:
| ChangeTransform() | ml_set.c
|
|
| CheckAndToggleFlag() | ml_set.c
|
|
| CheckForGameStart() | ml_set.c
|
|
| CheckNotStarted() | ml_set.c
|
|
| DIPDEBUG() | diplog.c
|
|
| GetNativeIndex() | lib.c
|
|
| NowString() | lib.c
|
|
| ShowPreferences() | ml_set.c
|
|
| ShowTransformSettings() | ml_set.c
|
|
| abs_time() | jm.c
|
|
| absence_delay() | ml_set.c
|
|
| break_date_into_two() | ml_set.c
|
|
| check_can_vote() | draw.c
|
|
| chkconc() | draw.c
|
|
| chkdraw() | draw.c
|
|
| config() | conf.c
|
|
| deadline() | lib.c
|
|
| getseq() | dipent.c
|
|
| lookfor() | lib.c
|
|
| lookforv() | lib.c
|
|
| mail_date() | ml_date.c
|
|
| mail_getaddr() | ml_getaddr.c
|
|
| mfprintf() | mfprintf.c
|
|
| process_allowdeny() | ml_set.c
|
|
| process_conc() | draw.c
|
|
| process_draw() | draw.c
|
|
| ptime() | jm.c
|
|
| real_bailout() | bailout.c
|
|
| atof(), atoi(), chkpref(), exit(), fclose(), fgets(), fopen(), fprintf(), fputc(), fputs(), free(), get_data(), localtime(), memcpy(), perror(), printlevel(), remove(), sprintf(), sscanf(), strcpy(), strlen(), strncasecmp(), strstr(), time(), tolower()
|
| Called by:
| mail() | mail.c
|
| References Variables:
| broad_params | ml_set.c
|
|
| broadcast | ml_set.c
|
|
| broadcast_master_only | ml_set.c
|
|
| cfp | global.c
|
|
| ded | ascii_to_ded.c
|
|
| dipent | global.c
|
|
| i_am_really_master | ml_set.c
|
|
| inp | global.c
|
|
| log_fp | global.c
|
|
| mail_bfp | ml_set.c
|
|
| mail_mbfp | ml_set.c
|
|
| mail_pfp | ml_set.c
|
|
| mail_tfp | ml_set.c
|
|
| name | ml_set.c
|
|
| player | ml_set.c
|
|
| raddr | ml_set.c
|
|
| read_phase | ml_set.c
|
|
| rfp | global.c
|
|
| signedon | ml_set.c
|
|
| someone | ml_set.c
|
|
| somepower | ml_set.c
|
|
| starting | ml_set.c
|
|
| subjectline | global.c
|
|
| xaddr | ml_set.c
|
|
| accesses, avalue, levels, lvalue, naccess, nlevel, pletter, powers, variants, vvalue
|
void process_allowdeny ( char** info, char* basename )