1 | #include "LBBCSampleConfigFile.h" |
---|
2 | |
---|
3 | namespace LBBC { |
---|
4 | |
---|
5 | SampleConfigFile::SampleConfigFile() |
---|
6 | { |
---|
7 | } |
---|
8 | |
---|
9 | SampleConfigFile::~SampleConfigFile() |
---|
10 | { |
---|
11 | } |
---|
12 | |
---|
13 | Ogre::String SampleConfigFile::getEntitySampleMeshPrefixFilename() |
---|
14 | { |
---|
15 | return getSetting("Entity Sample Mesh Prefix Filename"); |
---|
16 | } |
---|
17 | |
---|
18 | bool SampleConfigFile::getEntityDistributionGeneration() |
---|
19 | { |
---|
20 | return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Generation")); |
---|
21 | } |
---|
22 | |
---|
23 | bool SampleConfigFile::getEntityDistributionMerged() |
---|
24 | { |
---|
25 | return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Merged")); |
---|
26 | } |
---|
27 | |
---|
28 | Ogre::String SampleConfigFile::getEntityDistributionSplittedMaterialPrefixName()
|
---|
29 | {
|
---|
30 | return getSetting("Entity Distribution Splitted Material Prefix Name");
|
---|
31 | }
|
---|
32 |
|
---|
33 | Ogre::String SampleConfigFile::getEntityDistributionMergedMaterialPrefixName() |
---|
34 | { |
---|
35 | return getSetting("Entity Distribution Merged Material Prefix Name"); |
---|
36 | } |
---|
37 | |
---|
38 | Ogre::String SampleConfigFile::getEntityDistributionFolder() |
---|
39 | { |
---|
40 | return getSetting("Entity Distribution Folder"); |
---|
41 | } |
---|
42 | |
---|
43 | Ogre::String SampleConfigFile::getEntityDistributionXMLPrefixFilename() |
---|
44 | { |
---|
45 | return getSetting("Entity Distribution XML Prefix Filename"); |
---|
46 | } |
---|
47 | |
---|
48 | Ogre::String SampleConfigFile::getEntitiesFolder() |
---|
49 | { |
---|
50 | return getSetting("Entites Folder");
|
---|
51 | }
|
---|
52 |
|
---|
53 |
|
---|
54 | Ogre::String SampleConfigFile::getEntitiesMeshPrefixFilename()
|
---|
55 | {
|
---|
56 | return getSetting("Entities Mesh Prefix Filename");
|
---|
57 | }
|
---|
58 |
|
---|
59 | Ogre::String SampleConfigFile::getBillboardCloudXMLPrefixFilename()
|
---|
60 | {
|
---|
61 | return getSetting("Billboard Cloud XML Prefix Filename");
|
---|
62 | }
|
---|
63 |
|
---|
64 | bool SampleConfigFile::getEntitySampleMeshGeneration()
|
---|
65 | {
|
---|
66 | return Ogre::StringConverter::parseBool(getSetting("Entity Sample Mesh Generation"));
|
---|
67 | }
|
---|
68 |
|
---|
69 | bool SampleConfigFile::getEntityClustersGeneration()
|
---|
70 | {
|
---|
71 | return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Generation"));
|
---|
72 | }
|
---|
73 |
|
---|
74 | float SampleConfigFile::getEntityClustersAlpha()
|
---|
75 | {
|
---|
76 | return Ogre::StringConverter::parseReal(getSetting("Entity Clusters Alpha"));
|
---|
77 | }
|
---|
78 |
|
---|
79 | unsigned int SampleConfigFile::getEntityClustersMaxClusters()
|
---|
80 | {
|
---|
81 | return Ogre::StringConverter::parseInt(getSetting("Entity Clusters MaxClusters"));
|
---|
82 | }
|
---|
83 |
|
---|
84 | unsigned int SampleConfigFile::getEntityClustersNumIterations()
|
---|
85 | {
|
---|
86 | return Ogre::StringConverter::parseInt(getSetting("Entity Clusters NumIterations"));
|
---|
87 | }
|
---|
88 |
|
---|
89 | bool SampleConfigFile::getEntityClustersMergedClusters() |
---|
90 | { |
---|
91 | return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Merged Clusters")); |
---|
92 | }
|
---|
93 |
|
---|
94 | bool SampleConfigFile::getEntityClustersSplittedClusters() |
---|
95 | { |
---|
96 | return Ogre::StringConverter::parseBool(getSetting("Entity Clusters Splitted Clusters")); |
---|
97 | }
|
---|
98 |
|
---|
99 | bool SampleConfigFile::getEntityDistributionSplitted()
|
---|
100 | {
|
---|
101 | return Ogre::StringConverter::parseBool(getSetting("Entity Distribution Splitted"));
|
---|
102 | }
|
---|
103 |
|
---|
104 | bool SampleConfigFile::getBillboardCloudGeneration()
|
---|
105 | {
|
---|
106 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Generation"));
|
---|
107 | }
|
---|
108 |
|
---|
109 | bool SampleConfigFile::getBillboardCloudMergedBillboards()
|
---|
110 | {
|
---|
111 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Merged Billboards"));
|
---|
112 | }
|
---|
113 |
|
---|
114 | bool SampleConfigFile::getBillboardCloudSplittedBillboards()
|
---|
115 | {
|
---|
116 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Splitted Billboards"));
|
---|
117 | }
|
---|
118 |
|
---|
119 | Ogre::String SampleConfigFile::getEntityClustersFolder() |
---|
120 | { |
---|
121 | return getSetting("Entity Clusters Folder");
|
---|
122 | }
|
---|
123 |
|
---|
124 | Ogre::String SampleConfigFile::getEntityClustersMeshPrefixFilename() |
---|
125 | { |
---|
126 | return getSetting("Entity Clusters Mesh Prefix Filename");
|
---|
127 | }
|
---|
128 |
|
---|
129 | Ogre::String SampleConfigFile::getEntityClustersMaterialPrefixFilename() |
---|
130 | { |
---|
131 | return getSetting("Entity Clusters Material Prefix Filename");
|
---|
132 | }
|
---|
133 |
|
---|
134 | Ogre::String SampleConfigFile::getBillboardCloudFolder() |
---|
135 | { |
---|
136 | return getSetting("Billboard Cloud Folder");
|
---|
137 | }
|
---|
138 |
|
---|
139 | Ogre::String SampleConfigFile::getBillboardCloudMeshPrefixFilename() |
---|
140 | { |
---|
141 | return getSetting("Billboard Cloud Mesh Prefix Filename");
|
---|
142 | }
|
---|
143 |
|
---|
144 | Ogre::String SampleConfigFile::getBillboardCloudMaterialPrefixFilename() |
---|
145 | { |
---|
146 | return getSetting("Billboard Cloud Material Prefix Filename");
|
---|
147 | }
|
---|
148 | |
---|
149 | bool SampleConfigFile::getBillboardCloudDiffuseColorTextureAtlasGeneration()
|
---|
150 | {
|
---|
151 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Texture Atlas Generation"));
|
---|
152 | } |
---|
153 | |
---|
154 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorTextureSize()
|
---|
155 | {
|
---|
156 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Texture Size"));
|
---|
157 | }
|
---|
158 |
|
---|
159 | unsigned int SampleConfigFile::getBillboardCloudDiffuseColorTextureAtlasSize()
|
---|
160 | {
|
---|
161 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Diffuse Color Texture Atlas Size"));
|
---|
162 | }
|
---|
163 |
|
---|
164 | bool SampleConfigFile::getBillboardCloudIndirectTextureAtlasGeneration()
|
---|
165 | {
|
---|
166 | return Ogre::StringConverter::parseBool(getSetting("Billboard Cloud Diffuse Color Texture Atlas Generation"));
|
---|
167 | }
|
---|
168 |
|
---|
169 | unsigned int SampleConfigFile::getBillboardCloudIndirectTextureSize()
|
---|
170 | {
|
---|
171 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Texture Size"));
|
---|
172 | }
|
---|
173 |
|
---|
174 | unsigned int SampleConfigFile::getBillboardCloudIndirectTextureAtlasSize() |
---|
175 | { |
---|
176 | return Ogre::StringConverter::parseInt(getSetting("Billboard Cloud Indirect Texture Atlas Size")); |
---|
177 | } |
---|
178 | |
---|
179 | } |
---|