#include <llhudeffecttrail.h>
Inheritance diagram for LLHUDEffectSpiral:
Public Member Functions | |
void | markDead () |
void | setTargetObject (LLViewerObject *objectp) |
void | setVMag (F32 vmag) |
void | setVOffset (F32 offset) |
void | setInitialRadius (F32 radius) |
void | setFinalRadius (F32 radius) |
void | setScaleBase (F32 scale) |
void | setScaleVar (F32 scale) |
void | setSpinRate (F32 rate) |
void | setFlickerRate (F32 rate) |
void | triggerLocal () |
Protected Member Functions | |
LLHUDEffectSpiral (const U8 type) | |
~LLHUDEffectSpiral () | |
void | render () |
void | packData (LLMessageSystem *mesgsys) |
void | unpackData (LLMessageSystem *mesgsys, S32 blocknum) |
Private Attributes | |
BOOL | mbInit |
LLPointer< LLViewerPartSource > | mPartSourcep |
F32 | mKillTime |
F32 | mVMag |
F32 | mVOffset |
F32 | mInitialRadius |
F32 | mFinalRadius |
F32 | mSpinRate |
F32 | mFlickerRate |
F32 | mScaleBase |
F32 | mScaleVar |
LLFrameTimer | mTimer |
LLInterpLinear< F32 > | mFadeInterp |
Friends | |
class | LLHUDObject |
Definition at line 47 of file llhudeffecttrail.h.
LLHUDEffectSpiral::LLHUDEffectSpiral | ( | const U8 | type | ) | [protected] |
Definition at line 58 of file llhudeffecttrail.cpp.
References f, mFadeInterp, mFinalRadius, mFlickerRate, mInitialRadius, mKillTime, mScaleBase, mScaleVar, mSpinRate, mVMag, and mVOffset.
LLHUDEffectSpiral::~LLHUDEffectSpiral | ( | ) | [protected] |
Definition at line 76 of file llhudeffecttrail.cpp.
void LLHUDEffectSpiral::markDead | ( | ) | [virtual] |
Reimplemented from LLHUDObject.
Definition at line 80 of file llhudeffecttrail.cpp.
References LLHUDObject::markDead(), mPartSourcep, and NULL.
Referenced by render(), and unpackData().
void LLHUDEffectSpiral::packData | ( | LLMessageSystem * | mesgsys | ) | [protected, virtual] |
Reimplemented from LLHUDEffect.
Definition at line 90 of file llhudeffecttrail.cpp.
References _PREHASH_TypeData, htonmemcpy(), LLVector3d::isExactlyZero(), LLVector3d::mdV, LLHUDObject::mPositionGlobal, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, MVT_LLUUID, MVT_LLVector3d, and LLHUDEffect::packData().
void LLHUDEffectSpiral::render | ( | ) | [protected, virtual] |
Reimplemented from LLHUDEffect.
Definition at line 276 of file llhudeffecttrail.cpp.
References LLControlGroup::getBOOL(), LLFrameTimer::getElapsedTimeF32(), gSavedSettings, LLPointer< Type >::isNull(), markDead(), mKillTime, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, and mTimer.
void LLHUDEffectSpiral::setTargetObject | ( | LLViewerObject * | objectp | ) | [virtual] |
Reimplemented from LLHUDObject.
Definition at line 266 of file llhudeffecttrail.cpp.
References LLHUDObject::mTargetObject.
Referenced by LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropScript(), LLSelectMgr::selectionSetImage(), and unpackData().
void LLHUDEffectSpiral::triggerLocal | ( | ) |
Definition at line 179 of file llhudeffecttrail.cpp.
References gAgent, LLPointer< Type >::get(), LLControlGroup::getBOOL(), LLFrameTimer::getElapsedTimeF32(), LLAgent::getID(), LLAgent::getPosAgentFromGlobal(), gSavedSettings, gWorldPointer, LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), LLViewerPartSource::LL_PART_SOURCE_BEAM, mbInit, LLHUDEffect::mColor, LLHUDEffect::mDuration, mKillTime, mPartSourcep, LLHUDObject::mPositionGlobal, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, mTimer, NULL, LLViewerPartSourceSpiral::setSourceObject(), LLColor4::setVec(), and TRUE.
Referenced by unpackData().
void LLHUDEffectSpiral::unpackData | ( | LLMessageSystem * | mesgsys, | |
S32 | blocknum | |||
) | [protected, virtual] |
Reimplemented from LLHUDEffect.
Definition at line 116 of file llhudeffecttrail.cpp.
References _PREHASH_Effect, _PREHASH_TypeData, LLViewerObjectList::findObject(), LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getSizeFast(), gObjectList, htonmemcpy(), LLUUID::isNull(), llendl, llwarns, markDead(), LLUUID::mData, LLVector3d::mdV, LLHUDObject::mPositionGlobal, MVT_LLUUID, MVT_LLVector3d, NULL, S32, LLHUDObject::setSourceObject(), setTargetObject(), size, triggerLocal(), and LLHUDEffect::unpackData().
friend class LLHUDObject [friend] |
Definition at line 64 of file llhudeffecttrail.h.
BOOL LLHUDEffectSpiral::mbInit [private] |
LLInterpLinear<F32> LLHUDEffectSpiral::mFadeInterp [private] |
F32 LLHUDEffectSpiral::mFinalRadius [private] |
Definition at line 90 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setFinalRadius().
F32 LLHUDEffectSpiral::mFlickerRate [private] |
Definition at line 92 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setFlickerRate().
F32 LLHUDEffectSpiral::mInitialRadius [private] |
Definition at line 89 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setInitialRadius().
F32 LLHUDEffectSpiral::mKillTime [private] |
Definition at line 86 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), render(), and triggerLocal().
F32 LLHUDEffectSpiral::mScaleBase [private] |
Definition at line 93 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setScaleBase().
F32 LLHUDEffectSpiral::mScaleVar [private] |
Definition at line 94 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setScaleVar().
F32 LLHUDEffectSpiral::mSpinRate [private] |
Definition at line 91 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setSpinRate().
LLFrameTimer LLHUDEffectSpiral::mTimer [private] |
F32 LLHUDEffectSpiral::mVMag [private] |
F32 LLHUDEffectSpiral::mVOffset [private] |
Definition at line 88 of file llhudeffecttrail.h.
Referenced by LLHUDEffectSpiral(), and setVOffset().