doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
idAnimState Class Reference

#include <Actor.h>

Public Member Functions

 idAnimState ()
 
 ~idAnimState ()
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
void Init (idActor *owner, idAnimator *_animator, int animchannel)
 
void Shutdown (void)
 
void SetState (const char *name, int blendFrames)
 
void StopAnim (int frames)
 
void PlayAnim (int anim)
 
void CycleAnim (int anim)
 
void BecomeIdle (void)
 
bool UpdateState (void)
 
bool Disabled (void) const
 
void Enable (int blendFrames)
 
void Disable (void)
 
bool AnimDone (int blendFrames) const
 
bool IsIdle (void) const
 
animFlags_t GetAnimFlags (void) const
 

Public Attributes

bool idleAnim
 
idStr state
 
int animBlendFrames
 
int lastAnimBlendFrames
 

Private Attributes

idActorself
 
idAnimatoranimator
 
idThreadthread
 
int channel
 
bool disabled
 

Detailed Description

Definition at line 62 of file Actor.h.

Constructor & Destructor Documentation

idAnimState::idAnimState ( )

Definition at line 46 of file Actor.cpp.

idAnimState::~idAnimState ( )

Definition at line 62 of file Actor.cpp.

Member Function Documentation

bool idAnimState::AnimDone ( int  blendFrames) const

Definition at line 231 of file Actor.cpp.

void idAnimState::BecomeIdle ( void  )

Definition at line 213 of file Actor.cpp.

void idAnimState::CycleAnim ( int  anim)

Definition at line 201 of file Actor.cpp.

void idAnimState::Disable ( void  )

Definition at line 291 of file Actor.cpp.

bool idAnimState::Disabled ( void  ) const

Definition at line 222 of file Actor.cpp.

void idAnimState::Enable ( int  blendFrames)

Definition at line 275 of file Actor.cpp.

animFlags_t idAnimState::GetAnimFlags ( void  ) const

Definition at line 259 of file Actor.cpp.

void idAnimState::Init ( idActor owner,
idAnimator _animator,
int  animchannel 
)

Definition at line 119 of file Actor.cpp.

bool idAnimState::IsIdle ( void  ) const

Definition at line 250 of file Actor.cpp.

void idAnimState::PlayAnim ( int  anim)

Definition at line 189 of file Actor.cpp.

void idAnimState::Restore ( idRestoreGame savefile)

Definition at line 94 of file Actor.cpp.

void idAnimState::Save ( idSaveGame savefile) const

Definition at line 71 of file Actor.cpp.

void idAnimState::SetState ( const char *  name,
int  blendFrames 
)

Definition at line 149 of file Actor.cpp.

void idAnimState::Shutdown ( void  )

Definition at line 139 of file Actor.cpp.

void idAnimState::StopAnim ( int  frames)

Definition at line 179 of file Actor.cpp.

bool idAnimState::UpdateState ( void  )

Definition at line 301 of file Actor.cpp.

Member Data Documentation

idAnimator* idAnimState::animator
private

Definition at line 93 of file Actor.h.

int idAnimState::animBlendFrames

Definition at line 66 of file Actor.h.

int idAnimState::channel
private

Definition at line 95 of file Actor.h.

bool idAnimState::disabled
private

Definition at line 96 of file Actor.h.

bool idAnimState::idleAnim

Definition at line 64 of file Actor.h.

int idAnimState::lastAnimBlendFrames

Definition at line 67 of file Actor.h.

idActor* idAnimState::self
private

Definition at line 92 of file Actor.h.

idStr idAnimState::state

Definition at line 65 of file Actor.h.

idThread* idAnimState::thread
private

Definition at line 94 of file Actor.h.


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