Advanced Strategic Command
Classes | Typedefs | Functions | Variables
blitter.h File Reference
#include <cmath>
#include <map>
#include "loki/static_check.h"
#include "../libs/sdlmm/src/sdlmm.h"
#include "surface.h"
#include "../misc.h"
#include "../palette.h"
#include "../basegfx.h"
#include "lighten.h"
Include dependency graph for blitter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  NullParamType
 
class  PixelSize2Type< BytesPerPixel >
 
class  PixelSize2Type< 1 >
 
class  PixelSize2Type< 2 >
 
class  PixelSize2Type< 4 >
 
class  TargetPixelSelector_All
 
class  TargetPixelSelector_Valid
 
class  SourcePixelSelector_Plain< pixelsize >
 
class  ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel >
 
class  ColorConverter< 4, 1 >
 
class  ColorConverter< 1, 4 >
 
class  MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >
 
class  ColorTransform_None< pixelsize >
 
class  ColorTransform_XLAT< pixelSize >
 
class  ColorTransform_Gray< pixelSize >
 
class  ColorTransform_Gray< 4 >
 
class  ColorMerger_PlainOverwrite< pixelsize >
 
class  ColorMerger_ColoredOverwrite< pixelsize >
 
class  ColorMerger_AlphaHandler< pixelsize >
 
class  ColorMerger_AlphaHandler< 1 >
 
class  ColorMerger_AlphaHandler< 4 >
 
class  ColorMerger_AlphaOverwrite< pixelsize >
 
class  ColorMerger_AlphaMerge< pixelsize >
 
class  ColorMerger_AlphaMerge< 4 >
 
class  ColorMerger_AlphaShadow< pixelsize >
 
class  ColorMerger_AlphaShadow< 1 >
 
class  ColorMerger_AlphaShadow< 4 >
 
class  ColorMerger_AlphaMixer< pixelsize >
 
class  ColorMerger_AlphaMixer< 1 >
 
class  ColorMerger_AlphaMixer< 4 >
 
class  ColorMerger_Alpha_XLAT_TableShifter< pixelsize >
 
class  ColorMerger_Alpha_XLAT_TableShifter< 1 >
 
class  ColorMerger_Brightness< pixelsize >
 
class  ColorMerger_Set< pixelsize >
 
class  SourcePixelSelector_Rotation< pixelsize, SourcePixelSelector >
 
class  SourcePixelSelector_DirectRotation< pixelsize >
 
class  RotationCache
 
class  SourcePixelSelector_CacheRotation< pixelsize >
 
class  SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >
 
class  SourcePixelSelector_DirectZoom< pixelsize >
 
class  ZoomCache
 
class  SourcePixelSelector_CacheZoom< pixelsize, SourcePixelSelector >
 
class  SourcePixelSelector_Flip< pixelsize, SourcePixelSelector >
 
class  SourcePixelSelector_DirectFlip< pixelsize >
 
class  SourcePixelSelector_Rectangle< pixelsize >
 
class  SourcePixelSelector_DirectRectangle< pixelsize >
 
class  TargetPixelSelector_Rect
 

Typedefs

typedef SDLmm::Color Color
 

Functions

template<template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector, class TargetPixelSelector , typename SourceColorTransformParameter , typename ColorMergerParameter , typename SourcePixelSelectorParameter , typename TargetPixelSelectorParameter >
void megaBlitter (const Surface &src, Surface &dst, const SPoint &pos, const SourceColorTransformParameter &scmp=nullParam, const ColorMergerParameter &cmp=nullParam, const SourcePixelSelectorParameter spsp=nullParam, const TargetPixelSelectorParameter tpsp=nullParam)
 

Variables

NullParamType nullParam
 
const int ColorMerger_Alpha_XLAT_Table_shadings [8]
 

Typedef Documentation

typedef SDLmm::Color Color

Definition at line 35 of file blitter.h.

Function Documentation

template<template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector, class TargetPixelSelector , typename SourceColorTransformParameter , typename ColorMergerParameter , typename SourcePixelSelectorParameter , typename TargetPixelSelectorParameter >
void megaBlitter ( const Surface src,
Surface dst,
const SPoint pos,
const SourceColorTransformParameter &  scmp = nullParam,
const ColorMergerParameter &  cmp = nullParam,
const SourcePixelSelectorParameter  spsp = nullParam,
const TargetPixelSelectorParameter  tpsp = nullParam 
)

Variable Documentation

const int ColorMerger_Alpha_XLAT_Table_shadings[8]
NullParamType nullParam