gzdoom/src/doomtype.h

57 lines
1.3 KiB
C
Raw Normal View History

2016-03-01 15:47:10 +00:00
//-----------------------------------------------------------------------------
//
// DESCRIPTION:
// Simple basic typedefs, isolated here to make it easier
// separating modules.
//
//-----------------------------------------------------------------------------
#ifndef __DOOMTYPE__
#define __DOOMTYPE__
#ifdef _MSC_VER
// VC++ does not define PATH_MAX, but the Windows headers do define MAX_PATH.
// However, we want to avoid including the Windows headers in most of the
// source files, so we can't use it. So define PATH_MAX to be what MAX_PATH
// currently is:
#define PATH_MAX 260
// Disable warning about using unsized arrays in structs. It supports it just
// fine, and so do Clang and GCC, but the latter two don't warn about it.
#pragma warning(disable:4200)
#endif
#include <limits.h>
#include <tuple>
#include <algorithm>
2016-03-01 15:47:10 +00:00
#include "tarray.h"
#include "name.h"
#include "zstring.h"
#include "cmdlib.h"
2016-03-01 15:47:10 +00:00
class PClassActor;
typedef TMap<int, PClassActor *> FClassMap;
#include "basics.h"
#include "printf.h"
2016-03-01 15:47:10 +00:00
// Bounding box coordinate storage.
2019-08-20 18:38:29 +00:00
#include "palentry.h"
#include "textureid.h"
2016-03-01 15:47:10 +00:00
enum class ELightMode : int8_t
{
NotSet = -1,
LinearStandard = 0,
DoomBright = 1,
Doom = 2,
DoomDark = 3,
DoomLegacy = 4,
Build = 5,
ZDoomSoftware = 8,
DoomSoftware = 16
};
2016-03-01 15:47:10 +00:00
#endif