-
Notifications
You must be signed in to change notification settings - Fork 2
/
xCompStandardIncludes.h
56 lines (48 loc) · 1.14 KB
/
xCompStandardIncludes.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* omnis.xcomp.framework
* =====================
*
* xCompStandardIncludes.h
* This include file includes all the header files from our SDK and such
*
* Bastiaan Olij
*
*
* https://github.com/BastiaanOlij/omnis.xcomp.framework
*/
#ifndef xcompstandardincludesh
#define xcompstandardincludesh
#ifdef ismach_o
// For MACOSX, Omnis uses some deprectated APIS, ignore for now...
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#ifdef iswin32
#define uint unsigned int
#endif
// make sure we can mark functions as deprecated
#ifdef __GNUC__
#define DEPRECATED __attribute__((deprecated))
#elif defined(_MSC_VER)
#define DEPRECATED __declspec(deprecated)
#else
#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
#define DEPRECATED
#endif
// add in our SDK headers
#include <anums.he>
#include <dmconst.he>
#include <extcomp.he>
#include <extfval.he>
#include <gdi.he>
#include <hwnd.he>
// add in some useful standard libraries
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <algorithm>
#include <map>
#include <string>
#include <vector>
#define PI 3.14159265
#endif