Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Typedefs
cube_types.hpp File Reference
#include <stddef.h>

Go to the source code of this file.

Macros

#define MAXSTRLEN   260
 maximal cube-string length. More...
 
#define PATHDIV   '/'
 Path divide character, \ on win, otherwise /. More...
 
#define PI   (3.1415927f)
 
#define PI2   (2*PI)
 
#define SQRT2   (1.4142136f)
 
#define SQRT3   (1.7320508f)
 
#define RAD   (PI / 180.0f)
 
#define NULL   0
 

Typedefs

typedef unsigned char uchar
 Basic type definitions. More...
 
typedef unsigned short ushort
 
typedef unsigned int uint
 
typedef unsigned long ulong
 
typedef signed long long int llong
 
typedef unsigned long long int ullong
 
typedef char string [MAXSTRLEN]
 cube-strings (char arrays of fixed size). More...
 

Macro Definition Documentation

#define MAXSTRLEN   260
#define NULL   0
#define PATHDIV   '/'

Path divide character, \ on win, otherwise /.

Referenced by createdir(), findfile(), fixpackagedir(), listfiles(), and path().

#define PI   (3.1415927f)

Referenced by gl_drawframe(), and regularshape().

#define PI2   (2*PI)
#define RAD   (PI / 180.0f)
#define SQRT2   (1.4142136f)
#define SQRT3   (1.7320508f)

Typedef Documentation

typedef signed long long int llong
typedef char string[MAXSTRLEN]

cube-strings (char arrays of fixed size).

typedef unsigned char uchar

Basic type definitions.

typedef unsigned int uint
typedef unsigned long long int ullong
typedef unsigned long ulong
typedef unsigned short ushort