aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwaterparamset.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llwaterparamset.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llwaterparamset.h')
-rw-r--r--linden/indra/newview/llwaterparamset.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/linden/indra/newview/llwaterparamset.h b/linden/indra/newview/llwaterparamset.h
index 5d2581a..17ee1df 100644
--- a/linden/indra/newview/llwaterparamset.h
+++ b/linden/indra/newview/llwaterparamset.h
@@ -37,7 +37,7 @@
37 37
38#include "v4math.h" 38#include "v4math.h"
39#include "v4color.h" 39#include "v4color.h"
40#include "llglslshader.h" 40#include "llviewershadermgr.h"
41 41
42class LLFloaterWater; 42class LLFloaterWater;
43class LLWaterParamSet; 43class LLWaterParamSet;
@@ -48,7 +48,7 @@ class LLWaterParamSet
48 friend class LLWaterParamManager; 48 friend class LLWaterParamManager;
49 49
50public: 50public:
51 LLString mName; 51 std::string mName;
52 52
53private: 53private:
54 54
@@ -70,20 +70,20 @@ public:
70 /// Set a float parameter. 70 /// Set a float parameter.
71 /// \param paramName The name of the parameter to set. 71 /// \param paramName The name of the parameter to set.
72 /// \param x The float value to set. 72 /// \param x The float value to set.
73 void set(const char * paramName, float x); 73 void set(const std::string& paramName, float x);
74 74
75 /// Set a float2 parameter. 75 /// Set a float2 parameter.
76 /// \param paramName The name of the parameter to set. 76 /// \param paramName The name of the parameter to set.
77 /// \param x The x component's value to set. 77 /// \param x The x component's value to set.
78 /// \param y The y component's value to set. 78 /// \param y The y component's value to set.
79 void set(const char * paramName, float x, float y); 79 void set(const std::string& paramName, float x, float y);
80 80
81 /// Set a float3 parameter. 81 /// Set a float3 parameter.
82 /// \param paramName The name of the parameter to set. 82 /// \param paramName The name of the parameter to set.
83 /// \param x The x component's value to set. 83 /// \param x The x component's value to set.
84 /// \param y The y component's value to set. 84 /// \param y The y component's value to set.
85 /// \param z The z component's value to set. 85 /// \param z The z component's value to set.
86 void set(const char * paramName, float x, float y, float z); 86 void set(const std::string& paramName, float x, float y, float z);
87 87
88 /// Set a float4 parameter. 88 /// Set a float4 parameter.
89 /// \param paramName The name of the parameter to set. 89 /// \param paramName The name of the parameter to set.
@@ -91,42 +91,42 @@ public:
91 /// \param y The y component's value to set. 91 /// \param y The y component's value to set.
92 /// \param z The z component's value to set. 92 /// \param z The z component's value to set.
93 /// \param w The w component's value to set. 93 /// \param w The w component's value to set.
94 void set(const char * paramName, float x, float y, float z, float w); 94 void set(const std::string& paramName, float x, float y, float z, float w);
95 95
96 /// Set a float4 parameter. 96 /// Set a float4 parameter.
97 /// \param paramName The name of the parameter to set. 97 /// \param paramName The name of the parameter to set.
98 /// \param val An array of the 4 float values to set the parameter to. 98 /// \param val An array of the 4 float values to set the parameter to.
99 void set(const char * paramName, const float * val); 99 void set(const std::string& paramName, const float * val);
100 100
101 /// Set a float4 parameter. 101 /// Set a float4 parameter.
102 /// \param paramName The name of the parameter to set. 102 /// \param paramName The name of the parameter to set.
103 /// \param val A struct of the 4 float values to set the parameter to. 103 /// \param val A struct of the 4 float values to set the parameter to.
104 void set(const char * paramName, const LLVector4 & val); 104 void set(const std::string& paramName, const LLVector4 & val);
105 105
106 /// Set a float4 parameter. 106 /// Set a float4 parameter.
107 /// \param paramName The name of the parameter to set. 107 /// \param paramName The name of the parameter to set.
108 /// \param val A struct of the 4 float values to set the parameter to. 108 /// \param val A struct of the 4 float values to set the parameter to.
109 void set(const char * paramName, const LLColor4 & val); 109 void set(const std::string& paramName, const LLColor4 & val);
110 110
111 /// Get a float4 parameter. 111 /// Get a float4 parameter.
112 /// \param paramName The name of the parameter to set. 112 /// \param paramName The name of the parameter to set.
113 /// \param error A flag to set if it's not the proper return type 113 /// \param error A flag to set if it's not the proper return type
114 LLVector4 getVector4(const char * paramName, bool& error); 114 LLVector4 getVector4(const std::string& paramName, bool& error);
115 115
116 /// Get a float3 parameter. 116 /// Get a float3 parameter.
117 /// \param paramName The name of the parameter to set. 117 /// \param paramName The name of the parameter to set.
118 /// \param error A flag to set if it's not the proper return type 118 /// \param error A flag to set if it's not the proper return type
119 LLVector3 getVector3(const char * paramName, bool& error); 119 LLVector3 getVector3(const std::string& paramName, bool& error);
120 120
121 /// Get a float2 parameter. 121 /// Get a float2 parameter.
122 /// \param paramName The name of the parameter to set. 122 /// \param paramName The name of the parameter to set.
123 /// \param error A flag to set if it's not the proper return type 123 /// \param error A flag to set if it's not the proper return type
124 LLVector2 getVector2(const char * paramName, bool& error); 124 LLVector2 getVector2(const std::string& paramName, bool& error);
125 125
126 /// Get an integer parameter 126 /// Get an integer parameter
127 /// \param paramName The name of the parameter to set. 127 /// \param paramName The name of the parameter to set.
128 /// \param error A flag to set if it's not the proper return type 128 /// \param error A flag to set if it's not the proper return type
129 F32 getFloat(const char * paramName, bool& error); 129 F32 getFloat(const std::string& paramName, bool& error);
130 130
131 /// interpolate two parameter sets 131 /// interpolate two parameter sets
132 /// \param src The parameter set to start with 132 /// \param src The parameter set to start with