diff options
author | Simon Howard | 2014-09-13 03:55:00 -0400 |
---|---|---|
committer | Simon Howard | 2014-09-13 03:55:00 -0400 |
commit | cb72358ee930b29f4840b04bbb81f8d8444ce481 (patch) | |
tree | c2b9865637b9cbd93e53e1cc7c26d4553dc4a203 /src/deh_main.h | |
parent | 9531cdfcfadc0d4c2b767f27238bc9ac742787e0 (diff) | |
download | chocolate-doom-cb72358ee930b29f4840b04bbb81f8d8444ce481.tar.gz chocolate-doom-cb72358ee930b29f4840b04bbb81f8d8444ce481.tar.bz2 chocolate-doom-cb72358ee930b29f4840b04bbb81f8d8444ce481.zip |
dehacked: Load Freedoom DEHACKED lump on startup.
If using one of the Freedoom IWADs, detect it by checking for the
FREEDOOM lump, and then load its DEHACKED lump to apply the
cosmetic string changes that it includes. In case we're using an old
version of one of the Freedoom IWADs, don't bomb out with an error
while parsing the DEHACKED lump.
Diffstat (limited to 'src/deh_main.h')
-rw-r--r-- | src/deh_main.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deh_main.h b/src/deh_main.h index 4b3f9d8a..c9d41bf2 100644 --- a/src/deh_main.h +++ b/src/deh_main.h @@ -32,8 +32,8 @@ void DEH_Init(void); int DEH_LoadFile(char *filename); -int DEH_LoadLump(int lumpnum, boolean allow_long); -int DEH_LoadLumpByName(char *name, boolean allow_long); +int DEH_LoadLump(int lumpnum, boolean allow_long, boolean allow_error); +int DEH_LoadLumpByName(char *name, boolean allow_long, boolean allow_error); boolean DEH_ParseAssignment(char *line, char **variable_name, char **value); |