#include <llviewerpartsource.h>
Inheritance diagram for LLViewerPartSourceScript:
Public Member Functions | |
LLViewerPartSourceScript (LLViewerObject *source_objp) | |
void | update (const F32 dt) |
void | setDead () |
BOOL | updateFromMesg () |
LLViewerImage * | getImage () const |
void | setImage (LLViewerImage *imagep) |
void | setTargetObject (LLViewerObject *objp) |
Static Public Member Functions | |
static LLPointer< LLViewerPartSourceScript > | unpackPSS (LLViewerObject *source_objp, LLPointer< LLViewerPartSourceScript > pssp, const S32 block_num) |
static LLPointer< LLViewerPartSourceScript > | unpackPSS (LLViewerObject *source_objp, LLPointer< LLViewerPartSourceScript > pssp, LLDataPacker &dp) |
Public Attributes | |
LLPartSysData | mPartSysData |
Protected Attributes | |
LLQuaternion | mRotation |
LLPointer< LLViewerObject > | mTargetObjectp |
Definition at line 107 of file llviewerpartsource.h.
LLViewerPartSourceScript::LLViewerPartSourceScript | ( | LLViewerObject * | source_objp | ) |
Definition at line 83 of file llviewerpartsource.cpp.
References LLViewerImageList::getImage(), LLControlGroup::getString(), gImageList, gViewerArt, llassert, LLViewerPartSource::mImagep, LLViewerPartSource::mPosAgent, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, and TRUE.
Referenced by unpackPSS().
LLViewerImage* LLViewerPartSourceScript::getImage | ( | ) | const [inline] |
void LLViewerPartSourceScript::setDead | ( | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 98 of file llviewerpartsource.cpp.
References LLViewerPartSource::mIsDead, LLViewerPartSource::mSourceObjectp, mTargetObjectp, LLMemType::MTYPE_PARTICLES, NULL, and TRUE.
Referenced by update().
void LLViewerPartSourceScript::setImage | ( | LLViewerImage * | imagep | ) |
Definition at line 408 of file llviewerpartsource.cpp.
References LLViewerPartSource::mImagep, and LLMemType::MTYPE_PARTICLES.
void LLViewerPartSourceScript::setTargetObject | ( | LLViewerObject * | objp | ) |
Definition at line 414 of file llviewerpartsource.cpp.
References mTargetObjectp, and LLMemType::MTYPE_PARTICLES.
Referenced by update().
LLPointer< LLViewerPartSourceScript > LLViewerPartSourceScript::unpackPSS | ( | LLViewerObject * | source_objp, | |
LLPointer< LLViewerPartSourceScript > | pssp, | |||
LLDataPacker & | dp | |||
) | [static] |
Definition at line 376 of file llviewerpartsource.cpp.
References LLViewerObjectList::findObject(), gObjectList, LLViewerPartSourceScript(), LLMemType::MTYPE_PARTICLES, LLPointer< Type >::notNull(), and NULL.
LLPointer< LLViewerPartSourceScript > LLViewerPartSourceScript::unpackPSS | ( | LLViewerObject * | source_objp, | |
LLPointer< LLViewerPartSourceScript > | pssp, | |||
const S32 | block_num | |||
) | [static] |
Definition at line 334 of file llviewerpartsource.cpp.
References LLViewerObjectList::findObject(), gObjectList, LLPartSysData::isNullPS(), LLViewerPartSourceScript(), LLMemType::MTYPE_PARTICLES, LLPointer< Type >::notNull(), and NULL.
Referenced by LLViewerObject::unpackParticleSource().
Reimplemented from LLViewerPartSource.
Definition at line 106 of file llviewerpartsource.cpp.
References angle, f, F_PI, FALSE, LLViewerObjectList::findObject(), gObjectList, gPipeline, gWorldPointer, LLPipeline::hasRenderDebugMask(), i, LLPointer< Type >::isNull(), ll_frand(), LLPartData::LL_PART_FOLLOW_SRC_MASK, LLPartSysData::LL_PART_SRC_PATTERN_ANGLE, LLPartSysData::LL_PART_SRC_PATTERN_ANGLE_CONE, LLPartSysData::LL_PART_SRC_PATTERN_DROP, LLPartSysData::LL_PART_SRC_PATTERN_EXPLODE, LLPartData::LL_PART_TARGET_LINEAR_MASK, LLPartSysData::LL_PART_USE_NEW_ANGLE, llmax(), llmin(), LLVector3::magVec(), LLVector3::magVecSquared(), LLPartSysData::mAngularVelocity, LLPartSysData::mBurstPartCount, LLPartSysData::mBurstRadius, LLPartSysData::mBurstRate, LLPartSysData::mBurstSpeedMax, LLPartSysData::mBurstSpeedMin, LLPartData::mEndColor, LLPartData::mEndScale, LLPartSysData::mFlags, LLPartData::mFlags, LLViewerPartSource::mImagep, LLPartSysData::mInnerAngle, LLViewerPartSource::mIsSuspended, LLViewerPartSource::mLastPartTime, LLViewerPartSource::mLastUpdateTime, LLPartData::mMaxAge, LLPartSysData::mMaxAge, LLPartSysData::mOuterAngle, LLPartSysData::mPartAccel, LLPartSysData::mPartData, mPartSysData, LLPartSysData::mPattern, LLViewerPartSource::mPosAgent, mRotation, LLViewerPartSource::mSourceObjectp, LLPartSysData::mStartAge, LLPartData::mStartColor, LLPartData::mStartScale, mTargetObjectp, LLViewerPartSource::mTargetPosAgent, LLPartSysData::mTargetUUID, LLMemType::MTYPE_PARTICLES, LLVector3::mV, LLVector3::normVec(), LLUUID::notNull(), LLPointer< Type >::notNull(), NULL, LLPipeline::RENDER_DEBUG_PARTICLES, LLVector3::rotVec(), S32, setDead(), LLQuaternion::setQuat(), setTargetObject(), TRUE, VX, VY, and VZ.
BOOL LLViewerPartSourceScript::updateFromMesg | ( | ) |
LLQuaternion LLViewerPartSourceScript::mRotation [protected] |
Definition at line 129 of file llviewerpartsource.h.
Referenced by setDead(), setTargetObject(), and update().