aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvovolume.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvovolume.h')
-rw-r--r--linden/indra/newview/llvovolume.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/linden/indra/newview/llvovolume.h b/linden/indra/newview/llvovolume.h
index a78aa37..4c6ad9a 100644
--- a/linden/indra/newview/llvovolume.h
+++ b/linden/indra/newview/llvovolume.h
@@ -130,7 +130,7 @@ public:
130 130
131 131
132 BOOL getVolumeChanged() const { return mVolumeChanged; } 132 BOOL getVolumeChanged() const { return mVolumeChanged; }
133 133 F32 getTextureVirtualSize(LLFace* face);
134 /*virtual*/ F32 getRadius() const { return mVObjRadius; }; 134 /*virtual*/ F32 getRadius() const { return mVObjRadius; };
135 const LLMatrix4& getWorldMatrix(LLXformMatrix* xform) const; 135 const LLMatrix4& getWorldMatrix(LLXformMatrix* xform) const;
136 136
@@ -158,14 +158,14 @@ public:
158 /*virtual*/ S32 setTEBumpmap(const U8 te, const U8 bump); 158 /*virtual*/ S32 setTEBumpmap(const U8 te, const U8 bump);
159 /*virtual*/ S32 setTEShiny(const U8 te, const U8 shiny); 159 /*virtual*/ S32 setTEShiny(const U8 te, const U8 shiny);
160 /*virtual*/ S32 setTEFullbright(const U8 te, const U8 fullbright); 160 /*virtual*/ S32 setTEFullbright(const U8 te, const U8 fullbright);
161 /*virtual*/ S32 setTEBumpShinyFullbright(const U8 te, const U8 bump); 161 /*virtual*/ S32 setTEBumpShinyFullbright(const U8 te, const U8 bump); // KL S19?
162 /*virtual*/ S32 setTEMediaFlags(const U8 te, const U8 media_flags); 162 /*virtual*/ S32 setTEMediaFlags(const U8 te, const U8 media_flags);
163 /*virtual*/ S32 setTEGlow(const U8 te, const F32 glow); 163 /*virtual*/ S32 setTEGlow(const U8 te, const F32 glow);
164 /*virtual*/ S32 setTEScale(const U8 te, const F32 s, const F32 t); 164 /*virtual*/ S32 setTEScale(const U8 te, const F32 s, const F32 t);
165 /*virtual*/ S32 setTEScaleS(const U8 te, const F32 s); 165 /*virtual*/ S32 setTEScaleS(const U8 te, const F32 s);
166 /*virtual*/ S32 setTEScaleT(const U8 te, const F32 t); 166 /*virtual*/ S32 setTEScaleT(const U8 te, const F32 t);
167 /*virtual*/ S32 setTETexGen(const U8 te, const U8 texgen); 167 /*virtual*/ S32 setTETexGen(const U8 te, const U8 texgen);
168 /*virtual*/ S32 setTEMediaTexGen(const U8 te, const U8 media); 168 /*virtual*/ S32 setTEMediaTexGen(const U8 te, const U8 media); // KL S19
169 /*virtual*/ BOOL setMaterial(const U8 material); 169 /*virtual*/ BOOL setMaterial(const U8 material);
170 170
171 void setTexture(const S32 face); 171 void setTexture(const S32 face);
@@ -177,8 +177,8 @@ public:
177 /*virtual*/ void updateFaceSize(S32 idx); 177 /*virtual*/ void updateFaceSize(S32 idx);
178 /*virtual*/ BOOL updateLOD(); 178 /*virtual*/ BOOL updateLOD();
179 void updateRadius(); 179 void updateRadius();
180 /*virtual*/ void updateTextures(); 180 /*virtual*/ void updateTextures(LLAgent &agent);
181 void updateTextureVirtualSize(); 181 void updateTextures();
182 182
183 void updateFaceFlags(); 183 void updateFaceFlags();
184 void regenFaces(); 184 void regenFaces();
@@ -196,9 +196,18 @@ public:
196 void setLightRadius(F32 radius); 196 void setLightRadius(F32 radius);
197 void setLightFalloff(F32 falloff); 197 void setLightFalloff(F32 falloff);
198 void setLightCutoff(F32 cutoff); 198 void setLightCutoff(F32 cutoff);
199 void setLightTextureID(LLUUID id);
200 void setSpotLightParams(LLVector3 params);
201
199 BOOL getIsLight() const; 202 BOOL getIsLight() const;
200 LLColor3 getLightBaseColor() const; // not scaled by intensity 203 LLColor3 getLightBaseColor() const; // not scaled by intensity
201 LLColor3 getLightColor() const; // scaled by intensity 204 LLColor3 getLightColor() const; // scaled by intensity
205 LLUUID getLightTextureID() const;
206 LLVector3 getSpotLightParams() const;
207 void updateSpotLightPriority();
208 F32 getSpotLightPriority() const;
209
210 LLViewerImage* getLightTexture();
202 F32 getLightIntensity() const; 211 F32 getLightIntensity() const;
203 F32 getLightRadius() const; 212 F32 getLightRadius() const;
204 F32 getLightFalloff() const; 213 F32 getLightFalloff() const;
@@ -208,6 +217,8 @@ public:
208 U32 getVolumeInterfaceID() const; 217 U32 getVolumeInterfaceID() const;
209 virtual BOOL isFlexible() const; 218 virtual BOOL isFlexible() const;
210 virtual BOOL isSculpted() const; 219 virtual BOOL isSculpted() const;
220 virtual BOOL hasLightTexture() const;
221
211 BOOL isVolumeGlobal() const; 222 BOOL isVolumeGlobal() const;
212 BOOL canBeFlexible() const; 223 BOOL canBeFlexible() const;
213 BOOL setIsFlexible(BOOL is_flexible); 224 BOOL setIsFlexible(BOOL is_flexible);
@@ -233,12 +244,14 @@ private:
233 BOOL mLODChanged; 244 BOOL mLODChanged;
234 S32 mSculptLevel; 245 S32 mSculptLevel;
235 BOOL mSculptChanged; 246 BOOL mSculptChanged;
247 F32 mSpotLightPriority;
236 LLMatrix4 mRelativeXform; 248 LLMatrix4 mRelativeXform;
237 LLMatrix3 mRelativeXformInvTrans; 249 LLMatrix3 mRelativeXformInvTrans;
238 BOOL mVolumeChanged; 250 BOOL mVolumeChanged;
239 F32 mVObjRadius; 251 F32 mVObjRadius;
240 LLVolumeInterface *mVolumeImpl; 252 LLVolumeInterface *mVolumeImpl;
241 LLPointer<LLViewerImage> mSculptTexture; 253 LLPointer<LLViewerImage> mSculptTexture;
254 LLPointer<LLViewerImage> mLightTexture;
242 255
243 // statics 256 // statics
244public: 257public: