diff options
Diffstat (limited to 'src/deh_str.h')
-rw-r--r-- | src/deh_str.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/deh_str.h b/src/deh_str.h index 986536de..06bcb420 100644 --- a/src/deh_str.h +++ b/src/deh_str.h @@ -27,6 +27,8 @@ #ifndef DEH_STR_H #define DEH_STR_H +#include <stdio.h> + #include "doomfeatures.h" // Used to do dehacked text substitutions throughout the program @@ -34,11 +36,18 @@ #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, ...); void DEH_AddStringReplacement(char *from_text, char *to_text); + #else #define DEH_String(x) (x) +#define DEH_printf printf +#define DEH_fprintf fprintf +#define DEH_snprintf snprintf #endif |