forked from diasurgical/devilutionX
-
Notifications
You must be signed in to change notification settings - Fork 3
/
types.h
40 lines (29 loc) · 897 Bytes
/
types.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// temporary file
#ifndef _TYPES_H
#define _TYPES_H
#include "resource.h"
#define DEVILUTION_BEGIN_NAMESPACE namespace dvl {
#define DEVILUTION_END_NAMESPACE }
#include "miniwin/pushdecl.inc"
#include "miniwin.h"
DEVILUTION_BEGIN_NAMESPACE
#include <limits.h>
#include "defs.h"
#include "enums.h"
#include "structs.h"
// If defined, use copy protection [Default -> Defined]
#if !defined(_DEBUG) && !defined(SPAWN)
//#define COPYPROT
#endif
// If defined, don't reload for debuggers [Default -> Undefined]
// Note that with patch 1.03 the command line was hosed, this is required to pass arguments to the game
#ifdef _DEBUG
#define DEBUGGER
#endif
// If defined, don't fry the CPU [Default -> Undefined]
//#ifdef _DEBUG
#define SLEEPFIX
//#endif
// If defined, fix palette glitch in Windows Vista+ [Default -> Undefined]
//#define COLORFIX
#endif