diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llwlparamset.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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/llwlparamset.h')
-rw-r--r-- | linden/indra/newview/llwlparamset.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/linden/indra/newview/llwlparamset.h b/linden/indra/newview/llwlparamset.h index ed3453d..721627a 100644 --- a/linden/indra/newview/llwlparamset.h +++ b/linden/indra/newview/llwlparamset.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 | ||
42 | class LLFloaterWindLight; | 42 | class LLFloaterWindLight; |
43 | class LLWLParamSet; | 43 | class LLWLParamSet; |
@@ -48,7 +48,7 @@ class LLWLParamSet { | |||
48 | friend class LLWLParamManager; | 48 | friend class LLWLParamManager; |
49 | 49 | ||
50 | public: | 50 | public: |
51 | LLString mName; | 51 | std::string mName; |
52 | 52 | ||
53 | private: | 53 | private: |
54 | 54 | ||
@@ -73,20 +73,20 @@ public: | |||
73 | /// Set a float parameter. | 73 | /// Set a float parameter. |
74 | /// \param paramName The name of the parameter to set. | 74 | /// \param paramName The name of the parameter to set. |
75 | /// \param x The float value to set. | 75 | /// \param x The float value to set. |
76 | void set(const char * paramName, float x); | 76 | void set(const std::string& paramName, float x); |
77 | 77 | ||
78 | /// Set a float2 parameter. | 78 | /// Set a float2 parameter. |
79 | /// \param paramName The name of the parameter to set. | 79 | /// \param paramName The name of the parameter to set. |
80 | /// \param x The x component's value to set. | 80 | /// \param x The x component's value to set. |
81 | /// \param y The y component's value to set. | 81 | /// \param y The y component's value to set. |
82 | void set(const char * paramName, float x, float y); | 82 | void set(const std::string& paramName, float x, float y); |
83 | 83 | ||
84 | /// Set a float3 parameter. | 84 | /// Set a float3 parameter. |
85 | /// \param paramName The name of the parameter to set. | 85 | /// \param paramName The name of the parameter to set. |
86 | /// \param x The x component's value to set. | 86 | /// \param x The x component's value to set. |
87 | /// \param y The y component's value to set. | 87 | /// \param y The y component's value to set. |
88 | /// \param z The z component's value to set. | 88 | /// \param z The z component's value to set. |
89 | void set(const char * paramName, float x, float y, float z); | 89 | void set(const std::string& paramName, float x, float y, float z); |
90 | 90 | ||
91 | /// Set a float4 parameter. | 91 | /// Set a float4 parameter. |
92 | /// \param paramName The name of the parameter to set. | 92 | /// \param paramName The name of the parameter to set. |
@@ -94,32 +94,32 @@ public: | |||
94 | /// \param y The y component's value to set. | 94 | /// \param y The y component's value to set. |
95 | /// \param z The z component's value to set. | 95 | /// \param z The z component's value to set. |
96 | /// \param w The w component's value to set. | 96 | /// \param w The w component's value to set. |
97 | void set(const char * paramName, float x, float y, float z, float w); | 97 | void set(const std::string& paramName, float x, float y, float z, float w); |
98 | 98 | ||
99 | /// Set a float4 parameter. | 99 | /// Set a float4 parameter. |
100 | /// \param paramName The name of the parameter to set. | 100 | /// \param paramName The name of the parameter to set. |
101 | /// \param val An array of the 4 float values to set the parameter to. | 101 | /// \param val An array of the 4 float values to set the parameter to. |
102 | void set(const char * paramName, const float * val); | 102 | void set(const std::string& paramName, const float * val); |
103 | 103 | ||
104 | /// Set a float4 parameter. | 104 | /// Set a float4 parameter. |
105 | /// \param paramName The name of the parameter to set. | 105 | /// \param paramName The name of the parameter to set. |
106 | /// \param val A struct of the 4 float values to set the parameter to. | 106 | /// \param val A struct of the 4 float values to set the parameter to. |
107 | void set(const char * paramName, const LLVector4 & val); | 107 | void set(const std::string& paramName, const LLVector4 & val); |
108 | 108 | ||
109 | /// Set a float4 parameter. | 109 | /// Set a float4 parameter. |
110 | /// \param paramName The name of the parameter to set. | 110 | /// \param paramName The name of the parameter to set. |
111 | /// \param val A struct of the 4 float values to set the parameter to. | 111 | /// \param val A struct of the 4 float values to set the parameter to. |
112 | void set(const char * paramName, const LLColor4 & val); | 112 | void set(const std::string& paramName, const LLColor4 & val); |
113 | 113 | ||
114 | /// Get a float4 parameter. | 114 | /// Get a float4 parameter. |
115 | /// \param paramName The name of the parameter to set. | 115 | /// \param paramName The name of the parameter to set. |
116 | /// \param error A flag to set if it's not the proper return type | 116 | /// \param error A flag to set if it's not the proper return type |
117 | LLVector4 getVector(const char * paramName, bool& error); | 117 | LLVector4 getVector(const std::string& paramName, bool& error); |
118 | 118 | ||
119 | /// Get an integer parameter | 119 | /// Get an integer parameter |
120 | /// \param paramName The name of the parameter to set. | 120 | /// \param paramName The name of the parameter to set. |
121 | /// \param error A flag to set if it's not the proper return type | 121 | /// \param error A flag to set if it's not the proper return type |
122 | F32 getFloat(const char * paramName, bool& error); | 122 | F32 getFloat(const std::string& paramName, bool& error); |
123 | 123 | ||
124 | 124 | ||
125 | // specific getters and setters | 125 | // specific getters and setters |