mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-01 06:26:38 +00:00
I have been informed by @akortunov that my addition of `Groundcover::getViewDistance` is not working in some cases. Investigations revealed that some `ViewData` code interacting with my additions had been quite thoroughly optimised in a way that was not sufficiently documented and interfered with the new feature. With this PR we repair `getViewDistance` while preserving such optimisations and add a necessary comment to avoid issues in the future. In addition, we now rebuild views when the global `mViewDistance` changes. |
||
|---|---|---|
| .. | ||
| buffercache.cpp | ||
| buffercache.hpp | ||
| cellborder.cpp | ||
| cellborder.hpp | ||
| chunkmanager.cpp | ||
| chunkmanager.hpp | ||
| compositemaprenderer.cpp | ||
| compositemaprenderer.hpp | ||
| defs.hpp | ||
| material.cpp | ||
| material.hpp | ||
| quadtreenode.cpp | ||
| quadtreenode.hpp | ||
| quadtreeworld.cpp | ||
| quadtreeworld.hpp | ||
| storage.hpp | ||
| terraindrawable.cpp | ||
| terraindrawable.hpp | ||
| terraingrid.cpp | ||
| terraingrid.hpp | ||
| texturemanager.cpp | ||
| texturemanager.hpp | ||
| viewdata.cpp | ||
| viewdata.hpp | ||
| world.cpp | ||
| world.hpp | ||