forked from mirror/openmw-tes3mp
ncp scale factor
This commit is contained in:
parent
164a5c8fe4
commit
61b690eb4b
2 changed files with 10 additions and 0 deletions
|
@ -348,6 +348,14 @@ namespace MWClass
|
||||||
return weight;
|
return weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Npc::adjustScale(const MWWorld::Ptr& ptr,float& scale) const
|
||||||
|
{
|
||||||
|
//ptr.
|
||||||
|
//MWWorld::LiveCellRef<ESM::NPC>* npc = ptr.get<ESM::NPC>();
|
||||||
|
//npc->base->race
|
||||||
|
//ESM::Race
|
||||||
|
}
|
||||||
|
|
||||||
void Npc::adjustRotation(const MWWorld::Ptr& ptr,float& x,float& y,float& z) const
|
void Npc::adjustRotation(const MWWorld::Ptr& ptr,float& x,float& y,float& z) const
|
||||||
{
|
{
|
||||||
y = 0;
|
y = 0;
|
||||||
|
|
|
@ -76,6 +76,8 @@ namespace MWClass
|
||||||
///< Returns total weight of objects inside this object (including modifications from magic
|
///< Returns total weight of objects inside this object (including modifications from magic
|
||||||
/// effects). Throws an exception, if the object can't hold other objects.
|
/// effects). Throws an exception, if the object can't hold other objects.
|
||||||
|
|
||||||
|
virtual void adjustScale(const MWWorld::Ptr& ptr,float& scale) const;
|
||||||
|
|
||||||
virtual void adjustRotation(const MWWorld::Ptr& ptr,float& x,float& y,float& z) const;
|
virtual void adjustRotation(const MWWorld::Ptr& ptr,float& x,float& y,float& z) const;
|
||||||
|
|
||||||
static void registerSelf();
|
static void registerSelf();
|
||||||
|
|
Loading…
Reference in a new issue