aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawpoolwater.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/newview/lldrawpoolwater.h
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to 'linden/indra/newview/lldrawpoolwater.h')
-rw-r--r--linden/indra/newview/lldrawpoolwater.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/linden/indra/newview/lldrawpoolwater.h b/linden/indra/newview/lldrawpoolwater.h
index b6569ee..45cefac 100644
--- a/linden/indra/newview/lldrawpoolwater.h
+++ b/linden/indra/newview/lldrawpoolwater.h
@@ -49,6 +49,11 @@ protected:
49 const LLWaterSurface *mWaterSurface; 49 const LLWaterSurface *mWaterSurface;
50public: 50public:
51 static BOOL sSkipScreenCopy; 51 static BOOL sSkipScreenCopy;
52 static BOOL sNeedsReflectionUpdate;
53 static LLVector3 sLightDir;
54
55 static LLColor4 sWaterFogColor;
56
52 enum 57 enum
53 { 58 {
54 VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX | 59 VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
@@ -58,17 +63,13 @@ public:
58 63
59 virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; } 64 virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }
60 65
61 enum
62 {
63 SHADER_LEVEL_RIPPLE = 2,
64 };
65
66 LLDrawPoolWater(); 66 LLDrawPoolWater();
67 /*virtual*/ ~LLDrawPoolWater(); 67 /*virtual*/ ~LLDrawPoolWater();
68 68
69 /*virtual*/ LLDrawPool *instancePool(); 69 /*virtual*/ LLDrawPool *instancePool();
70 static void restoreGL(); 70 static void restoreGL();
71 71
72 /*virtual*/ S32 getNumPasses();
72 /*virtual*/ void render(S32 pass = 0); 73 /*virtual*/ void render(S32 pass = 0);
73 /*virtual*/ void renderFaceSelected(LLFace *facep, LLImageGL *image, const LLColor4 &color, 74 /*virtual*/ void renderFaceSelected(LLFace *facep, LLImageGL *image, const LLColor4 &color,
74 const S32 index_offset = 0, const S32 index_count = 0); 75 const S32 index_offset = 0, const S32 index_count = 0);
@@ -80,9 +81,6 @@ public:
80 81
81 void renderReflection(LLFace* face); 82 void renderReflection(LLFace* face);
82 void shade(); 83 void shade();
83 void renderShaderSimple();
84
85 virtual S32 getMaterialAttribIndex() { return 0; }
86}; 84};
87 85
88void cgErrorCallback(); 86void cgErrorCallback();