diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvoclouds.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/linden/indra/newview/llvoclouds.h b/linden/indra/newview/llvoclouds.h index 1618ab6..a8846e9 100644 --- a/linden/indra/newview/llvoclouds.h +++ b/linden/indra/newview/llvoclouds.h | |||
@@ -38,7 +38,7 @@ class LLViewerCloudGroup; | |||
38 | class LLCloudGroup; | 38 | class LLCloudGroup; |
39 | 39 | ||
40 | 40 | ||
41 | class LLVOClouds : public LLViewerObject | 41 | class LLVOClouds : public LLAlphaObject |
42 | { | 42 | { |
43 | public: | 43 | public: |
44 | LLVOClouds(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp ); | 44 | LLVOClouds(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp ); |
@@ -47,16 +47,29 @@ public: | |||
47 | // Initialize data that's only inited once per class. | 47 | // Initialize data that's only inited once per class. |
48 | static void initClass(); | 48 | static void initClass(); |
49 | 49 | ||
50 | void updateDrawable(BOOL force_damped); | ||
51 | |||
50 | /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline); | 52 | /*virtual*/ LLDrawable* createDrawable(LLPipeline *pipeline); |
51 | /*virtual*/ BOOL updateGeometry(LLDrawable *drawable); | 53 | /*virtual*/ BOOL updateGeometry(LLDrawable *drawable); |
54 | /*virtual*/ void getGeometry(S32 te, | ||
55 | LLStrider<LLVector3>& verticesp, | ||
56 | LLStrider<LLVector3>& normalsp, | ||
57 | LLStrider<LLVector2>& texcoordsp, | ||
58 | LLStrider<LLColor4U>& colorsp, | ||
59 | LLStrider<U32>& indicesp); | ||
52 | 60 | ||
53 | /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate. | 61 | /*virtual*/ BOOL isActive() const; // Whether this object needs to do an idleUpdate. |
62 | BOOL isParticle(); | ||
63 | F32 getPartSize(S32 idx); | ||
54 | 64 | ||
55 | /*virtual*/ void updateTextures(LLAgent &agent); | 65 | /*virtual*/ void updateTextures(LLAgent &agent); |
56 | /*virtual*/ void setPixelAreaAndAngle(LLAgent &agent); // generate accurate apparent angle and area | 66 | /*virtual*/ void setPixelAreaAndAngle(LLAgent &agent); // generate accurate apparent angle and area |
57 | 67 | ||
68 | void updateFaceSize(S32 idx) { } | ||
58 | BOOL idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time); | 69 | BOOL idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time); |
59 | 70 | ||
71 | virtual U32 getPartitionType() const; | ||
72 | |||
60 | void setCloudGroup(LLCloudGroup *cgp) { mCloudGroupp = cgp; } | 73 | void setCloudGroup(LLCloudGroup *cgp) { mCloudGroupp = cgp; } |
61 | protected: | 74 | protected: |
62 | LLCloudGroup *mCloudGroupp; | 75 | LLCloudGroup *mCloudGroupp; |