#include <llcloud.h>
Definition at line 149 of file llcloud.h.
LLCloudLayer::LLCloudLayer | ( | ) |
Definition at line 274 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, CLOUD_HEIGHT_MEAN, i, j, mCloudGroups, mNeighbors, NULL, S32, LLCloudGroup::setCenterRegion(), and LLCloudGroup::setCloudLayerp().
LLCloudLayer::~LLCloudLayer | ( | ) |
Definition at line 303 of file llcloud.cpp.
References destroy().
void LLCloudLayer::create | ( | LLViewerRegion * | regionp | ) |
Definition at line 309 of file llcloud.cpp.
References CLOUD_GRIDS_PER_EDGE, i, llassert, mDensityp, and mRegionp.
Referenced by LLWorld::addRegion().
void LLCloudLayer::destroy | ( | ) |
Definition at line 328 of file llcloud.cpp.
References LLCloudGroup::cleanup(), CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, mDensityp, mWindp, NULL, and S32.
Referenced by ~LLCloudLayer(), and LLViewerRegion::~LLViewerRegion().
void LLCloudLayer::reset | ( | ) |
Definition at line 347 of file llcloud.cpp.
void LLCloudLayer::updatePuffs | ( | const F32 | dt | ) |
Definition at line 444 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, S32, and LLCloudGroup::updatePuffs().
Referenced by LLWorld::updateClouds().
void LLCloudLayer::updatePuffOwnership | ( | ) |
Definition at line 460 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, S32, and LLCloudGroup::updatePuffOwnership().
Referenced by LLWorld::updateClouds().
void LLCloudLayer::updatePuffCount | ( | ) |
Definition at line 473 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, S32, and LLCloudGroup::updatePuffCount().
Referenced by LLWorld::updateClouds().
LLCloudGroup * LLCloudLayer::findCloudGroup | ( | const LLCloudPuff & | puff | ) |
Definition at line 486 of file llcloud.cpp.
References CLOUD_GROUPS_PER_EDGE, i, j, mCloudGroups, NULL, and S32.
Referenced by LLWorld::findCloudGroup().
void LLCloudLayer::setRegion | ( | LLViewerRegion * | regionp | ) |
LLViewerRegion* LLCloudLayer::getRegion | ( | ) | const [inline] |
Definition at line 168 of file llcloud.h.
References mRegionp.
Referenced by LLCloudGroup::inGroup(), and LLCloudGroup::updatePuffs().
void LLCloudLayer::setWindPointer | ( | LLWind * | windp | ) |
Definition at line 352 of file llcloud.cpp.
References mDensityp, mWindp, NULL, and LLWind::setCloudDensityPointer().
Referenced by LLWorld::addRegion().
void LLCloudLayer::setOriginGlobal | ( | const LLVector3d & | origin_global | ) | [inline] |
Definition at line 170 of file llcloud.h.
References mOriginGlobal.
Referenced by LLViewerRegion::setOriginGlobal().
void LLCloudLayer::setWidth | ( | F32 | width | ) |
Definition at line 366 of file llcloud.cpp.
References CLOUD_GRIDS_PER_EDGE, mMetersPerEdge, and mMetersPerGrid.
Referenced by LLWorld::addRegion().
void LLCloudLayer::setBrightness | ( | F32 | brightness | ) |
void LLCloudLayer::setSunColor | ( | const LLColor4 & | color | ) |
Definition at line 373 of file llcloud.cpp.
References CLOUD_GRIDS_PER_EDGE, i, j, lltrunc(), mDensityp, mMetersPerGrid, LLVector3::mV, S32, VX, and VY.
Referenced by LLAppViewer::idle(), and LLCloudGroup::updatePuffs().
void LLCloudLayer::decompress | ( | LLBitPack & | bitpack, | |
LLGroupHeader * | group_header | |||
) |
Definition at line 428 of file llcloud.cpp.
References decode_patch(), decode_patch_header(), decompress_patch(), gBuffer, init_patch_decompressor(), mDensityp, LLGroupHeader::patch_size, set_group_of_patch_header(), and LLGroupHeader::stride.
Referenced by LLVLManager::unpackData().
LLCloudLayer* LLCloudLayer::getNeighbor | ( | const S32 | n | ) | const [inline] |
void LLCloudLayer::connectNeighbor | ( | LLCloudLayer * | cloudp, | |
U32 | direction | |||
) |
Definition at line 505 of file llcloud.cpp.
References gDirOpposite, and mNeighbors.
Referenced by LLViewerRegion::connectNeighbor().
void LLCloudLayer::disconnectNeighbor | ( | U32 | direction | ) |
Definition at line 519 of file llcloud.cpp.
References gDirOpposite, mNeighbors, and NULL.
Referenced by disconnectAllNeighbors().
void LLCloudLayer::disconnectAllNeighbors | ( | ) |
Definition at line 535 of file llcloud.cpp.
References disconnectNeighbor(), i, and S32.
Referenced by LLViewerRegion::disconnectAllNeighbors().
LLCloudLayer* LLCloudLayer::mNeighbors[4] [protected] |
Definition at line 195 of file llcloud.h.
Referenced by connectNeighbor(), disconnectNeighbor(), getNeighbor(), and LLCloudLayer().
LLWind* LLCloudLayer::mWindp [protected] |
LLViewerRegion* LLCloudLayer::mRegionp [protected] |
F32* LLCloudLayer::mDensityp [protected] |
Definition at line 198 of file llcloud.h.
Referenced by create(), decompress(), destroy(), getDensityRegion(), and setWindPointer().
Definition at line 200 of file llcloud.h.
Referenced by destroy(), findCloudGroup(), LLCloudLayer(), updatePuffCount(), updatePuffOwnership(), and updatePuffs().