LLViewerPartSourceScript Class Reference

#include <llviewerpartsource.h>

Inheritance diagram for LLViewerPartSourceScript:

Inheritance graph
[legend]
Collaboration diagram for LLViewerPartSourceScript:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLViewerPartSourceScript (LLViewerObject *source_objp)
void update (const F32 dt)
void setDead ()
BOOL updateFromMesg ()
LLViewerImagegetImage () const
void setImage (LLViewerImage *imagep)
void setTargetObject (LLViewerObject *objp)

Static Public Member Functions

static LLPointer< LLViewerPartSourceScriptunpackPSS (LLViewerObject *source_objp, LLPointer< LLViewerPartSourceScript > pssp, const S32 block_num)
static LLPointer< LLViewerPartSourceScriptunpackPSS (LLViewerObject *source_objp, LLPointer< LLViewerPartSourceScript > pssp, LLDataPacker &dp)

Public Attributes

LLPartSysData mPartSysData

Protected Attributes

LLQuaternion mRotation
LLPointer< LLViewerObjectmTargetObjectp

Detailed Description

Definition at line 107 of file llviewerpartsource.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

LLViewerImage* LLViewerPartSourceScript::getImage (  )  const [inline]

Definition at line 121 of file llviewerpartsource.h.

References LLViewerPartSource::mImagep.

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().

void LLViewerPartSourceScript::update ( const F32  dt  )  [virtual]

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 (  ) 


Member Data Documentation

LLPartSysData LLViewerPartSourceScript::mPartSysData

Definition at line 123 of file llviewerpartsource.h.

Referenced by update().

LLQuaternion LLViewerPartSourceScript::mRotation [protected]

Definition at line 128 of file llviewerpartsource.h.

Referenced by update().

LLPointer<LLViewerObject> LLViewerPartSourceScript::mTargetObjectp [protected]

Definition at line 129 of file llviewerpartsource.h.

Referenced by setDead(), setTargetObject(), and update().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:58 2010 for Second Life Viewer by  doxygen 1.4.7