10 #define GBVERSION "1.7.3" 29 #define MAILER "/usr/lib/sendmail" 30 #define SAVETO "racegen.save" 31 #define TMP "/tmp/racegen.save" 36 #define START_RECORD_STRING "<************" 37 #define END_RECORD_STRING "************>" 44 #define FIRST_ATTRIBUTE 0
68 #define ATTR_RANGE(a) (attr[a].maximum - attr[a].minimum) 103 #define FIRST_HOME_PLANET_TYPE 0
120 #define FIRST_RACE_TYPE 0
132 #define FIRST_PRIV_TYPE 0
144 #define FIRST_SECTOR_TYPE 0
167 #define STATUS_ENROLLED -2
168 #define STATUS_UNENROLLABLE -1
169 #define STATUS_UNBALANCED 0
170 #define STATUS_BALANCED 1
194 extern struct x race_info, cost_info,
last;
int critique_to_file(FILE *f, int rigorous_checking, int is_player_race)
double compat[N_SECTOR_TYPES]
struct x race_info cost_info last
const double compat_cov[N_SECTOR_TYPES][N_SECTOR_TYPES]
const int planet_cost[N_HOME_PLANET_TYPES]
double attr[N_ATTRIBUTES]
const char * priv_print_name[N_PRIV_TYPES]
int load_from_file(FILE *g)
const int race_cost[N_RACE_TYPES]
#define FIRST_SECTOR_TYPE
#define FIRST_HOME_PLANET_TYPE
void print_to_file(FILE *f, int verbose)
const char * planet_print_name[N_HOME_PLANET_TYPES]
int Dialogue(const char *,...)
const double planet_compat_cov[N_HOME_PLANET_TYPES][N_SECTOR_TYPES]
const char * sector_print_name[N_SECTOR_TYPES]
#define N_HOME_PLANET_TYPES
void modify_print_loop(int level)
#define LAST_HOME_PLANET_TYPE
const int n_sector_types_cost[N_SECTOR_TYPES]
const char * race_print_name[N_RACE_TYPES]