2 #include "IBatchedElementDraw.h" 6 class WeatherParticleSpawner;
13 WeatherType_RainSplash,
27 virtual WeatherType GetType() = 0;
28 virtual void Init(
float x,
float y,
float z);
29 virtual bool IsPointTexture() {
return true; }
33 virtual void SetTexture(
TextureEntity* val) { m_pTexture = val; }
40 virtual void FrameMove(
float deltaTime);
44 virtual void SetFallOnGround();
45 virtual void SetDead();
46 bool IsDead()
const {
return m_isDead; }
51 float GetMinY()
const {
return minY; }
52 void SetMinY(
float val) { minY = val; }
84 virtual WeatherType GetType() {
return WeatherType_Rain; };
85 virtual void Init(
float x,
float y,
float z);
86 virtual void SetDead();
94 virtual WeatherType GetType() {
return WeatherType_RainSplash; };
95 virtual void Init(
float x,
float y,
float z);
96 virtual void FrameMove(
float deltaTime);
104 virtual WeatherType GetType() {
return WeatherType_Snow; };
106 virtual void Init(
float x,
float y,
float z);
107 virtual void FrameMove(
float deltaTime);
Which DXT Compression to Use? Obviously, there are some trade-offs between the different formats whic...
Definition: TextureEntity.h:29
It's used as parameter to Draw method of each scene object.
Definition: SceneState.h:284
Definition: WeatherParticle.h:89
different physics engine has different winding order.
Definition: EventBinding.h:32
Custom vertex type for the trees.
Definition: VertexFVF.h:146
Definition: WeatherParticle.h:99
virtual void RecollectMe()
recollect to spawner
Definition: WeatherParticle.cpp:115
base class for weather particle
Definition: WeatherParticle.h:21
Standard 3-dimensional vector.
Definition: ParaVector3.h:16
virtual void Draw(SceneState *sceneState, CCameraFrustum *pFrustum, const Vector3 &vRenderOffset)
only for drawable objects
Definition: WeatherParticle.cpp:120
virtual int RenderParticle(SPRITEVERTEX **pVertexBuffer, SceneState *pSceneState)
generate particle sprite vertex into the vertex buffer based on current camera setting (bill boarding...
Definition: WeatherParticle.cpp:141
Definition: WeatherParticleSpawner.h:16
base class for a rectangle particle.
Definition: ParticleElement.h:21
Definition: WeatherParticle.h:79
the camera view culling frustum
Definition: CameraFrustum.h:10