Advanced Strategic Command
Classes | Typedefs | Functions
surface.h File Reference
#include "../libs/sdlmm/src/sdlmm.h"
#include "../basestreaminterface.h"
Include dependency graph for surface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  DI_Color
 A Device Independent color. Shamelessly pinched from Paragui to reduce coupling. More...
class  Surface
class  TypedSurfaceBase
class  TypedSurface< colorDepth >
class  SurfaceLock


typedef SDLmm::SPoint SPoint
typedef TypedSurface< 1 > Surface8
typedef TypedSurface< 4 > Surface32


template<int depth>
TypedSurface< depth > & castSurface (Surface &s)
void applyFieldMask (Surface &s, int x=0, int y=0, bool detectColorKey=true)
void applyLegacyFieldMask (Surface &s, int x=0, int y=0, bool detectColorKey=false)
 applies a field mask that uses FEFEFE Color as Colorkey to load old images More...
Surface rotateSurface (Surface &s, int degrees)

Typedef Documentation

typedef SDLmm::SPoint SPoint

Definition at line 27 of file surface.h.

typedef TypedSurface<4> Surface32

Definition at line 154 of file surface.h.

typedef TypedSurface<1> Surface8

Definition at line 153 of file surface.h.

Function Documentation

void applyFieldMask ( Surface s,
int  x = 0,
int  y = 0,
bool  detectColorKey = true 
void applyLegacyFieldMask ( Surface s,
int  x = 0,
int  y = 0,
bool  detectColorKey = false 
template<int depth>
TypedSurface<depth>& castSurface ( Surface s)

Definition at line 157 of file surface.h.

Surface rotateSurface ( Surface s,
int  degrees