159 if (filename == NULL)
180 bool no_create =
false;
183 species = &new_species;
193 for (i = 0; i < (
int)Species_info.size(); i++)
195 if (!
stricmp(Species_info[i].species_name, species_name))
197 species = &Species_info[
i];
210 bool iff_found =
false;
215 for (
int iLoop = 0; iLoop <
Num_iffs; iLoop++)
339 Species_info.push_back(new_species);
350 mprintf((
"TABLES: Unable to parse '%s'! Error message = %s.\n", (filename) ? filename :
NOX(
"<default species_defs.tbl>"), e.what()));
362 Species_info.clear();
void parse_thrust_glows(species_info *species, bool no_create)
void fs2netd_add_table_validation(const char *tblname)
char cmeasure_name[NAME_LENGTH]
void _cdecl void void _cdecl void _cdecl Warning(char *filename, int line, SCP_FORMAT_STRING const char *format,...) SCP_FORMAT_STRING_ARGS(3
thrust_pair_bitmap thruster_distortion_info
void generic_bitmap_init(generic_bitmap *gb, const char *filename)
union species_info::@265 fred_color
void parse_thrust_anims(species_info *species, bool no_create)
const char * defaults_get_file(const char *filename)
int required_string_either(char *str1, char *str2)
Checks for one of two required strings.
void stuff_float(float *f)
iff_info Iff_info[MAX_IFFS]
thrust_pair_bitmap thruster_tertiary_glow_info
thrust_info thruster_info
typedef int(SCP_EXT_CALLCONV *SCPDLL_PFVERSION)(SCPDLL_Version *)
int cf_exists_full(const char *filename, int dir_type)
thrust_pair_bitmap thruster_secondary_glow_info
void stuff_string(char *outstr, int type, int len, char *terminators)
int required_string(const char *pstr)
int optional_string(const char *pstr)
generic_bitmap debris_texture
void read_file_text(const char *filename, int mode, char *processed_text, char *raw_text)
void read_file_text_from_array(const char *array, char *processed_text, char *raw_text)
void reset_parse(char *text)
int stuff_int_list(int *ilp, int max_ints, int lookup_type)
void generic_anim_init(generic_anim *ga)
char species_name[NAME_LENGTH]
SCP_vector< species_info > Species_info
int parse_modular_table(const char *name_check, void(*parse_callback)(const char *filename), int path_type, int sort_type)
char filename[MAX_FILENAME_LEN]
char filename[MAX_FILENAME_LEN]
struct species_info::@265::@266 rgb
void parse_species_tbl(const char *filename)
char iff_name[NAME_LENGTH]