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>
|
2017-02-08 18:10:11 +00:00
|
|
|
#include <tuple>
|
|
|
|
#include <algorithm>
|
2016-03-01 15:47:10 +00:00
|
|
|
#include "tarray.h"
|
|
|
|
#include "name.h"
|
|
|
|
#include "zstring.h"
|
2020-04-11 10:19:28 +00:00
|
|
|
#include "cmdlib.h"
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
class PClassActor;
|
|
|
|
typedef TMap<int, PClassActor *> FClassMap;
|
|
|
|
|
2020-04-11 10:19:28 +00:00
|
|
|
#include "basics.h"
|
2020-04-11 10:27:07 +00:00
|
|
|
#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"
|
2020-04-11 16:54:54 +00:00
|
|
|
#include "textureid.h"
|
2016-03-01 15:47:10 +00:00
|
|
|
|
2019-01-06 08:00:52 +00:00
|
|
|
enum class ELightMode : int8_t
|
|
|
|
{
|
|
|
|
NotSet = -1,
|
|
|
|
LinearStandard = 0,
|
|
|
|
DoomBright = 1,
|
|
|
|
Doom = 2,
|
|
|
|
DoomDark = 3,
|
|
|
|
DoomLegacy = 4,
|
|
|
|
ZDoomSoftware = 8,
|
|
|
|
DoomSoftware = 16
|
|
|
|
};
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
#endif
|