TurtleBrains  0.3.1
High quality, portable, C++ framework for rapid 2D game development.
tb_types.h
1 
9 #ifndef _TurtleBrains_Types_h_
10 #define _TurtleBrains_Types_h_
11 
12 #include "tb_configuration.h"
13 #include "tb_string.h"
14 
15 #include <stdint.h>
16 
17 namespace TurtleBrains
18 {
19  namespace Core
20  {
21 
22  typedef int8_t int8;
23  typedef uint8_t uint8;
24  typedef uint8 byte;
25  typedef int16_t int16;
26  typedef uint16_t uint16;
27  typedef int32_t int32;
28  typedef uint32_t uint32;
29  typedef int64_t int64;
30  typedef uint64_t uint64;
31 
32  }; /* namespace Core */
33 }; /* namespace TurtleBrains */
34 
35 namespace tbCore = TurtleBrains::Core;
36 
37 #endif /* _TurtleBrains_Types_h_ */
int64_t int64
Signed integer with a size of 64 bits. Supports values from -(2^63) to (2^63 - 1).
Definition: tb_types.h:29
uint16_t uint16
Unsigned integer with a size of 16 bits. Supports values from 0 to 65535.
Definition: tb_types.h:26
Here is some information about the primary namespace.
Definition: tb_application_dialog.h:21
int32_t int32
Signed integer with a size of 32 bits. Supports values from -2147483648 to 2147483647.
Definition: tb_types.h:27
uint64_t uint64
Unsigned integer with a size of 64 bits, Supports values from 0 to (2^64 - 1).
Definition: tb_types.h:30
uint8 byte
Unsigned integer with 8 bits (1 byte). Supports 256 values from 0 to 255.
Definition: tb_types.h:24
int8_t int8
Signed integer with a size of 8 bits. Supports values from -128 to 127.
Definition: tb_types.h:22
uint8_t uint8
Unsigned integer with a size of 8 bits. Supports values from 0 to 255.
Definition: tb_types.h:23
int16_t int16
Signed integer with a size of 16 bits. Supports values from -32768 to 32767.
Definition: tb_types.h:25
uint32_t uint32
Unsigned integer with a size of 32 bits. Supports values from 0 to 4294967295, (2^32 - 1)...
Definition: tb_types.h:28
Contains core functionality for each component of the API.
Definition: tb_debug_logger.h:91