diff options
author | David Walter Seikel | 2012-04-03 06:40:21 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-04-03 06:40:21 +1000 |
commit | a28736172e5adff7c68cc924d999834b2c3d348d (patch) | |
tree | 51142317d6728f4de003c41da40b685793c623f2 /linden/indra/newview/llwlparamset.h | |
parent | Merge a bunch of duplicated Windlight sharing code. (diff) | |
download | meta-impy-a28736172e5adff7c68cc924d999834b2c3d348d.zip meta-impy-a28736172e5adff7c68cc924d999834b2c3d348d.tar.gz meta-impy-a28736172e5adff7c68cc924d999834b2c3d348d.tar.bz2 meta-impy-a28736172e5adff7c68cc924d999834b2c3d348d.tar.xz |
Yay for automated white space fixes.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llwlparamset.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/linden/indra/newview/llwlparamset.h b/linden/indra/newview/llwlparamset.h index 038490d..3a59f6b 100644 --- a/linden/indra/newview/llwlparamset.h +++ b/linden/indra/newview/llwlparamset.h | |||
@@ -3,9 +3,9 @@ | |||
3 | * @brief Interface for the LLWLParamSet class. | 3 | * @brief Interface for the LLWLParamSet class. |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2005&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2005&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2005-2009, Linden Research, Inc. | 7 | * Copyright (c) 2005-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
11 | * to you under the terms of the GNU General Public License, version 2.0 | 11 | * to you under the terms of the GNU General Public License, version 2.0 |
@@ -13,17 +13,17 @@ | |||
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 13 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | 15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
16 | * | 16 | * |
17 | * There are special exceptions to the terms and conditions of the GPL as | 17 | * There are special exceptions to the terms and conditions of the GPL as |
18 | * it is applied to this Source Code. View the full text of the exception | 18 | * it is applied to this Source Code. View the full text of the exception |
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | 21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception |
22 | * | 22 | * |
23 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
25 | * and agree to abide by those obligations. | 25 | * and agree to abide by those obligations. |
26 | * | 26 | * |
27 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 27 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
28 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 28 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
29 | * COMPLETENESS OR PERFORMANCE. | 29 | * COMPLETENESS OR PERFORMANCE. |
@@ -55,7 +55,7 @@ public: | |||
55 | private: | 55 | private: |
56 | 56 | ||
57 | LLSD mParamValues; | 57 | LLSD mParamValues; |
58 | 58 | ||
59 | float mCloudScrollXOffset, mCloudScrollYOffset; | 59 | float mCloudScrollXOffset, mCloudScrollYOffset; |
60 | 60 | ||
61 | public: | 61 | public: |
@@ -67,10 +67,10 @@ public: | |||
67 | 67 | ||
68 | /// set the total llsd | 68 | /// set the total llsd |
69 | void setAll(const LLSD& val); | 69 | void setAll(const LLSD& val); |
70 | 70 | ||
71 | /// get the total llsd | 71 | /// get the total llsd |
72 | const LLSD& getAll(); | 72 | const LLSD& getAll(); |
73 | 73 | ||
74 | 74 | ||
75 | /// Set a float parameter. | 75 | /// Set a float parameter. |
76 | /// \param paramName The name of the parameter to set. | 76 | /// \param paramName The name of the parameter to set. |
@@ -120,61 +120,61 @@ public: | |||
120 | 120 | ||
121 | /// Get an integer parameter | 121 | /// Get an integer 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 | F32 getFloat(const std::string& paramName, bool& error); | 124 | F32 getFloat(const std::string& paramName, bool& error); |
125 | 125 | ||
126 | 126 | ||
127 | // specific getters and setters | 127 | // specific getters and setters |
128 | 128 | ||
129 | 129 | ||
130 | /// set the star's brightness | 130 | /// set the star's brightness |
131 | /// \param val brightness value | 131 | /// \param val brightness value |
132 | void setStarBrightness(F32 val); | 132 | void setStarBrightness(F32 val); |
133 | 133 | ||
134 | /// get the star brightness value; | 134 | /// get the star brightness value; |
135 | F32 getStarBrightness(); | 135 | F32 getStarBrightness(); |
136 | 136 | ||
137 | void setSunAngle(F32 val); | 137 | void setSunAngle(F32 val); |
138 | F32 getSunAngle(); | 138 | F32 getSunAngle(); |
139 | 139 | ||
140 | void setEastAngle(F32 val); | 140 | void setEastAngle(F32 val); |
141 | F32 getEastAngle(); | 141 | F32 getEastAngle(); |
142 | 142 | ||
143 | 143 | ||
144 | 144 | ||
145 | /// set the cloud scroll x enable value | 145 | /// set the cloud scroll x enable value |
146 | /// \param val scroll x value | 146 | /// \param val scroll x value |
147 | void setEnableCloudScrollX(bool val); | 147 | void setEnableCloudScrollX(bool val); |
148 | 148 | ||
149 | /// get the scroll x enable value; | 149 | /// get the scroll x enable value; |
150 | bool getEnableCloudScrollX(); | 150 | bool getEnableCloudScrollX(); |
151 | 151 | ||
152 | /// set the star's brightness | 152 | /// set the star's brightness |
153 | /// \param val scroll y bool value | 153 | /// \param val scroll y bool value |
154 | void setEnableCloudScrollY(bool val); | 154 | void setEnableCloudScrollY(bool val); |
155 | 155 | ||
156 | /// get the scroll enable y value; | 156 | /// get the scroll enable y value; |
157 | bool getEnableCloudScrollY(); | 157 | bool getEnableCloudScrollY(); |
158 | 158 | ||
159 | /// set the cloud scroll x enable value | 159 | /// set the cloud scroll x enable value |
160 | /// \param val scroll x value | 160 | /// \param val scroll x value |
161 | void setCloudScrollX(F32 val); | 161 | void setCloudScrollX(F32 val); |
162 | 162 | ||
163 | /// get the scroll x enable value; | 163 | /// get the scroll x enable value; |
164 | F32 getCloudScrollX(); | 164 | F32 getCloudScrollX(); |
165 | 165 | ||
166 | /// set the star's brightness | 166 | /// set the star's brightness |
167 | /// \param val scroll y bool value | 167 | /// \param val scroll y bool value |
168 | void setCloudScrollY(F32 val); | 168 | void setCloudScrollY(F32 val); |
169 | 169 | ||
170 | /// get the scroll enable y value; | 170 | /// get the scroll enable y value; |
171 | F32 getCloudScrollY(); | 171 | F32 getCloudScrollY(); |
172 | 172 | ||
173 | /// interpolate two parameter sets | 173 | /// interpolate two parameter sets |
174 | /// \param src The parameter set to start with | 174 | /// \param src The parameter set to start with |
175 | /// \param dest The parameter set to end with | 175 | /// \param dest The parameter set to end with |
176 | /// \param weight The amount to interpolate | 176 | /// \param weight The amount to interpolate |
177 | void mix(LLWLParamSet& src, LLWLParamSet& dest, | 177 | void mix(LLWLParamSet& src, LLWLParamSet& dest, |
178 | F32 weight); | 178 | F32 weight); |
179 | 179 | ||
180 | void updateCloudScrolling(void); | 180 | void updateCloudScrolling(void); |