#include <NapalmRenderer.h>

Public Member Functions | |
| NapalmRenderer (GLTextureSet *set) | |
| virtual | ~NapalmRenderer () |
| void | draw (Particle *particle) |
| void | simulate (Particle *particle, float timepassed) |
Protected Attributes | |
| int | plus_ |
| float | textureNo_ |
| GLTextureSet * | set_ |
Definition at line 27 of file NapalmRenderer.h.
| NapalmRenderer::NapalmRenderer | ( | GLTextureSet * | set | ) |
Definition at line 27 of file NapalmRenderer.cpp.
References GLTextureSet::getNoTextures(), int(), plus_, RAND, and set_.
| NapalmRenderer::~NapalmRenderer | ( | ) | [virtual] |
Definition at line 34 of file NapalmRenderer.cpp.
| void NapalmRenderer::draw | ( | Particle * | particle | ) |
Definition at line 38 of file NapalmRenderer.cpp.
References fixed::asFloat(), LandscapeMaps::getGroundMaps(), GroundMaps::getHeight(), ScorchedContext::getLandscapeMaps(), ScorchedClient::instance(), Particle::position_, and Particle::size_.
Referenced by ParticleRendererNapalm::renderParticle().
| void NapalmRenderer::simulate | ( | Particle * | particle, | |
| float | timepassed | |||
| ) |
Definition at line 46 of file NapalmRenderer.cpp.
References GLTextureSet::getNoTextures(), GLTextureSet::getTexture(), int(), plus_, set_, Particle::texture_, and textureNo_.
Referenced by ParticleRendererNapalm::simulateParticle().
int NapalmRenderer::plus_ [protected] |
float NapalmRenderer::textureNo_ [protected] |
GLTextureSet* NapalmRenderer::set_ [protected] |
1.5.3