|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include <array>
|
|
|
|
#include <array>
|
|
|
|
|
|
|
|
|
|
|
|
#include <components/esmterrain/storage.hpp>
|
|
|
|
#include <components/esm3terrain/storage.hpp>
|
|
|
|
|
|
|
|
|
|
|
|
#include "../../model/world/data.hpp"
|
|
|
|
#include "../../model/world/data.hpp"
|
|
|
|
|
|
|
|
|
|
|
@ -25,7 +25,7 @@ namespace CSVRender
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
const CSMWorld::Data& mData;
|
|
|
|
const CSMWorld::Data& mData;
|
|
|
|
std::array<float, ESM::Land::LAND_SIZE * ESM::Land::LAND_SIZE> mAlteredHeight;
|
|
|
|
std::array<float, ESM::Land::LAND_SIZE * ESM::Land::LAND_SIZE> mAlteredHeight{};
|
|
|
|
|
|
|
|
|
|
|
|
osg::ref_ptr<const ESMTerrain::LandObject> getLand (int cellX, int cellY) override;
|
|
|
|
osg::ref_ptr<const ESMTerrain::LandObject> getLand (int cellX, int cellY) override;
|
|
|
|
const ESM::LandTexture* getLandTexture(int index, short plugin) override;
|
|
|
|
const ESM::LandTexture* getLandTexture(int index, short plugin) override;
|
|
|
|