Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csFlareHalo Class Reference

This halo is used for (solar)flares. More...

#include <halo.h>

Inheritance diagram for csFlareHalo:

csHalo iBaseHalo iBase List of all members.

Public Methods

 csFlareHalo ()
 create an (empty) flare.

 ~csFlareHalo ()
void AddComponent (float pos, float w, float h, uint mode, iMaterialWrapper *image)
 Add a visual component to the flare. More...

csFlareComponentGetComponents () const
 Get the list of component.

virtual unsigned char* Generate (int Size)
 Generate this halo's alpha map. More...

 SCF_DECLARE_IBASE_EXT (csHalo)

Public Attributes

csFlareHalo::FlareHalo  scfiFlareHalo

Friends

class  FlareHalo

Detailed Description

This halo is used for (solar)flares.


Member Function Documentation

void csFlareHalo::AddComponent ( float pos,
float w,
float h,
uint mode,
iMaterialWrapper * image )
 

Add a visual component to the flare.

give position, size, image and mixmode. The component is added at the end of the list - to be displayed last.

unsigned char * csFlareHalo::Generate ( int Size ) [virtual]
 

Generate this halo's alpha map.

Not used for this halo (returns NULL) since the halo consists of multiple images.

Reimplemented from csHalo.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000