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 ad31af7d..ea9e42da 100644
--- a/src/deh_main.h
+++ b/src/deh_main.h
@@ -27,10 +27,9 @@
#ifndef DEH_MAIN_H
#define DEH_MAIN_H
-#include <stdio.h>
-
#include "doomtype.h"
#include "doomfeatures.h"
+#include "deh_str.h"
#include "sha1.h"
// These are the limits that dehacked uses (from dheinit.h in the dehacked
@@ -49,26 +48,6 @@ boolean DEH_ParseAssignment(char *line, char **variable_name, char **value);
void DEH_Checksum(sha1_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;