1 | #include "LBBCSampleConfigFile.h" |
---|
2 | |
---|
3 | namespace LBBC { |
---|
4 | |
---|
5 | SampleConfigFile::SampleConfigFile(): Ogre::ConfigFile() |
---|
6 | { |
---|
7 | } |
---|
8 | |
---|
9 | SampleConfigFile::~SampleConfigFile() |
---|
10 | { |
---|
11 | } |
---|
12 | |
---|
13 | Ogre::String SampleConfigFile::getEntitySampleMaterialName() |
---|
14 | { |
---|
15 | return getSetting("Entity Sample Material Name"); |
---|
16 | } |
---|
17 | |
---|
18 | Ogre::String SampleConfigFile::getEntitySampleMeshName() |
---|
19 | { |
---|
20 | return getSetting("Entity Sample Mesh Name"); |
---|
21 | } |
---|
22 | |
---|
23 | bool SampleConfigFile::getEntityDistributionGeneration() |
---|
24 | { |
---|
25 | return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Generation")); |
---|
26 | } |
---|
27 | |
---|
28 | bool SampleConfigFile::getEntityDistributionMerged() |
---|
29 | { |
---|
30 | return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Merged")); |
---|
31 | } |
---|
32 | |
---|
33 | Ogre::String SampleConfigFile::getEntityDistributionSplittedMeshName()
|
---|
34 | {
|
---|
35 | return getSetting("Entity Distribution Splitted Mesh Name");
|
---|
36 | }
|
---|
37 | |
---|
38 | Ogre::String SampleConfigFile::getEntityDistributionSplittedMaterialName()
|
---|
39 | {
|
---|
40 | return getSetting("Entity Distribution Splitted Material Name");
|
---|
41 | }
|
---|
42 |
|
---|
43 | Ogre::String SampleConfigFile::getEntityDistributionMergedMeshName()
|
---|
44 | {
|
---|
45 | return getSetting("Entity Distribution Merged Mesh Name");
|
---|
46 | }
|
---|
47 |
|
---|
48 | Ogre::String SampleConfigFile::getEntityDistributionMergedMaterialName() |
---|
49 | { |
---|
50 | return getSetting("Entity Distribution Merged Material Name"); |
---|
51 | } |
---|
52 | |
---|
53 | Ogre::String SampleConfigFile::getEntityDistributionFolder() |
---|
54 | { |
---|
55 | return getSetting("Entity Distribution Folder"); |
---|
56 | } |
---|
57 | |
---|
58 | Ogre::String SampleConfigFile::getEntityDistributionXMLName() |
---|
59 | { |
---|
60 | return getSetting("Entity Distribution XML Name"); |
---|
61 | } |
---|
62 | |
---|
63 | Ogre::String SampleConfigFile::getEntitiesFolder() |
---|
64 | { |
---|
65 | return getSetting("Entities Folder");
|
---|
66 | }
|
---|
67 |
|
---|
68 |
|
---|
69 | Ogre::String SampleConfigFile::getEntitiesMeshName()
|
---|
70 | {
|
---|
71 | return getSetting("Entities Mesh Name");
|
---|
72 | }
|
---|
73 |
|
---|
74 | Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingXMLName()
|
---|
75 | {
|
---|
76 | return getSetting("Billboard Cloud Grouped Indirect Texturing XML Name");
|
---|
77 | }
|
---|
78 |
|
---|
79 | bool SampleConfigFile::getEntitySampleMeshGeneration()
|
---|
80 | {
|
---|
81 | return Ogre::StringConverter::parseBool(getSetting("Entity Sample Mesh Generation"));
|
---|
82 | }
|
---|
83 |
|
---|
84 | bool SampleConfigFile::getEntityClustersGeneration()
|
---|
85 | {
|
---|
86 | return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Generation"));
|
---|
87 | }
|
---|
88 |
|
---|
89 | float SampleConfigFile::getEntityClustersAlpha()
|
---|
90 | {
|
---|
91 | return Ogre::StringConverter::parseReal(getSetting("Entity Clusters Alpha"));
|
---|
92 | }
|
---|
93 |
|
---|
94 | unsigned int SampleConfigFile::getEntityClustersMaxClusters()
|
---|
95 | {
|
---|
96 | return Ogre::StringConverter::parseInt(getSetting("Entity Clusters MaxClusters"));
|
---|
97 | }
|
---|
98 |
|
---|
99 | unsigned int SampleConfigFile::getEntityClustersNumIterations()
|
---|
100 | {
|
---|
101 | return Ogre::StringConverter::parseInt(getSetting("Entity Clusters NumIterations"));
|
---|
102 | }
|
---|
103 |
|
---|
104 | bool SampleConfigFile::getEntityClustersGroupedClusters() |
---|
105 | { |
---|
106 | return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Grouped Clusters")); |
---|
107 | }
|
---|
108 |
|
---|
109 | bool SampleConfigFile::getEntityClustersSplittedClusters() |
---|
110 | { |
---|
111 | return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Splitted Clusters")); |
---|
112 | }
|
---|
113 |
|
---|
114 | bool SampleConfigFile::getEntityDistributionSplitted()
|
---|
115 | {
|
---|
116 | return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Splitted"));
|
---|
117 | }
|
---|
118 |
|
---|
119 | bool SampleConfigFile::getBillboardCloudGroupedDiffuseColorBillboards()
|
---|
120 | {
|
---|
121 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Grouped Diffuse Color Billboards"));
|
---|
122 | }
|
---|
123 |
|
---|
124 | bool SampleConfigFile::getBillboardCloudSplittedBillboards()
|
---|
125 | {
|
---|
126 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Splitted Billboards"));
|
---|
127 | }
|
---|
128 |
|
---|
129 | Ogre::String SampleConfigFile::getBillboardCloudIndirectPointMeshName()
|
---|
130 | {
|
---|
131 | return getSetting("Billboard Cloud Indirect Point Mesh Name");
|
---|
132 | }
|
---|
133 |
|
---|
134 | Ogre::String SampleConfigFile::getBillboardCloudIndirectPointMaterialName()
|
---|
135 | {
|
---|
136 | return getSetting("Billboard Cloud Indirect Point Material Name");
|
---|
137 | }
|
---|
138 |
|
---|
139 | Ogre::String SampleConfigFile::getEntityClustersFolder() |
---|
140 | { |
---|
141 | return getSetting("Entity Clusters Folder");
|
---|
142 | }
|
---|
143 |
|
---|
144 | Ogre::String SampleConfigFile::getEntityClustersGroupedMeshName() |
---|
145 | { |
---|
146 | return getSetting("Entity Clusters Grouped Mesh Name");
|
---|
147 | }
|
---|
148 |
|
---|
149 | Ogre::String SampleConfigFile::getEntityClustersSplittedMeshName() |
---|
150 | { |
---|
151 | return getSetting("Entity Clusters Splitted Mesh Name");
|
---|
152 | }
|
---|
153 |
|
---|
154 | Ogre::String SampleConfigFile::getEntityClustersGroupedMaterialName() |
---|
155 | { |
---|
156 | return getSetting("Entity Clusters Grouped Material Name");
|
---|
157 | }
|
---|
158 |
|
---|
159 | Ogre::String SampleConfigFile::getEntityClustersSplittedMaterialName() |
---|
160 | { |
---|
161 | return getSetting("Entity Clusters Splitted Material Name");
|
---|
162 | }
|
---|
163 |
|
---|
164 | Ogre::String SampleConfigFile::getBillboardCloudFolder() |
---|
165 | { |
---|
166 | return getSetting("Billboard Cloud Folder");
|
---|
167 | }
|
---|
168 |
|
---|
169 | Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorMeshName() |
---|
170 | { |
---|
171 | return getSetting("Billboard Cloud Grouped Diffuse Color Mesh Name");
|
---|
172 | }
|
---|
173 |
|
---|
174 | Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingMeshName() |
---|
175 | { |
---|
176 | return getSetting("Billboard Cloud Grouped Indirect Texturing Mesh Name");
|
---|
177 | }
|
---|
178 |
|
---|
179 | Ogre::String SampleConfigFile::getBillboardCloudSplittedMeshName() |
---|
180 | { |
---|
181 | return getSetting("Billboard Cloud Splitted Mesh Name");
|
---|
182 | }
|
---|
183 |
|
---|
184 | Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingMaterialName() |
---|
185 | { |
---|
186 | return getSetting("Billboard Cloud Grouped Indirect Texturing Material Name");
|
---|
187 | } |
---|
188 | |
---|
189 | Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorMaterialName() |
---|
190 | { |
---|
191 | return getSetting("Billboard Cloud Grouped Diffuse Color Material Name"); |
---|
192 | } |
---|
193 | |
---|
194 | Ogre::String SampleConfigFile::getBillboardCloudSplittedMaterialName() |
---|
195 | { |
---|
196 | return getSetting("Billboard Cloud Splitted Material Name"); |
---|
197 | } |
---|
198 | |
---|
199 | Ogre::String SampleConfigFile::getEntityClustersGroupedTextureUnit0Name() |
---|
200 | { |
---|
201 | return getSetting("Entity Clusters Grouped Texture Unit 0 Name"); |
---|
202 | } |
---|
203 | |
---|
204 | Ogre::String SampleConfigFile::getEntityClustersSplittedTextureUnit0Name() |
---|
205 | { |
---|
206 | return getSetting("Entity Clusters Splitted Texture Unit 0 Name"); |
---|
207 | } |
---|
208 | |
---|
209 | Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorTextureUnit0Name() |
---|
210 | { |
---|
211 | return getSetting("Billboard Cloud Grouped Diffuse Color Texture Unit 0 Name"); |
---|
212 | } |
---|
213 | |
---|
214 | Ogre::String SampleConfigFile::getBillboardCloudGroupedIndirectTexturingTextureUnit0Name() |
---|
215 | { |
---|
216 | return getSetting("Billboard Cloud Grouped Indirect Texturing Texture Unit 0 Name"); |
---|
217 | } |
---|
218 | |
---|
219 | Ogre::String SampleConfigFile::getBillboardCloudSplittedTextureUnit0Name() |
---|
220 | { |
---|
221 | return getSetting("Billboard Cloud Splitted Texture Unit 0 Name"); |
---|
222 | } |
---|
223 | |
---|
224 | Ogre::String SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasName() |
---|
225 | { |
---|
226 | return getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Name"); |
---|
227 | } |
---|
228 | |
---|
229 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasBitRange() |
---|
230 | { |
---|
231 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Bit Range")); |
---|
232 | }
|
---|
233 | |
---|
234 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureSize() |
---|
235 | { |
---|
236 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Size")); |
---|
237 | } |
---|
238 | |
---|
239 | unsigned int SampleConfigFile::getBillboardCloudGroupedIndirectTexturingGroups() |
---|
240 | { |
---|
241 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Grouped Indirect Texturing Groups")); |
---|
242 | } |
---|
243 | |
---|
244 | unsigned int SampleConfigFile::getBillboardCloudGroupedDiffuseColorGroups() |
---|
245 | { |
---|
246 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Grouped Diffuse Color Groups")); |
---|
247 | } |
---|
248 | |
---|
249 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasBitRange() |
---|
250 | { |
---|
251 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Bit Range")); |
---|
252 | } |
---|
253 | |
---|
254 | unsigned int SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasBitRange() |
---|
255 | { |
---|
256 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Bit Range")); |
---|
257 | } |
---|
258 | |
---|
259 | unsigned int SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasSize() |
---|
260 | { |
---|
261 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Size")); |
---|
262 | } |
---|
263 | |
---|
264 | unsigned int SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureSize() |
---|
265 | { |
---|
266 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Size")); |
---|
267 | } |
---|
268 | |
---|
269 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasSize() |
---|
270 | { |
---|
271 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Size")); |
---|
272 | } |
---|
273 | |
---|
274 | bool SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasDebug() |
---|
275 | { |
---|
276 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Debug")); |
---|
277 | } |
---|
278 | |
---|
279 | bool SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasDebug() |
---|
280 | { |
---|
281 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Debug")); |
---|
282 | } |
---|
283 | |
---|
284 | bool SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasGeneration() |
---|
285 | { |
---|
286 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Generation")); |
---|
287 | } |
---|
288 | |
---|
289 | bool SampleConfigFile::getBillboardCloudIndirectGroupedBillboardsTextureAtlasGeneration() |
---|
290 | { |
---|
291 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Indirect Grouped Billboards Texture Atlas Generation")); |
---|
292 | } |
---|
293 | |
---|
294 | bool SampleConfigFile::getBillboardCloudGroupedIndirectTexturingBillboards() |
---|
295 | { |
---|
296 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Grouped Indirect Texturing Billboards")); |
---|
297 | } |
---|
298 | |
---|
299 | bool SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasGeneration()
|
---|
300 | {
|
---|
301 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Generation"));
|
---|
302 | }
|
---|
303 |
|
---|
304 | Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureName()
|
---|
305 | {
|
---|
306 | return getSetting("Billboard Cloud Diffuse Color Entity Texture Name");
|
---|
307 | }
|
---|
308 |
|
---|
309 | Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorGroupedBillboardsTextureAtlasName()
|
---|
310 | {
|
---|
311 | return getSetting("Billboard Cloud Diffuse Color Grouped Billboards Texture Atlas Name");
|
---|
312 | }
|
---|
313 |
|
---|
314 | Ogre::String SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasName()
|
---|
315 | {
|
---|
316 | return getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Name");
|
---|
317 | }
|
---|
318 |
|
---|
319 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasSize()
|
---|
320 | {
|
---|
321 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas Size"));
|
---|
322 | }
|
---|
323 | |
---|
324 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorEntityTextureAtlasNumSamples() |
---|
325 | { |
---|
326 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Entity Texture Atlas NumSamples")); |
---|
327 | } |
---|
328 |
|
---|
329 | Ogre::String SampleConfigFile::getBillboardCloudSplittedXMLName() |
---|
330 | { |
---|
331 | return getSetting("Billboard Cloud Splitted XML Name"); |
---|
332 | } |
---|
333 | |
---|
334 | Ogre::String SampleConfigFile::getBillboardCloudGroupedDiffuseColorXMLName()
|
---|
335 | {
|
---|
336 | return getSetting("Billboard Cloud Grouped Diffuse Color XML Name");
|
---|
337 | }
|
---|
338 |
|
---|
339 | } |
---|