Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

SDLGraphicContext.cpp File Reference


Detailed Description

Implementation of basic drawing primitives using SDL.

#include "SDLGraphicContext.h"
#include "SDLFont.h"
#include <stdarg.h>
#include <stdio.h>
#include <math.h>
#include <assert.h>
#include <sstream>
#include <algorithm>
#include <SDL_image.h>

Namespaces

namespace  GAG

Defines

#define Sgn(x)   (x>0 ? (x == 0 ? 0 : 1) : (x==0 ? 0 : -1))
#define FILTER_OUT_CHAR(s, c)   { char *_c; if ( (_c=(strchr(s, c)))!=NULL) *_c=0; }
 Usefull macro to replace some char (like newline) with in string.

Variables

SDLGraphicContext * screen = NULL
 Global pointer to screen.


Generated on Mon Oct 24 17:38:25 2005 for Teem by  doxygen 1.4.2