FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#include <setjmp.h>
#include "ctype.h"
#include "globalincs/version.h"
#include "localization/fhash.h"
#include "localization/localize.h"
#include "mission/missionparse.h"
#include "parse/encrypt.h"
#include "parse/parselo.h"
#include "parse/sexp.h"
#include "ship/ship.h"
#include "weapon/weapon.h"
Go to the source code of this file.
Macros | |
#define | ERROR_LENGTH 64 |
#define | RS_MAX_TRIES 5 |
#define | SPLIT_STR_BUFFER_SIZE 512 |
Functions | |
void | allocate_mission_text (int size) |
int | is_white_space (char ch) |
int | is_gray_space (char ch) |
int | is_parenthesis (char ch) |
void | ignore_white_space () |
void | ignore_gray_space () |
void | drop_trailing_white_space (char *str) |
void | drop_trailing_white_space (SCP_string &str) |
void | drop_leading_white_space (char *str) |
void | drop_leading_white_space (SCP_string &str) |
char * | drop_white_space (char *str) |
void | drop_white_space (SCP_string &str) |
void | skip_token () |
void | diag_printf (char *format,...) |
char * | next_tokens () |
int | get_line_num () |
void | error_display (int error_level, char *format,...) |
void | advance_to_eoln (char *more_terminators) |
void | advance_to_next_white () |
int | skip_to_string (char *pstr, char *end) |
int | skip_to_start_of_string (char *pstr, char *end) |
int | skip_to_start_of_string_either (char *pstr1, char *pstr2, char *end) |
int | required_string (const char *pstr) |
int | check_for_eof () |
int | check_for_eoln () |
int | check_for_string (const char *pstr) |
int | check_for_string_raw (const char *pstr) |
int | optional_string (const char *pstr) |
int | optional_string_either (char *str1, char *str2) |
int | optional_string_one_of (int arg_count,...) |
int | required_string_fred (char *pstr, char *end) |
int | optional_string_fred (char *pstr, char *end, char *end2) |
int | required_string_either (char *str1, char *str2) |
Checks for one of two required strings. More... | |
int | required_string_one_of (int arg_count,...) |
Checks for one of any of the given required strings. More... | |
int | required_string_either_fred (char *str1, char *str2) |
void | copy_to_eoln (char *outstr, char *more_terminators, char *instr, int max) |
void | copy_to_eoln (SCP_string &outstr, char *more_terminators, char *instr) |
void | copy_to_next_white (char *outstr, char *instr, int max) |
void | copy_to_next_white (SCP_string &outstr, char *instr) |
char * | alloc_text_until (char *instr, char *endstr) |
void | copy_text_until (char *outstr, char *instr, char *endstr, int max_chars) |
void | copy_text_until (SCP_string &outstr, char *instr, char *endstr) |
void | stuff_string_white (char *outstr, int len) |
void | stuff_string_white (SCP_string &outstr) |
void | stuff_string_until (char *outstr, char *endstr, int len) |
void | stuff_string_until (SCP_string &outstr, char *endstr) |
char * | alloc_block (char *startstr, char *endstr, int extra_chars) |
int | get_string_or_variable (char *str) |
int | get_string_or_variable (SCP_string &str) |
int | get_string (char *str, int max) |
void | get_string (SCP_string &str) |
void | stuff_string (char *outstr, int type, int len, char *terminators) |
void | stuff_string (SCP_string &outstr, int type, char *terminators) |
void | stuff_string_line (char *outstr, int len) |
void | stuff_string_line (SCP_string &outstr) |
char * | stuff_and_malloc_string (int type, char *terminators) |
void | stuff_malloc_string (char **dest, int type, char *terminators) |
void | compact_multitext_string (char *str) |
void | compact_multitext_string (SCP_string &str) |
int | maybe_convert_foreign_character (int ch) |
void | maybe_convert_foreign_characters (char *line) |
void | maybe_convert_foreign_characters (SCP_string &line) |
bool | get_number_before_separator (int &number, int &number_chars, const char *text, char separator) |
bool | get_number_before_separator (int &number, int &number_chars, const SCP_string &text, SCP_string::iterator text_pos, char separator) |
bool | matches_version_specific_tag (const char *line_start, bool &compatible_version, int &tag_len) |
void | strip_comments (char *line, bool &in_quote, bool &in_multiline_comment_a, bool &in_multiline_comment_b) |
int | parse_get_line (char *lineout, int max_line_len, char *start, int max_size, char *cur) |
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) |
int | is_unicode (char *text) |
void | stop_parse () |
void | read_raw_file_text (const char *filename, int mode, char *raw_text) |
void | process_raw_file_text (char *processed_text, char *raw_text) |
void | debug_show_mission_text () |
float | atof2 () |
int | atoi2 () |
void | stuff_float (float *f) |
int | stuff_float_optional (float *f, bool raw) |
void | stuff_int (int *i) |
int | stuff_int_optional (int *i, bool raw) |
int | stuff_int_or_variable (int &i, bool positive_value=false) |
int | stuff_int_or_variable (int *ilp, int count, bool positive_value=false) |
void | stuff_boolean (int *i, bool a_to_eol) |
void | stuff_boolean_flag (int *i, int flag, bool a_to_eol) |
void | stuff_boolean (bool *b, bool a_to_eol) |
int | stuff_bool_list (bool *blp, int max_bools) |
void | stuff_ubyte (ubyte *i) |
int | parse_string_flag_list (int *dest, flag_def_list defs[], int defs_size) |
int | stuff_string_list (SCP_vector< SCP_string > &slp) |
int | stuff_string_list (char slp[][NAME_LENGTH], int max_strings) |
const char * | get_lookup_type_name (int lookup_type) |
int | stuff_int_list (int *ilp, int max_ints, int lookup_type) |
void | clean_loadout_list_entry () |
int | stuff_loadout_list (int *ilp, int max_ints, int lookup_type) |
int | stuff_float_list (float *flp, int max_floats) |
void | mark_int_list (int *ilp, int max_ints, int lookup_type) |
void | stuff_vec3d (vec3d *vp) |
void | stuff_parenthesized_vec3d (vec3d *vp) |
int | stuff_vec3d_list (vec3d *vlp, int max_vecs) |
int | stuff_vec3d_list (SCP_vector< vec3d > &vec_list) |
void | stuff_matrix (matrix *mp) |
int | string_lookup (char *str1, char *strlist[], int max, char *description, int say_errors) |
void | find_and_stuff (char *id, int *addr, int f_type, char *strlist[], int max, char *description) |
void | find_and_stuff_optional (char *id, int *addr, int f_type, char *strlist[], int max, char *description) |
int | match_and_stuff (int f_type, char *strlist[], int max, char *description) |
void | find_and_stuff_or_add (char *id, int *addr, int f_type, char *strlist[], int *total, int max, char *description) |
void | pause_parse () |
void | unpause_parse () |
void | reset_parse (char *text) |
void | display_parse_diagnostics () |
char * | split_str_once (char *src, int max_pixel_w) |
int | split_str (const char *src, int max_pixel_w, int *n_chars, const char **p_str, int max_lines, char ignore_char) |
int | split_str (const char *src, int max_pixel_w, SCP_vector< int > &n_chars, SCP_vector< const char * > &p_str, char ignore_char) |
int | subsystem_stricmp (const char *str1, const char *str2) |
const char * | stristr (const char *str, const char *substr) |
char * | stristr (char *str, const char *substr) |
bool | can_construe_as_integer (const char *text) |
void | vsprintf (SCP_string &dest, const char *format, va_list ap) |
void | sprintf (SCP_string &dest, const char *format,...) |
bool | end_string_at_first_hash_symbol (char *src) |
bool | end_string_at_first_hash_symbol (SCP_string &src) |
char * | get_pointer_to_first_hash_symbol (char *src) |
const char * | get_pointer_to_first_hash_symbol (const char *src) |
int | get_index_of_first_hash_symbol (SCP_string &src) |
int | replace_one (char *str, char *oldstr, char *newstr, uint max_len, int range) |
int | replace_all (char *str, char *oldstr, char *newstr, uint max_len, int range) |
SCP_string & | replace_one (SCP_string &context, const SCP_string &from, const SCP_string &to) |
SCP_string & | replace_one (SCP_string &context, const char *from, const char *to) |
SCP_string & | replace_all (SCP_string &context, const SCP_string &from, const SCP_string &to) |
SCP_string & | replace_all (SCP_string &context, const char *from, const char *to) |
int | strextcmp (const char *s1, const char *s2) |
bool | drop_extension (char *str) |
bool | drop_extension (SCP_string &str) |
void | backspace (char *src) |
void | format_integer_with_commas (char *buf, int integer, bool use_comma_with_four_digits) |
int | scan_fso_version_string (const char *text, int *major, int *minor, int *build, int *revis) |
void | truncate_message_lines (SCP_string &text, int num_allowed_lines) |
void | parse_float_list (float *plist, int size) |
void | parse_int_list (int *ilist, int size) |
int | parse_modular_table (const char *name_check, void(*parse_callback)(const char *filename), int path_type, int sort_type) |
Variables | |
bool | Parsing_modular_table = false |
char | Current_filename [MAX_PATH_LEN] |
char | Current_filename_save [MAX_PATH_LEN] |
char | Current_filename_sub [MAX_PATH_LEN] |
char | Error_str [ERROR_LENGTH] |
int | my_errno |
int | Warning_count |
int | Error_count |
int | Warning_count_save = 0 |
int | Error_count_save = 0 |
int | fred_parse_flag = 0 |
int | Token_found_flag |
char * | Mission_text = NULL |
char * | Mission_text_raw = NULL |
char * | Mp = NULL |
char * | Mp_save = NULL |
const char * | token_found |
int | Cmdline_noparseerrors |
#define ERROR_LENGTH 64 |
Definition at line 30 of file parselo.cpp.
#define RS_MAX_TRIES 5 |
Definition at line 31 of file parselo.cpp.
#define SPLIT_STR_BUFFER_SIZE 512 |
Definition at line 3390 of file parselo.cpp.
void advance_to_eoln | ( | char * | more_terminators | ) |
Definition at line 335 of file parselo.cpp.
void advance_to_next_white | ( | ) |
Definition at line 354 of file parselo.cpp.
char* alloc_block | ( | char * | startstr, |
char * | endstr, | ||
int | extra_chars | ||
) |
Definition at line 1014 of file parselo.cpp.
char* alloc_text_until | ( | char * | instr, |
char * | endstr | ||
) |
Definition at line 889 of file parselo.cpp.
Definition at line 2088 of file parselo.cpp.
float atof2 | ( | ) |
Definition at line 2289 of file parselo.cpp.
int atoi2 | ( | ) |
Definition at line 2307 of file parselo.cpp.
void backspace | ( | char * | src | ) |
Definition at line 4069 of file parselo.cpp.
bool can_construe_as_integer | ( | const char * | text | ) |
Definition at line 3778 of file parselo.cpp.
int check_for_eof | ( | ) |
Definition at line 492 of file parselo.cpp.
int check_for_eoln | ( | ) |
Returns 1 if it finds a newline character precded by any amount of grayspace.
Definition at line 505 of file parselo.cpp.
int check_for_string | ( | const char * | pstr | ) |
Definition at line 517 of file parselo.cpp.
int check_for_string_raw | ( | const char * | pstr | ) |
Definition at line 528 of file parselo.cpp.
void clean_loadout_list_entry | ( | ) |
Definition at line 2869 of file parselo.cpp.
void compact_multitext_string | ( | char * | str | ) |
Definition at line 1438 of file parselo.cpp.
void compact_multitext_string | ( | SCP_string & | str | ) |
Definition at line 1462 of file parselo.cpp.
Definition at line 923 of file parselo.cpp.
void copy_text_until | ( | SCP_string & | outstr, |
char * | instr, | ||
char * | endstr | ||
) |
Definition at line 950 of file parselo.cpp.
Definition at line 786 of file parselo.cpp.
void copy_to_eoln | ( | SCP_string & | outstr, |
char * | more_terminators, | ||
char * | instr | ||
) |
Definition at line 814 of file parselo.cpp.
Definition at line 837 of file parselo.cpp.
void copy_to_next_white | ( | SCP_string & | outstr, |
char * | instr | ||
) |
Definition at line 866 of file parselo.cpp.
void debug_show_mission_text | ( | ) |
Definition at line 2280 of file parselo.cpp.
void diag_printf | ( | char * | format, |
... | |||
) |
Definition at line 229 of file parselo.cpp.
void display_parse_diagnostics | ( | ) |
Definition at line 3320 of file parselo.cpp.
bool drop_extension | ( | char * | str | ) |
Definition at line 4043 of file parselo.cpp.
bool drop_extension | ( | SCP_string & | str | ) |
Definition at line 4056 of file parselo.cpp.
void drop_leading_white_space | ( | char * | str | ) |
Definition at line 115 of file parselo.cpp.
void drop_leading_white_space | ( | SCP_string & | str | ) |
Definition at line 135 of file parselo.cpp.
void drop_trailing_white_space | ( | char * | str | ) |
Definition at line 93 of file parselo.cpp.
void drop_trailing_white_space | ( | SCP_string & | str | ) |
Definition at line 104 of file parselo.cpp.
char* drop_white_space | ( | char * | str | ) |
Definition at line 159 of file parselo.cpp.
void drop_white_space | ( | SCP_string & | str | ) |
Definition at line 183 of file parselo.cpp.
bool end_string_at_first_hash_symbol | ( | char * | src | ) |
Definition at line 3833 of file parselo.cpp.
bool end_string_at_first_hash_symbol | ( | SCP_string & | src | ) |
Definition at line 3852 of file parselo.cpp.
Definition at line 308 of file parselo.cpp.
void find_and_stuff | ( | char * | id, |
int * | addr, | ||
int | f_type, | ||
char * | strlist[], | ||
int | max, | ||
char * | description | ||
) |
Definition at line 3207 of file parselo.cpp.
void find_and_stuff_optional | ( | char * | id, |
int * | addr, | ||
int | f_type, | ||
char * | strlist[], | ||
int | max, | ||
char * | description | ||
) |
Definition at line 3229 of file parselo.cpp.
void find_and_stuff_or_add | ( | char * | id, |
int * | addr, | ||
int | f_type, | ||
char * | strlist[], | ||
int * | total, | ||
int | max, | ||
char * | description | ||
) |
Definition at line 3251 of file parselo.cpp.
Definition at line 4084 of file parselo.cpp.
int get_index_of_first_hash_symbol | ( | SCP_string & | src | ) |
Definition at line 3882 of file parselo.cpp.
int get_line_num | ( | ) |
Definition at line 261 of file parselo.cpp.
const char* get_lookup_type_name | ( | int | lookup_type | ) |
Definition at line 2760 of file parselo.cpp.
bool get_number_before_separator | ( | int & | number, |
int & | number_chars, | ||
const char * | text, | ||
char | separator | ||
) |
Definition at line 1738 of file parselo.cpp.
bool get_number_before_separator | ( | int & | number, |
int & | number_chars, | ||
const SCP_string & | text, | ||
SCP_string::iterator | text_pos, | ||
char | separator | ||
) |
Definition at line 1772 of file parselo.cpp.
char* get_pointer_to_first_hash_symbol | ( | char * | src | ) |
Definition at line 3868 of file parselo.cpp.
const char* get_pointer_to_first_hash_symbol | ( | const char * | src | ) |
Definition at line 3875 of file parselo.cpp.
Stuff a string (" chars ") into *str, return length. Accepts an optional max length parameter. If it is omitted or negative, then no max length is enforced.
Definition at line 1157 of file parselo.cpp.
void get_string | ( | SCP_string & | str | ) |
Stuff a string (" chars ") into str.
Definition at line 1176 of file parselo.cpp.
int get_string_or_variable | ( | char * | str | ) |
Definition at line 1084 of file parselo.cpp.
int get_string_or_variable | ( | SCP_string & | str | ) |
Definition at line 1119 of file parselo.cpp.
void ignore_gray_space | ( | ) |
Definition at line 83 of file parselo.cpp.
void ignore_white_space | ( | ) |
Definition at line 77 of file parselo.cpp.
int is_gray_space | ( | char | ch | ) |
Definition at line 65 of file parselo.cpp.
int is_parenthesis | ( | char | ch | ) |
Definition at line 70 of file parselo.cpp.
int is_unicode | ( | char * | text | ) |
Definition at line 2051 of file parselo.cpp.
int is_white_space | ( | char | ch | ) |
Definition at line 59 of file parselo.cpp.
Definition at line 3022 of file parselo.cpp.
Definition at line 3243 of file parselo.cpp.
bool matches_version_specific_tag | ( | const char * | line_start, |
bool & | compatible_version, | ||
int & | tag_len | ||
) |
Definition at line 1805 of file parselo.cpp.
Definition at line 1486 of file parselo.cpp.
void maybe_convert_foreign_characters | ( | char * | line | ) |
Definition at line 1711 of file parselo.cpp.
void maybe_convert_foreign_characters | ( | SCP_string & | line | ) |
Definition at line 1725 of file parselo.cpp.
char* next_tokens | ( | ) |
Definition at line 245 of file parselo.cpp.
int optional_string | ( | const char * | pstr | ) |
Definition at line 539 of file parselo.cpp.
int optional_string_either | ( | char * | str1, |
char * | str2 | ||
) |
Definition at line 551 of file parselo.cpp.
int optional_string_fred | ( | char * | pstr, |
char * | end, | ||
char * | end2 | ||
) |
Definition at line 630 of file parselo.cpp.
Definition at line 567 of file parselo.cpp.
Definition at line 4182 of file parselo.cpp.
Definition at line 1962 of file parselo.cpp.
Definition at line 4194 of file parselo.cpp.
int parse_modular_table | ( | const char * | name_check, |
void(*)(const char *filename) | parse_callback, | ||
int | path_type, | ||
int | sort_type | ||
) |
Definition at line 4205 of file parselo.cpp.
int parse_string_flag_list | ( | int * | dest, |
flag_def_list | defs[], | ||
int | defs_size | ||
) |
Definition at line 2665 of file parselo.cpp.
void pause_parse | ( | ) |
Definition at line 3272 of file parselo.cpp.
void process_raw_file_text | ( | char * | processed_text, |
char * | raw_text | ||
) |
Definition at line 2194 of file parselo.cpp.
Definition at line 1995 of file parselo.cpp.
void read_file_text_from_array | ( | const char * | array, |
char * | processed_text, | ||
char * | raw_text | ||
) |
Definition at line 2022 of file parselo.cpp.
Definition at line 2127 of file parselo.cpp.
Definition at line 3941 of file parselo.cpp.
SCP_string& replace_all | ( | SCP_string & | context, |
const SCP_string & | from, | ||
const SCP_string & | to | ||
) |
Definition at line 3979 of file parselo.cpp.
SCP_string& replace_all | ( | SCP_string & | context, |
const char * | from, | ||
const char * | to | ||
) |
Definition at line 3995 of file parselo.cpp.
Definition at line 3889 of file parselo.cpp.
SCP_string& replace_one | ( | SCP_string & | context, |
const SCP_string & | from, | ||
const SCP_string & | to | ||
) |
Definition at line 3958 of file parselo.cpp.
SCP_string& replace_one | ( | SCP_string & | context, |
const char * | from, | ||
const char * | to | ||
) |
Definition at line 3968 of file parselo.cpp.
int required_string | ( | const char * | pstr | ) |
Definition at line 468 of file parselo.cpp.
int required_string_either | ( | char * | str1, |
char * | str2 | ||
) |
Checks for one of two required strings.
0 | for str1 match |
1 | for str2 match |
parse::ParseException | If neither strings were found |
Advances the Mp until a string is found or exceeds RS_MAX_TRIES. Once a string is found, Mp is located at the start of the found string.
Definition at line 673 of file parselo.cpp.
int required_string_either_fred | ( | char * | str1, |
char * | str2 | ||
) |
Definition at line 758 of file parselo.cpp.
int required_string_fred | ( | char * | pstr, |
char * | end | ||
) |
Definition at line 593 of file parselo.cpp.
Checks for one of any of the given required strings.
By ngld, with some tweaks by MageKing17.
Definition at line 708 of file parselo.cpp.
void reset_parse | ( | char * | text | ) |
Definition at line 3305 of file parselo.cpp.
int scan_fso_version_string | ( | const char * | text, |
int * | major, | ||
int * | minor, | ||
int * | build, | ||
int * | revis | ||
) |
Definition at line 4126 of file parselo.cpp.
int skip_to_start_of_string | ( | char * | pstr, |
char * | end | ||
) |
Definition at line 404 of file parselo.cpp.
int skip_to_start_of_string_either | ( | char * | pstr1, |
char * | pstr2, | ||
char * | end | ||
) |
Definition at line 433 of file parselo.cpp.
int skip_to_string | ( | char * | pstr, |
char * | end | ||
) |
Definition at line 375 of file parselo.cpp.
void skip_token | ( | ) |
Definition at line 219 of file parselo.cpp.
int split_str | ( | const char * | src, |
int | max_pixel_w, | ||
int * | n_chars, | ||
const char ** | p_str, | ||
int | max_lines, | ||
char | ignore_char | ||
) |
Definition at line 3412 of file parselo.cpp.
int split_str | ( | const char * | src, |
int | max_pixel_w, | ||
SCP_vector< int > & | n_chars, | ||
SCP_vector< const char * > & | p_str, | ||
char | ignore_char | ||
) |
Definition at line 3534 of file parselo.cpp.
char* split_str_once | ( | char * | src, |
int | max_pixel_w | ||
) |
Definition at line 3330 of file parselo.cpp.
void sprintf | ( | SCP_string & | dest, |
const char * | format, | ||
... | |||
) |
Definition at line 3824 of file parselo.cpp.
void stop_parse | ( | ) |
Definition at line 2071 of file parselo.cpp.
int strextcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 4013 of file parselo.cpp.
Definition at line 3187 of file parselo.cpp.
void strip_comments | ( | char * | line, |
bool & | in_quote, | ||
bool & | in_multiline_comment_a, | ||
bool & | in_multiline_comment_b | ||
) |
Definition at line 1869 of file parselo.cpp.
const char* stristr | ( | const char * | str, |
const char * | substr | ||
) |
Definition at line 3680 of file parselo.cpp.
char* stristr | ( | char * | str, |
const char * | substr | ||
) |
Definition at line 3729 of file parselo.cpp.
char* stuff_and_malloc_string | ( | int | type, |
char * | terminators | ||
) |
Definition at line 1406 of file parselo.cpp.
Definition at line 2591 of file parselo.cpp.
Definition at line 2519 of file parselo.cpp.
void stuff_boolean | ( | bool * | b, |
bool | a_to_eol | ||
) |
Definition at line 2543 of file parselo.cpp.
Definition at line 2529 of file parselo.cpp.
Definition at line 2328 of file parselo.cpp.
Definition at line 2988 of file parselo.cpp.
Definition at line 2343 of file parselo.cpp.
Definition at line 2372 of file parselo.cpp.
Definition at line 2782 of file parselo.cpp.
Definition at line 2387 of file parselo.cpp.
Definition at line 2418 of file parselo.cpp.
Definition at line 2467 of file parselo.cpp.
Definition at line 2881 of file parselo.cpp.
Definition at line 1419 of file parselo.cpp.
Definition at line 3174 of file parselo.cpp.
Definition at line 3089 of file parselo.cpp.
Definition at line 1189 of file parselo.cpp.
void stuff_string | ( | SCP_string & | outstr, |
int | type, | ||
char * | terminators | ||
) |
Definition at line 1276 of file parselo.cpp.
Definition at line 1354 of file parselo.cpp.
void stuff_string_line | ( | SCP_string & | outstr | ) |
Definition at line 1381 of file parselo.cpp.
int stuff_string_list | ( | SCP_vector< SCP_string > & | slp | ) |
Definition at line 2689 of file parselo.cpp.
Definition at line 2725 of file parselo.cpp.
Definition at line 988 of file parselo.cpp.
void stuff_string_until | ( | SCP_string & | outstr, |
char * | endstr | ||
) |
Definition at line 1000 of file parselo.cpp.
Definition at line 969 of file parselo.cpp.
void stuff_string_white | ( | SCP_string & | outstr | ) |
Definition at line 980 of file parselo.cpp.
Definition at line 2646 of file parselo.cpp.
Definition at line 3082 of file parselo.cpp.
Definition at line 3114 of file parselo.cpp.
int stuff_vec3d_list | ( | SCP_vector< vec3d > & | vec_list | ) |
Definition at line 3147 of file parselo.cpp.
int subsystem_stricmp | ( | const char * | str1, |
const char * | str2 | ||
) |
Definition at line 3648 of file parselo.cpp.
void truncate_message_lines | ( | SCP_string & | text, |
int | num_allowed_lines | ||
) |
Definition at line 4154 of file parselo.cpp.
void unpause_parse | ( | ) |
Definition at line 3289 of file parselo.cpp.
void vsprintf | ( | SCP_string & | dest, |
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 3800 of file parselo.cpp.
int Cmdline_noparseerrors |
Definition at line 492 of file cmdline.cpp.
char Current_filename[MAX_PATH_LEN] |
Definition at line 36 of file parselo.cpp.
char Current_filename_save[MAX_PATH_LEN] |
Definition at line 37 of file parselo.cpp.
char Current_filename_sub[MAX_PATH_LEN] |
Definition at line 38 of file parselo.cpp.
int Error_count |
Definition at line 41 of file parselo.cpp.
int Error_count_save = 0 |
Definition at line 42 of file parselo.cpp.
char Error_str[ERROR_LENGTH] |
Definition at line 39 of file parselo.cpp.
int fred_parse_flag = 0 |
Definition at line 43 of file parselo.cpp.
char* Mission_text = NULL |
Definition at line 46 of file parselo.cpp.
char* Mission_text_raw = NULL |
Definition at line 47 of file parselo.cpp.
char* Mp = NULL |
Definition at line 48 of file parselo.cpp.
char * Mp_save = NULL |
Definition at line 48 of file parselo.cpp.
int my_errno |
Definition at line 40 of file parselo.cpp.
bool Parsing_modular_table = false |
Definition at line 34 of file parselo.cpp.
const char* token_found |
Definition at line 49 of file parselo.cpp.
int Token_found_flag |
Definition at line 44 of file parselo.cpp.
int Warning_count |
Definition at line 41 of file parselo.cpp.
int Warning_count_save = 0 |
Definition at line 42 of file parselo.cpp.