AbstractVisualEffect let's subclasses to customize init and update.
authorAntti Virtanen <antti.i.virtanen@saunalahti.fi>
Thu, 14 Feb 2013 22:10:55 +0000 (00:10 +0200)
committerAntti Virtanen <antti.i.virtanen@saunalahti.fi>
Thu, 14 Feb 2013 22:10:55 +0000 (00:10 +0200)
commit56dfee8d4c18e426d68d563618e61ae1936b28de
treed91f5357ce4763222c370a38313142d9c73517ca
parent063871daba1196dbeb50b8c7626f357166018349
AbstractVisualEffect let's subclasses to customize init and update.
ParticleSystem is customizable effect. Implemented RocketThrust customization that disables particle emitter when there is no positive thrust.
Bug fixed from VisualEffectManager::parseResolution().
rocket-thrust.particle and white-dot.material now generates basic thrust effect.
13 files changed:
OgreClient/AbstractVisualEffect.h
OgreClient/EffectGenerator.cxx
OgreClient/Effects/ParticleSystem.cxx
OgreClient/Effects/ParticleSystem.h
OgreClient/Effects/RocketThrust.cxx [new file with mode: 0644]
OgreClient/Effects/RocketThrust.h [new file with mode: 0644]
OgreClient/VisualEffectManager.cxx
OgreClient/WorldManager.cxx
ogre-client.ini
ogredata/materials/scripts/white-dot.material
ogredata/materials/textures/white-dot.bmp [new file with mode: 0644]
ogredata/materials/textures/white.bmp [deleted file]
ogredata/particles/scripts/rocket-thrust.particle