_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

Public Member Functions | List of all members
CParticleManager Class Reference

#include <particle.h>

Public Member Functions

void setLowDetail (bool detail)
 
bool getLowDetail () const
 

particlemanager.cpp - The particle manager.

 CParticleManager ()
 
 ~CParticleManager ()
 
void prepareToDraw (const CViewport &vp, std::vector< CParticle * > &table)
 
void endDraw ()
 
void update ()
 
void add (CParticle *particle)
 
void clear ()
 
CPosition getScreenPos (const CPosition &pos) const
 
static void init ()
 
static void exit ()
 

Constructor & Destructor Documentation

◆ CParticleManager()

CParticleManager::CParticleManager ( )

◆ ~CParticleManager()

CParticleManager::~CParticleManager ( )

Member Function Documentation

◆ add()

void CParticleManager::add ( CParticle particle)

◆ clear()

void CParticleManager::clear ( )

◆ endDraw()

void CParticleManager::endDraw ( )

◆ exit()

void CParticleManager::exit ( )
static

◆ getLowDetail()

bool CParticleManager::getLowDetail ( ) const
inline

◆ getScreenPos()

CPosition CParticleManager::getScreenPos ( const CPosition pos) const

◆ init()

void CParticleManager::init ( )
static

◆ prepareToDraw()

void CParticleManager::prepareToDraw ( const CViewport vp,
std::vector< CParticle * > &  table 
)

◆ setLowDetail()

void CParticleManager::setLowDetail ( bool  detail)
inline

◆ update()

void CParticleManager::update ( )

The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.