- remove doomtypes.h include from files.h.

This commit is contained in:
Christoph Oelckers 2019-08-20 22:47:30 +02:00
parent 0abc66dbff
commit b1953585fe
10 changed files with 12 additions and 2 deletions

View file

@ -43,6 +43,7 @@
#include "resourcefile.h"
#include "cmdlib.h"
#include "doomtype.h"

View file

@ -35,6 +35,7 @@
#include "resourcefile.h"
#include "w_wad.h"
#include "doomtype.h"
//==========================================================================
//

View file

@ -35,6 +35,7 @@
#include "resourcefile.h"
#include "cmdlib.h"
#include "w_wad.h"
#include "doomtype.h"
//==========================================================================
//

View file

@ -34,6 +34,7 @@
#include "resourcefile.h"
#include "w_wad.h"
#include "doomtype.h"
//==========================================================================
//

View file

@ -36,6 +36,7 @@
#include "resourcefile.h"
#include "templates.h"
#include "w_wad.h"
#include "doomtype.h"
//==========================================================================
//

View file

@ -40,6 +40,7 @@
#include "w_wad.h"
#include "gi.h"
#include "doomstat.h"
#include "doomtype.h"
//==========================================================================

View file

@ -37,6 +37,7 @@
#include <stdint.h>
#include "files.h"
#include "md5.h"
#include "doomtype.h"
struct MD5Check
{

View file

@ -12,6 +12,7 @@
#include "files.h"
#include "doomdef.h"
#include "tarray.h"
#include "zstring.h"
class FResourceFile;
struct FResourceLump;

View file

@ -37,9 +37,11 @@
#define FILES_H
#include <stdio.h>
#include <stdint.h>
#include <functional>
#include "doomtype.h"
#include "basictypes.h"
#include "m_swap.h"
#include "tarray.h"
// Zip compression methods, extended by some internal types to be passed to OpenDecompressor
enum

View file

@ -59,7 +59,7 @@ void DecompressorBase::DecompressionError(const char *error, ...) const
char errortext[MAX_ERRORTEXT];
va_start(argptr, error);
myvsnprintf(errortext, MAX_ERRORTEXT, error, argptr);
vsnprintf(errortext, MAX_ERRORTEXT, error, argptr);
va_end(argptr);
if (ErrorCallback != nullptr) ErrorCallback(errortext);