UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
types.h
Go to the documentation of this file.
1 #ifndef UGDK_STRUCTURE_TYPES_H_
2 #define UGDK_STRUCTURE_TYPES_H_
3 
4 #include <stdint.h>
5 
6 #ifdef SWIG
7 #pragma SWIG nowarn=312
8 #endif
9 
10 namespace ugdk {
11 
12 typedef uint8_t uint8;
13 typedef uint16_t uint16;
14 typedef uint32_t uint32;
15 typedef uint64_t uint64;
16 typedef int8_t int8;
17 typedef int16_t int16;
18 typedef int32_t int32;
19 typedef int64_t int64;
20 
21 typedef uint8 Mirror;
22 static const Mirror MIRROR_NONE = 0;
23 static const Mirror MIRROR_HFLIP = 1;
24 static const Mirror MIRROR_VFLIP = 2;
25 static const Mirror MIRROR_HVFLIP = 3;
26 
27 namespace enums {
28 namespace mirroraxis {
29 enum MirrorAxis {
30  HORZ = 0,
31  DIAG_UP = 45,
32  VERT = 90,
33  DIAG_DOWN = 135
34 };
35 }
36 }
37 
38 } // namespace ugdk
39 
40 #endif /* UGDK_STRUCTURE_TYPES_H_ */
int64_t int64
Definition: types.h:19
Definition: types.h:30
uint8_t uint8
Definition: types.h:12
int8_t int8
Definition: types.h:16
int32_t int32
Definition: types.h:18
uint32_t uint32
Definition: types.h:14
Definition: animation.h:11
uint64_t uint64
Definition: types.h:15
Definition: types.h:32
Definition: types.h:31
uint16_t uint16
Definition: types.h:13
int16_t int16
Definition: types.h:17
uint8 Mirror
Definition: types.h:21
MirrorAxis
Definition: types.h:29