XenevaOS
Loading...
Searching...
No Matches
deh_main.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 entrypoint and common code
16//
17
18#ifndef DEH_MAIN_H
19#define DEH_MAIN_H
20
21#include "doomtype.h"
22#include "doomfeatures.h"
23#include "deh_str.h"
24#include "sha1.h"
25
26// These are the limits that dehacked uses (from dheinit.h in the dehacked
27// source). If these limits are exceeded, it does not generate an error, but
28// a warning is displayed.
29
30#define DEH_VANILLA_NUMSTATES 966
31#define DEH_VANILLA_NUMSFX 107
32
34int DEH_LoadFile(char *filename);
35int DEH_LoadLump(int lumpnum, boolean allow_long, boolean allow_error);
36int DEH_LoadLumpByName(char *name, boolean allow_long, boolean allow_error);
37
38boolean DEH_ParseAssignment(char *line, char **variable_name, char **value);
39
41
42extern boolean deh_allow_extended_strings;
43extern boolean deh_allow_long_strings;
44extern boolean deh_allow_long_cheats;
45extern boolean deh_apply_cheats;
46
47#endif /* #ifndef DEH_MAIN_H */
48
byte sha1_digest_t[20]
Definition sha1.h:24
boolean deh_allow_long_cheats
void DEH_ParseCommandLine(void)
boolean DEH_ParseAssignment(char *line, char **variable_name, char **value)
boolean deh_allow_long_strings
void DEH_Checksum(sha1_digest_t digest)
int DEH_LoadLump(int lumpnum, boolean allow_long, boolean allow_error)
int DEH_LoadFile(char *filename)
boolean deh_allow_extended_strings
int DEH_LoadLumpByName(char *name, boolean allow_long, boolean allow_error)
boolean deh_apply_cheats
struct drm_crtc struct drm_plane struct drm_plane const struct drm_crtc_funcs const char * name
Definition drm_crtc.h:1242