mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 06:15:33 +00:00
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;
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
y = 0;
|
||||
|
|
|
@ -76,6 +76,8 @@ namespace MWClass
|
|||
///< Returns total weight of objects inside this object (including modifications from magic
|
||||
/// 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;
|
||||
|
||||
static void registerSelf();
|
||||
|
|
Loading…
Reference in a new issue