XenevaOS
Loading...
Searching...
No Matches
XenevaOS
Process
Doomgeneric
deh_str.h
Go to the documentation of this file.
1
//
2
// Copyright(C) 2005-2014 Simon Howard
3
//
4
// This program is free software; you can redistribute it and/or
5
// modify it under the terms of the GNU General Public License
6
// as published by the Free Software Foundation; either version 2
7
// of the License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
// GNU General Public License for more details.
13
//
14
//
15
// Dehacked string replacements
16
//
17
18
#ifndef DEH_STR_H
19
#define DEH_STR_H
20
21
#include <stdio.h>
22
23
#include "
doomfeatures.h
"
24
25
// Used to do dehacked text substitutions throughout the program
26
27
#ifdef FEATURE_DEHACKED
28
29
char
*
DEH_String
(
char
*s);
30
void
DEH_printf
(
char
*
fmt
, ...);
31
void
DEH_fprintf
(
FILE
*fstream,
char
*
fmt
, ...);
32
void
DEH_snprintf
(
char
*buffer,
size_t
len
,
char
*
fmt
, ...);
33
void
DEH_AddStringReplacement
(
char
*from_text,
char
*to_text);
34
35
36
#else
37
38
#define DEH_String(x) (x)
39
#define DEH_printf printf
40
#define DEH_fprintf fprintf
41
#define DEH_snprintf snprintf
42
#define DEH_AddStringReplacement(x, y)
43
44
#endif
45
46
#endif
/* #ifndef DEH_STR_H */
47
DEH_fprintf
#define DEH_fprintf
Definition
deh_str.h:40
DEH_printf
#define DEH_printf
Definition
deh_str.h:39
DEH_snprintf
#define DEH_snprintf
Definition
deh_str.h:41
DEH_AddStringReplacement
#define DEH_AddStringReplacement(x, y)
Definition
deh_str.h:42
DEH_String
#define DEH_String(x)
Definition
deh_str.h:38
doomfeatures.h
fmt
const char * fmt
Definition
drm_file.h:466
len
size_t len
Definition
initial.c:23
_IO_FILE_
Definition
stdio.h:41
Generated by
1.9.8