#include <llgenepool.h>

Public Member Functions | |
| LLGenePool () | |
| ~LLGenePool () | |
| void | spawn (EWearableType type) |
Protected Member Functions | |
| BOOL | load () |
| BOOL | loadNodeArchetype (LLXmlTreeNode *node) |
Protected Attributes | |
| BOOL | mLoaded |
| LLDynamicArray< LLAppearance * > | mArchetypes |
Definition at line 41 of file llgenepool.h.
| LLGenePool::LLGenePool | ( | ) |
Definition at line 46 of file llgenepool.cpp.
| LLGenePool::~LLGenePool | ( | ) |
Definition at line 52 of file llgenepool.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, mArchetypes, and S32.

| void LLGenePool::spawn | ( | EWearableType | type | ) |
Definition at line 207 of file llgenepool.cpp.
References LLDynamicArray< Type, BlockSize >::count(), gAgent, LLAgent::getAvatarObject(), LLVOAvatar::getDefaultTEImageID(), LLVisualParam::getDefaultWeight(), LLCharacter::getFirstVisualParam(), LLVisualParam::getGroup(), LLVisualParam::getID(), LLViewerImageList::getImage(), LLCharacter::getNextVisualParam(), LLAppearance::getParam(), LLVOAvatar::getTEWearableType(), LLAppearance::getTexture(), LLCharacter::getVisualParam(), LLVisualParam::getWeight(), gImageList, i, LLUUID::isNull(), LLVOAvatar::isTextureIndexBaked(), j, llendl, llwarns, load(), mArchetypes, mLoaded, NULL, S32, LLAgent::sendAgentSetAppearance(), LLVisualParam::setAnimationTarget(), LLVOAvatar::setLocTexTE(), LLVOAvatar::startAppearanceAnimation(), LLVOAvatar::TEX_NUM_ENTRIES, TRUE, LLVOAvatar::updateMeshTextures(), LLVOAvatar::updateVisualParams(), and VISUAL_PARAM_GROUP_TWEAKABLE.
Referenced by LLFloaterCustomize::spawnWearableAppearance().


| BOOL LLGenePool::load | ( | ) | [protected] |
Definition at line 61 of file llgenepool.cpp.
References LLXmlTree::addAttributeString(), FALSE, gDirUtilp, LLXmlTreeNode::getChildByName(), LLDir::getExpandedFilename(), LLXmlTreeNode::getFastAttributeString(), LLXmlTreeNode::getNextNamedChild(), LLXmlTree::getRoot(), LLXmlTreeNode::hasName(), LL_PATH_CHARACTER, llendl, llwarns, loadNodeArchetype(), mLoaded, LLXmlTree::parseFile(), and TRUE.
Referenced by spawn().


| BOOL LLGenePool::loadNodeArchetype | ( | LLXmlTreeNode * | node | ) | [protected] |
Definition at line 123 of file llgenepool.cpp.
References LLXmlTree::addAttributeString(), FALSE, gAgent, LLAgent::getAvatarObject(), LLXmlTreeNode::getChildByName(), LLXmlTreeNode::getFastAttributeF32(), LLXmlTreeNode::getFastAttributeS32(), LLXmlTreeNode::getFastAttributeUUID(), LLXmlTreeNode::getNextNamedChild(), LLCharacter::getVisualParam(), LLXmlTreeNode::hasName(), llassert, llendl, llwarns, mArchetypes, LLDynamicArray< Type, BlockSize >::put(), S32, and TRUE.
Referenced by load().


BOOL LLGenePool::mLoaded [protected] |
LLDynamicArray< LLAppearance* > LLGenePool::mArchetypes [protected] |
Definition at line 55 of file llgenepool.h.
Referenced by loadNodeArchetype(), spawn(), and ~LLGenePool().
1.5.5