OpenBarnyard
 
Loading...
Searching...
No Matches
AAnimController Class Reference

#include <AAnimController.h>

Inheritance diagram for AAnimController:

Public Member Functions

 TDECLARE_CLASS (AAnimController, Toshi::TObject)
 
 AAnimController ()
 
virtual ~AAnimController ()
 
virtual TBOOL OnCreate ()
 
virtual void OnUpdate (TFLOAT a_fDeltaTime)
 
virtual TBOOL Unknown3 (void *)
 
virtual TBOOL IsAnimationAllowed (ANamedAnimation *a_pNamedAnimation)
 
TBOOL Create (void *a_pUnk, AAnimatableObject *a_pAnimatableObject, AAnimControllerType *a_pControllerType)
 
TBOOL IsEnabled () const
 

Protected Attributes

void * m_pUnk1
 
AAnimatableObjectm_pAnimatableObject
 
AAnimControllerTypem_pControllerType
 
TBOOL m_bDisabled
 

Detailed Description

Definition at line 8 of file AAnimController.h.

Constructor & Destructor Documentation

◆ AAnimController()

AAnimController::AAnimController ( )

Definition at line 15 of file AAnimController.cpp.

16{
17 m_pUnk1 = TNULL;
21}
#define TNULL
Definition Typedefs.h:23
#define TFALSE
Definition Typedefs.h:24
AAnimatableObject * m_pAnimatableObject
AAnimControllerType * m_pControllerType

◆ ~AAnimController()

AAnimController::~AAnimController ( )
virtual

Definition at line 25 of file AAnimController.cpp.

26{
27}

Member Function Documentation

◆ Create()

TBOOL AAnimController::Create ( void * a_pUnk,
AAnimatableObject * a_pAnimatableObject,
AAnimControllerType * a_pControllerType )

Definition at line 48 of file AAnimController.cpp.

49{
50 m_pUnk1 = a_pUnk;
51 m_pAnimatableObject = a_pAnimatableObject;
52 m_pControllerType = a_pControllerType;
53
54 return OnCreate();
55}
virtual TBOOL OnCreate()

◆ IsAnimationAllowed()

TBOOL AAnimController::IsAnimationAllowed ( ANamedAnimation * a_pNamedAnimation)
virtual

Definition at line 43 of file AAnimController.cpp.

44{
45 return TTRUE;
46}
#define TTRUE
Definition Typedefs.h:25

◆ IsEnabled()

TBOOL AAnimController::IsEnabled ( ) const
inline

Definition at line 26 of file AAnimController.h.

26{ return !m_bDisabled; }

◆ OnCreate()

TBOOL AAnimController::OnCreate ( )
virtual

Definition at line 29 of file AAnimController.cpp.

30{
31 return TTRUE;
32}

◆ OnUpdate()

void AAnimController::OnUpdate ( TFLOAT a_fDeltaTime)
virtual

Definition at line 34 of file AAnimController.cpp.

35{
36}

◆ TDECLARE_CLASS()

AAnimController::TDECLARE_CLASS ( AAnimController ,
Toshi::TObject  )

◆ Unknown3()

TBOOL AAnimController::Unknown3 ( void * )
virtual

Definition at line 38 of file AAnimController.cpp.

39{
40 return TTRUE;
41}

Member Data Documentation

◆ m_bDisabled

TBOOL AAnimController::m_bDisabled
protected

Definition at line 32 of file AAnimController.h.

◆ m_pAnimatableObject

AAnimatableObject* AAnimController::m_pAnimatableObject
protected

Definition at line 30 of file AAnimController.h.

◆ m_pControllerType

AAnimControllerType* AAnimController::m_pControllerType
protected

Definition at line 31 of file AAnimController.h.

◆ m_pUnk1

void* AAnimController::m_pUnk1
protected

Definition at line 29 of file AAnimController.h.


The documentation for this class was generated from the following files: