Classes | Namespaces | Defines | Typedefs | Functions

common.hpp File Reference

Contains classes and functions several a5ses components need. More...

#include <allegro5/allegro5.h>
#include <exception>
#include <memory>
#include <string>
#include <stdexcept>

Classes

class  a5::Exception
 Base class for A5SES exceptions. More...
class  a5::Need_Addon
 Thrown when a function requiring a non-loaded addon is called. More...
class  a5::Init_Failed
 Thrown when an core Allegro module or addon fails to initialize. More...
class  a5::Rectangle
 Stores four coordinates representing a rectangle. More...

Namespaces

namespace  a5
 

Contains all A5SES classes and functions.


Defines

#define Rectangle   WINDOWS_Rectangle
#define A5SES_PTR_TYPE   std::auto_ptr
#define A5SES_VERSION_STR   "4.9.21.2"
 A5SES version string First 3 digits should match the Allegro version it's made for.
#define A5SES_MAJOR_VERSION   4
 A5SES major version Should match the Allegro version it's made for.
#define A5SES_MINOR_VERSION   9
 A5SES minor version Should match the Allegro version it's made for.
#define A5SES_WIP_VERSION   21
 A5SES WIP version Should match the Allegro version it's made for.
#define A5SES_VERSION   2
 A5SES version.

Typedefs

typedef float a5::unit
 Type used to represent bitmap/screen coordinates.
typedef float a5::angle
 Type used to represent angles.

Functions

void a5::_init ()

Detailed Description

Contains classes and functions several a5ses components need.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines