#ifndef _TYPES_H #define _TYPES_H #include #ifdef _MSC_VER typedef unsigned int uint32 ; typedef int int32 ; typedef unsigned char uint8 ; typedef unsigned long int uint64 ; #define __func__ __FUNCTION__ #else // couldn't he have used _t like everyone else? #include typedef uint32_t uint32 ; typedef int32_t int32 ; typedef uint8_t uint8 ; typedef uint64_t uint64 ; #endif #define TRACELINE() std::cout << __func__ << " : " << __LINE__ << std::endl // Default types typedef uint32 uint; // our types struct VelocityVector { int x; int y; VelocityVector(int _x = 0, int _y = 0): x(_x), y(_y) {}; }; typedef uint PlayerColor; typedef char PlayerNumber; #endif // _TYPES_H