CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Common Plugin Classes


Files

file  cursorconvert.h

Classes

class  csCursorConverter
 Helper class to convert images into data formats suitable for mouse cursor creation on various platforms and toolkits. More...
class  csG2DDrawBox< Tpixel, Tpixmixer >
 Draw a box to a (software) canvas. More...
class  csPixMixerCopy< Tpixel >
 PixMixer that ignores alpha. More...
class  csPixMixerRGBA< Tpixel >
 PixMixer that mixes the pixel into the background with alpha. More...
class  csPixMixerNoop< Tpixel >
 PixMixer that doesn't do anything. More...
class  csG2DDrawLine< Tpixel, Tpixmixer >
 Class to draw a line. More...
class  csG2DDrawText< Tpixel, Tpixmixer1, Tpixmixer2, Tpixmixer3 >
 Class to write some text. More...
class  csFontCache
 A cache for font glyphs. More...
class  csGraphics2D
 This is the base class for 2D canvases. More...
class  csScreenShot
 Simple iImage implementation for canvas screenshots. More...
class  csSoftFontCache
 Font cache base class for software canvases. More...
class  csSoftFontCacheImpl< Tpixel, Tpixmixer >
 An actual implementation of a font cache for software canvases. More...
struct  iImageFileLoader
 An image file loader. More...
class  csCommonImageFileLoader
 Base image loader implementation. More...
class  csCommonImageFile
 A base class for image loader plugin iImage implementations. More...
class  csParticleSystem
 This class represents a particle system. More...
class  csNewtonianParticleSystem
 This class has a set of particles that behave with phsyics. More...
class  csNewParticleSystem
 This is an abstract implementation of a particle system mesh object. More...

Enumerations

enum  csLoaderDataType { rdtInvalid, rdtR8G8B8, rdtRGBpixel, rdtIndexed }
 The data type a loader provides. More...

Functions

template<class Tpixel>
void SplitAlpha (const int color, Tpixel &colorPart, uint8 &alphaPart)
 Split a g2d color into the color and alpha part.

Variables

unsigned short ScanCodeToChar [128]
 This array can be used to translate scancodes into Crystal Space codes.
const int CS_PARTICLE_AUTODELETE = 1
 flag value to indicate that the system should be deleted when all particles are gone.
const int CS_PARTICLE_SCALE = 2
 enable particle scaling
const int CS_PARTICLE_ROTATE = 4
 enable particle rotation
const int CS_PARTICLE_AXIS = 8
 enable axis alignment (screen alignment otherwise)
const int CS_PARTICLE_ALIGN_Y = 512
 use the y axis for alignment instead of x

Enumeration Type Documentation

enum csLoaderDataType
 

The data type a loader provides.

The data is automatically converted to the needed image format.

Enumeration values:
rdtInvalid  Invalid data type - the loader didn't set one.
rdtR8G8B8  24bpp pixel data
rdtRGBpixel  Array of csRGBpixel.
rdtIndexed  8-bit paletted data

Definition at line 41 of file commonimagefile.h.

Referenced by csCommonImageFileLoader::GetDataType().


Function Documentation

template<class Tpixel>
void SplitAlpha const int  color,
Tpixel &  colorPart,
uint8 alphaPart
[static]
 

Split a g2d color into the color and alpha part.

Definition at line 35 of file draw_common.h.

Referenced by csSoftFontCacheImpl< Tpixel, Tpixmixer >::WriteString().


Variable Documentation

const int CS_PARTICLE_ALIGN_Y = 512
 

use the y axis for alignment instead of x

Definition at line 54 of file particle.h.

const int CS_PARTICLE_AUTODELETE = 1
 

flag value to indicate that the system should be deleted when all particles are gone.

Definition at line 42 of file particle.h.

const int CS_PARTICLE_AXIS = 8
 

enable axis alignment (screen alignment otherwise)

Definition at line 51 of file particle.h.

const int CS_PARTICLE_ROTATE = 4
 

enable particle rotation

Definition at line 48 of file particle.h.

const int CS_PARTICLE_SCALE = 2
 

enable particle scaling

Definition at line 45 of file particle.h.

unsigned short ScanCodeToChar[128]
 

This array can be used to translate scancodes into Crystal Space codes.


Generated for Crystal Space by doxygen 1.3.9.1