1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 11:59:55 +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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
buffercache.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
compositemaprenderer.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
defs.hpp Add terrain parallax mapping 2016-03-22 21:46:15 +01:00
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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
quadtreenode.cpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
quadtreenode.hpp Fix and prevent -Wextra-semi warning 2022-10-06 00:26:43 +02:00
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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
terraindrawable.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
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 Apply clang-format to code base 2022-09-22 21:35:26 +03:00
texturemanager.hpp Apply clang-format to code base 2022-09-22 21:35:26 +03:00
view.hpp Cleanup components includes 2022-08-16 19:14:04 +02:00
viewdata.cpp Use sorted vector for ViewData::contains implementation 2022-10-05 01:10:02 +02:00
viewdata.hpp Use sorted vector for ViewData::contains implementation 2022-10-05 01:10:02 +02:00
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