StarEngine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Macros | Typedefs | Variables
defines.h File Reference
#include <stdint.h>
#include <string.h>
#include <sstream>
#include <iostream>
#include <fstream>
#include <algorithm>
#include "Helpers\glm\glm.h"
#include "Helpers\glm\ext.hpp"
Include dependency graph for defines.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define tstring   std::string
 
#define tcin   std::cin
 
#define tcout   std::cout
 
#define tstringstream   std::stringstream
 
#define tofstream   std::ofstream
 
#define tifstream   std::ifstream
 
#define tfstream   std::fstream
 
#define to_tstring   std::to_string
 
#define tchar   char
 
#define tuchar   unsigned char
 
#define tprintf   std::printf
 
#define ttof   atof
 
#define ttoi   atoi
 
#define tstrlen   strlen
 
#define EMPTY_STRING   _T("")
 
#define ANDROID_LOG_TAG   _T("STAR_ENGINE")
 
#define NO_WRAPPING   -1
 

Typedefs

typedef int64_t int64
 
typedef int32_t int32
 
typedef int16_t int16
 
typedef int8_t int8
 
typedef uint64_t uint64
 
typedef uint32_t uint32
 
typedef uint16_t uint16
 
typedef uint8_t uint8
 
typedef int8_t status
 

Variables

const status STATUS_OK = 0
 
const status STATUS_KO = -1
 
const status STATUS_EXIT = -2
 
const double PI = 3.14159265358979323846264338327950288
 
const float EPSILON = 0.0000001f
 

Macro Definition Documentation

#define ANDROID_LOG_TAG   _T("STAR_ENGINE")
#define EMPTY_STRING   _T("")
#define NO_WRAPPING   -1
#define tchar   char
#define tcin   std::cin
#define tcout   std::cout
#define tfstream   std::fstream
#define tifstream   std::ifstream
#define to_tstring   std::to_string
#define tofstream   std::ofstream
#define tprintf   std::printf
#define tstring   std::string
#define tstringstream   std::stringstream
#define tstrlen   strlen
#define ttof   atof
#define ttoi   atoi
#define tuchar   unsigned char

Typedef Documentation

typedef int16_t int16
typedef int32_t int32
typedef int64_t int64
typedef int8_t int8
typedef int8_t status
typedef uint16_t uint16
typedef uint32_t uint32
typedef uint64_t uint64
typedef uint8_t uint8

Variable Documentation

const float EPSILON = 0.0000001f
const double PI = 3.14159265358979323846264338327950288
const status STATUS_EXIT = -2
const status STATUS_KO = -1
const status STATUS_OK = 0