1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Reimplement the skirt part

This commit is contained in:
Chris Robinson 2012-07-18 22:32:26 -07:00
parent c9b1f72d81
commit 6caa39629d
2 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,7 @@ NpcAnimation::~NpcAnimation()
removeEntities(neck); removeEntities(neck);
removeEntities(chest); removeEntities(chest);
removeEntities(groin); removeEntities(groin);
removeEntities(skirt);
removeEntities(rHand); removeEntities(rHand);
removeEntities(lHand); removeEntities(lHand);
removeEntities(rWrist); removeEntities(rWrist);
@ -414,6 +415,8 @@ void NpcAnimation::removeIndividualPart(int type)
removeEntities(chest); removeEntities(chest);
else if(type == ESM::PRT_Groin)//4 else if(type == ESM::PRT_Groin)//4
removeEntities(groin); removeEntities(groin);
else if(type == ESM::PRT_Skirt)//5
removeEntities(skirt);
else if(type == ESM::PRT_RHand)//6 else if(type == ESM::PRT_RHand)//6
removeEntities(rHand); removeEntities(rHand);
else if(type == ESM::PRT_LHand)//7 else if(type == ESM::PRT_LHand)//7
@ -505,6 +508,7 @@ bool NpcAnimation::addOrReplaceIndividualPart(int type, int group, int priority,
groin = insertBoundedPart(mesh, "Groin"); groin = insertBoundedPart(mesh, "Groin");
break; break;
case ESM::PRT_Skirt: //5 case ESM::PRT_Skirt: //5
skirt = insertBoundedPart(mesh, "Groin");
break; break;
case ESM::PRT_RHand: //6 case ESM::PRT_RHand: //6
rHand = insertBoundedPart(mesh, "Right Hand"); rHand = insertBoundedPart(mesh, "Right Hand");

View File

@ -35,6 +35,7 @@ private:
NifOgre::EntityList rAnkle; NifOgre::EntityList rAnkle;
NifOgre::EntityList lAnkle; NifOgre::EntityList lAnkle;
NifOgre::EntityList groin; NifOgre::EntityList groin;
NifOgre::EntityList skirt;
NifOgre::EntityList lfoot; NifOgre::EntityList lfoot;
NifOgre::EntityList rfoot; NifOgre::EntityList rfoot;
NifOgre::EntityList hair; NifOgre::EntityList hair;