18 #ifndef INCLUDED_OBJECTENTRY 19 #define INCLUDED_OBJECTENTRY 47 bool BuildVariation(
const std::vector<
const std::set<CStr>*>& completeSelections,
48 const std::vector<u8>& variationKey,
CObjectManager& objectManager);
78 std::vector<CSkeletonAnim*>
GetAnimations(
const CStr& animationName,
const CStr& ID =
"")
const;
CSkeletonAnim * GetRandomAnimation(const CStr &animationName, const CStr &ID="") const
Returns a randomly-chosen animation matching the given ID, or animationName if ID is empty...
Definition: ObjectEntry.cpp:272
bool BuildVariation(const std::vector< const std::set< CStr > *> &completeSelections, const std::vector< u8 > &variationKey, CObjectManager &objectManager)
Definition: ObjectEntry.cpp:56
std::wstring m_ProjectileModelName
Definition: ObjectEntry.h:64
Definition: ObjectManager.h:41
std::vector< CObjectBase::Samp > m_Samplers
Definition: ObjectEntry.h:55
CObjectEntry(const std::shared_ptr< CObjectBase > &base, CSimulation2 &simulation)
Definition: ObjectEntry.cpp:45
std::multimap< CStr, std::unique_ptr< CSkeletonAnim > > SkeletonAnimMap
Definition: ObjectEntry.h:87
Public API for simulation system.
Definition: Simulation2.h:46
std::vector< CSkeletonAnim * > GetAnimations(const CStr &animationName, const CStr &ID="") const
Returns all the animations matching the given ID or animationName if ID is empty. ...
Definition: ObjectEntry.cpp:293
VfsPath m_ModelName
Definition: ObjectEntry.h:57
~CObjectEntry()
Definition: ObjectEntry.cpp:50
CColor m_Color
Definition: ObjectEntry.h:59
std::shared_ptr< CObjectBase > m_Base
Definition: ObjectEntry.h:52
SkeletonAnimMap m_Animations
Definition: ObjectEntry.h:88
Abstract base class for graphical objects that are used by units, or as props attached to other CMode...
Definition: ModelAbstract.h:37
Maintains the tree of possible objects from a specific actor definition at a given quality level...
Definition: ObjectBase.h:46
CModelAbstract * m_Model
Definition: ObjectEntry.h:81
NONCOPYABLE(CObjectEntry)
CSimulation2 & m_Simulation
Definition: ObjectEntry.h:85
Definition: ObjectEntry.h:38
Definition: SkeletonAnim.h:32