src/Types.hh
author terom
Tue, 09 Dec 2008 04:41:48 +0000
changeset 368 fe49a4b12575
parent 311 440763821484
child 370 39e59dd36b6e
permissions -rw-r--r--
move our overdrive-doxygen stuff to doxygen_hc_overclock.cfg
#ifndef TYPES_HH
#define TYPES_HH

/**
 * Define various types
 */

#include "Vector.hh"

#include <stdint.h>

/* 
 * Standard vector used for Physics stuff
 */
typedef _Vector<float> Vector;

/**
 * A player's health is measured in...
 */
typedef int16_t Health;

/**
 * Terrain/Graphics pixel dimension values are long ints
 */
typedef long int PixelDimension;

/**
 * A Terrain/Pixel coordinate as a PixelDimension Vector
 */
typedef _Vector<PixelDimension> PixelCoordinate;

/**
 * A time interval, measured in real milliseconds
 */
typedef signed long TimeMS;

/**
 * Abstract tick count, defined as a number of Timer::interval's against real time
 */
typedef int32_t TickCount;

#endif