From cb72358ee930b29f4840b04bbb81f8d8444ce481 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 13 Sep 2014 03:55:00 -0400 Subject: 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. --- src/deh_main.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/deh_main.h') 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); -- cgit v1.2.3