|
OpenMW
|
#include <cellwater.hpp>
Public Member Functions | |
| CellWater (CSMWorld::Data &data, osg::Group *cellNode, const std::string &id, const CSMWorld::CellCoordinates &cellCoords) | |
| ~CellWater () | |
| void | updateCellData (const CSMWorld::Record< CSMWorld::Cell > &cellRecord) |
| void | reloadAssets () |
Private Slots | |
| void | cellDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
Private Member Functions | |
| void | recreate () |
Private Attributes | |
| CSMWorld::Data & | mData |
| std::string | mId |
| osg::Group * | mParentNode |
| osg::ref_ptr < osg::PositionAttitudeTransform > | mWaterTransform |
| osg::ref_ptr< osg::Geode > | mWaterNode |
| osg::ref_ptr< osg::Geometry > | mWaterGeometry |
| bool | mDeleted |
| bool | mExterior |
| bool | mHasWater |
Static Private Attributes | |
| static const int | CellSize = ESM::Land::REAL_SIZE |
For exterior cells, this adds a patch of water to fit the size of the cell. For interior cells with water, this adds a large patch of water much larger than the typical size of a cell.
| CSVRender::CellWater::CellWater | ( | CSMWorld::Data & | data, |
| osg::Group * | cellNode, | ||
| const std::string & | id, | ||
| const CSMWorld::CellCoordinates & | cellCoords | ||
| ) |
| CSVRender::CellWater::~CellWater | ( | ) |
|
privateslot |
|
private |
| void CSVRender::CellWater::reloadAssets | ( | ) |
| void CSVRender::CellWater::updateCellData | ( | const CSMWorld::Record< CSMWorld::Cell > & | cellRecord | ) |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6