summaryrefslogtreecommitdiff
path: root/src/deh_main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/deh_main.h')
-rw-r--r--src/deh_main.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/deh_main.h b/src/deh_main.h
index 4b58a1ad..9ac2c6c7 100644
--- a/src/deh_main.h
+++ b/src/deh_main.h
@@ -27,11 +27,10 @@
#ifndef DEH_MAIN_H
#define DEH_MAIN_H
-#include <stdio.h>
-
#include "doomtype.h"
#include "doomfeatures.h"
#include "md5.h"
+#include "deh_str.h"
// These are the limits that dehacked uses (from dheinit.h in the dehacked
// source). If these limits are exceeded, it does not generate an error, but
@@ -49,26 +48,6 @@ boolean DEH_ParseAssignment(char *line, char **variable_name, char **value);
void DEH_Checksum(md5_digest_t digest);
-// deh_text.c:
-//
-// Used to do dehacked text substitutions throughout the program
-
-#ifdef FEATURE_DEHACKED
-
-char *DEH_String(char *s);
-void DEH_printf(char *fmt, ...);
-void DEH_fprintf(FILE *fstream, char *fmt, ...);
-void DEH_snprintf(char *buffer, size_t len, char *fmt, ...);
-
-#else
-
-#define DEH_String(x) (x)
-#define DEH_printf printf
-#define DEH_fprintf fprintf
-#define DEH_snprintf snprintf
-
-#endif
-
extern boolean deh_allow_long_strings;
extern boolean deh_allow_long_cheats;
extern boolean deh_apply_cheats;