summaryrefslogtreecommitdiff
path: root/src/deh_main.h
diff options
context:
space:
mode:
authorFabian Greffrath2014-09-11 12:37:28 +0200
committerFabian Greffrath2014-09-11 12:37:28 +0200
commit5f3eb6fee3165a44ca032c9642130dddb2128e1d (patch)
tree8c5f74f4ced867cd2ac50f8b8377734883a774cb /src/deh_main.h
parent366f45c10a632443767cbda6f7b2f3d98a60d60b (diff)
downloadchocolate-doom-5f3eb6fee3165a44ca032c9642130dddb2128e1d.tar.gz
chocolate-doom-5f3eb6fee3165a44ca032c9642130dddb2128e1d.tar.bz2
chocolate-doom-5f3eb6fee3165a44ca032c9642130dddb2128e1d.zip
improvements to the [STRINGS] section parser
- restructure DEH_ReadLine() to avoid use of "goto" - bex_string_t type name ends in "_t" - declare constant table as "static const" - add magic comment *allow-extended-strings* and corresponding variable deh_allow_extended_strings - fix logical error when no [STRINGS] section is registered to which corrent_section could be compared
Diffstat (limited to 'src/deh_main.h')
-rw-r--r--src/deh_main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/deh_main.h b/src/deh_main.h
index 9689d1c2..4b3f9d8a 100644
--- a/src/deh_main.h
+++ b/src/deh_main.h
@@ -39,6 +39,7 @@ boolean DEH_ParseAssignment(char *line, char **variable_name, char **value);
void DEH_Checksum(sha1_digest_t digest);
+extern boolean deh_allow_extended_strings;
extern boolean deh_allow_long_strings;
extern boolean deh_allow_long_cheats;
extern boolean deh_apply_cheats;