| 188 | #endif |
| 189 | |
| 190 | void World::InitGeneral() |
| 191 | { |
| 192 | _wantedOvercast = 0.3; |
| 193 | _actualOvercast = _wantedOvercast; |
| 194 | _wantedFog = 0.0; |
| 195 | _actualFog = _wantedFog; |
| 196 | _speedOvercast = 1.0 / (60 * 60); |
| 197 | _speedFog = 1.0 / (60 * 60); |
| 198 | _weatherTime = 0; |
| 199 | _nextWeatherChange = 0; |
| 200 | _firstFrame = true; |
| 201 | |
| 202 | Glob.clock.SetTimeInYear(8 * OneHour + 130 * OneDay); |
| 203 | LightSun* sun = _scene.MainLight(); |
| 204 | sun->Recalculate(this); |
| 205 | } |
| 206 | |
| 207 | void World::InitGeneral(const ParamEntry& cfg) |
| 208 | { |
no test coverage detected