1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00
OpenMW/components/terrain
fteppe 22dc383f63 fixes errors and warnings
Applies review comments

getWorldspaceTerrain => returns a reference because never null
crashfix in navigator
updateLandPositions fixes naming of it
const ESM4::Land* MWWorld::Store<ESM4::Land>::search(ESM::ExteriorCellLocation cellLocation) const removes useless else
ExteriorCellLocation uses default initializers
get terrain height returns -MAX_FLOAT when there is no esm4 terrain.

applied review comments

use default initlializer when possible
factorise code
uses pattern matching in for loop.
2023-05-29 12:10:42 +02:00
..
buffercache.cpp
buffercache.hpp
cellborder.cpp adding worldspace info to terrain data structures 2023-05-29 11:31:37 +02:00
cellborder.hpp adding worldspace info to terrain data structures 2023-05-29 11:31:37 +02:00
chunkmanager.cpp Fixes bug in terrain loading + collision heightmap works 2023-05-29 11:32:13 +02:00
chunkmanager.hpp adding worldspace info to terrain data structures 2023-05-29 11:31:37 +02:00
compositemaprenderer.cpp
compositemaprenderer.hpp
defs.hpp
heightcull.hpp Minor header cleanup 2023-04-30 16:26:03 +02:00
material.cpp shade refactor 2023-02-25 11:03:39 -08:00
material.hpp
quadtreenode.cpp
quadtreenode.hpp
quadtreeworld.cpp fixes stutters => bugs in the way cells were updated. 2023-05-29 11:32:14 +02:00
quadtreeworld.hpp fixes errors and warnings 2023-05-29 12:10:42 +02:00
storage.hpp takes the right terrain bounds. 2023-05-29 11:32:14 +02:00
terraindrawable.cpp
terraindrawable.hpp
terraingrid.cpp Fixes bug in terrain loading + collision heightmap works 2023-05-29 11:32:13 +02:00
terraingrid.hpp Terrain has a mandatory worldspace in constructor 2023-05-29 11:31:36 +02:00
texturemanager.cpp
texturemanager.hpp
view.hpp
viewdata.cpp
viewdata.hpp
world.cpp adding worldspace info to terrain data structures 2023-05-29 11:31:37 +02:00
world.hpp adding worldspace info to terrain data structures 2023-05-29 11:31:37 +02:00