BVB Source Codes

CRYENGINE Show MannequinInterface.h Source code

Return Download CRYENGINE: download MannequinInterface.h Source code - Download CRYENGINE Source code - Type:.h
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. //
  4. ////////////////////////////////////////////////////////////////////////////
  5. #ifndef __MANNEQUININTERFACE_H__
  6. #define __MANNEQUININTERFACE_H__
  7.  
  8. #include "ICryMannequin.h"
  9.  
  10. class CProceduralClipFactory;
  11.  
  12. class CMannequinInterface : public IMannequin
  13. {
  14. public:
  15.         CMannequinInterface();
  16.         ~CMannequinInterface();
  17.  
  18.         // IMannequin
  19.         virtual void                         UnloadAll();
  20.         virtual void                         ReloadAll();
  21.  
  22.         virtual IAnimationDatabaseManager&   GetAnimationDatabaseManager();
  23.         virtual IActionController*           CreateActionController(IEntity* pEntity, SAnimationContext& context);
  24.         virtual IActionController*           FindActionController(const IEntity& entity);
  25.         virtual IMannequinEditorManager*     GetMannequinEditorManager();
  26.         virtual CMannequinUserParamsManager& GetMannequinUserParamsManager();
  27.         virtual IProceduralClipFactory&      GetProceduralClipFactory();
  28.  
  29.         virtual void                         AddMannequinGameListener(IMannequinGameListener* pListener);
  30.         virtual void                         RemoveMannequinGameListener(IMannequinGameListener* pListener);
  31.         virtual uint32                       GetNumMannequinGameListeners();
  32.         virtual IMannequinGameListener*      GetMannequinGameListener(uint32 idx);
  33.         virtual void                         SetSilentPlaybackMode(bool bSilentPlaybackMode);
  34.         virtual bool                         IsSilentPlaybackMode() const;
  35.         // ~IMannequin
  36.  
  37. private:
  38.         void RegisterCVars();
  39.  
  40. private:
  41.         class CAnimationDatabaseManager*        m_pAnimationDatabaseManager;
  42.         std::vector<IMannequinGameListener*>    m_mannequinGameListeners;
  43.         CMannequinUserParamsManager             m_userParamsManager;
  44.         std::unique_ptr<CProceduralClipFactory> m_pProceduralClipFactory;
  45.         bool m_bSilentPlaybackMode;
  46. };
  47.  
  48. #endif //!__MANNEQUININTERFACE_H__
  49.  
downloadMannequinInterface.h Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top