forked from gscept/CubeMapGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Types.h
50 lines (39 loc) · 1.51 KB
/
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
41
42
43
44
45
46
47
48
49
50
//========================================================================================================================================================
// Types.h -- Variable prototypes
//
//========================================================================================================================================================
// (C) 2004-2005 ATI Research, Inc., All rights reserved.
//========================================================================================================================================================
#ifndef TYPES_H
#define TYPES_H
static char sgCopyrightString[] = "\r\n\r\n(C) 2004 ATI Research, Inc.\r\n\r\n";
// DEFINES ===============================================================================================================================================
#ifdef TRUE
#undef TRUE
#endif
#define TRUE 1
#ifdef FALSE
#undef FALSE
#endif
#define FALSE 0
//=========//
// Windows //
//=========//
//Signed
typedef char bool8;
typedef char char8;
typedef char int8;
typedef short int16;
typedef int int32;
typedef __int64 int64;
typedef float float32;
typedef double float64;
//typedef long double float80; //Windows treats this the same as a double
//Unsigned
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef unsigned __int64 uint64;
//String
typedef const char cstr;
#endif