doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Enumerations | Functions | Variables
Anim.h File Reference

Go to the source code of this file.

Classes

struct  frameBlend_t
 
struct  jointAnimInfo_t
 
struct  jointInfo_t
 
struct  jointMod_t
 
struct  frameLookup_t
 
struct  frameCommand_t
 
struct  animFlags_t
 
class  idModelExport
 
class  idMD5Anim
 
class  idAnim
 
class  idDeclModelDef
 
class  idAnimBlend
 
class  idAFPoseJointMod
 
class  idAnimator
 
class  idAnimManager
 

Macros

#define ANIM_TX   BIT( 0 )
 
#define ANIM_TY   BIT( 1 )
 
#define ANIM_TZ   BIT( 2 )
 
#define ANIM_QX   BIT( 3 )
 
#define ANIM_QY   BIT( 4 )
 
#define ANIM_QZ   BIT( 5 )
 

Enumerations

enum  jointModTransform_t {
  JOINTMOD_NONE, JOINTMOD_LOCAL, JOINTMOD_LOCAL_OVERRIDE, JOINTMOD_WORLD,
  JOINTMOD_WORLD_OVERRIDE
}
 
enum  frameCommandType_t {
  FC_SCRIPTFUNCTION, FC_SCRIPTFUNCTIONOBJECT, FC_EVENTFUNCTION, FC_SOUND,
  FC_SOUND_VOICE, FC_SOUND_VOICE2, FC_SOUND_BODY, FC_SOUND_BODY2,
  FC_SOUND_BODY3, FC_SOUND_WEAPON, FC_SOUND_ITEM, FC_SOUND_GLOBAL,
  FC_SOUND_CHATTER, FC_SKIN, FC_TRIGGER, FC_TRIGGER_SMOKE_PARTICLE,
  FC_MELEE, FC_DIRECTDAMAGE, FC_BEGINATTACK, FC_ENDATTACK,
  FC_MUZZLEFLASH, FC_CREATEMISSILE, FC_LAUNCHMISSILE, FC_FIREMISSILEATTARGET,
  FC_FOOTSTEP, FC_LEFTFOOT, FC_RIGHTFOOT, FC_ENABLE_EYE_FOCUS,
  FC_DISABLE_EYE_FOCUS, FC_FX, FC_DISABLE_GRAVITY, FC_ENABLE_GRAVITY,
  FC_JUMP, FC_ENABLE_CLIP, FC_DISABLE_CLIP, FC_ENABLE_WALK_IK,
  FC_DISABLE_WALK_IK, FC_ENABLE_LEG_IK, FC_DISABLE_LEG_IK, FC_RECORDDEMO,
  FC_AVIGAME
}
 
enum  AFJointModType_t { AF_JOINTMOD_AXIS, AF_JOINTMOD_ORIGIN, AF_JOINTMOD_BOTH }
 

Functions

ID_INLINE int FRAME2MS (int framenum)
 

Variables

const int ANIM_NumAnimChannels = 5
 
const int ANIM_MaxAnimsPerChannel = 3
 
const int ANIM_MaxSyncedAnims = 3
 
const int ANIMCHANNEL_ALL = 0
 
const int ANIMCHANNEL_TORSO = 1
 
const int ANIMCHANNEL_LEGS = 2
 
const int ANIMCHANNEL_HEAD = 3
 
const int ANIMCHANNEL_EYELIDS = 4
 

Macro Definition Documentation

#define ANIM_QX   BIT( 3 )

Definition at line 103 of file Anim.h.

#define ANIM_QY   BIT( 4 )

Definition at line 104 of file Anim.h.

#define ANIM_QZ   BIT( 5 )

Definition at line 105 of file Anim.h.

#define ANIM_TX   BIT( 0 )

Definition at line 100 of file Anim.h.

#define ANIM_TY   BIT( 1 )

Definition at line 101 of file Anim.h.

#define ANIM_TZ   BIT( 2 )

Definition at line 102 of file Anim.h.

Enumeration Type Documentation

Enumerator
AF_JOINTMOD_AXIS 
AF_JOINTMOD_ORIGIN 
AF_JOINTMOD_BOTH 

Definition at line 457 of file Anim.h.

Enumerator
FC_SCRIPTFUNCTION 
FC_SCRIPTFUNCTIONOBJECT 
FC_EVENTFUNCTION 
FC_SOUND 
FC_SOUND_VOICE 
FC_SOUND_VOICE2 
FC_SOUND_BODY 
FC_SOUND_BODY2 
FC_SOUND_BODY3 
FC_SOUND_WEAPON 
FC_SOUND_ITEM 
FC_SOUND_GLOBAL 
FC_SOUND_CHATTER 
FC_SKIN 
FC_TRIGGER 
FC_TRIGGER_SMOKE_PARTICLE 
FC_MELEE 
FC_DIRECTDAMAGE 
FC_BEGINATTACK 
FC_ENDATTACK 
FC_MUZZLEFLASH 
FC_CREATEMISSILE 
FC_LAUNCHMISSILE 
FC_FIREMISSILEATTARGET 
FC_FOOTSTEP 
FC_LEFTFOOT 
FC_RIGHTFOOT 
FC_ENABLE_EYE_FOCUS 
FC_DISABLE_EYE_FOCUS 
FC_FX 
FC_DISABLE_GRAVITY 
FC_ENABLE_GRAVITY 
FC_JUMP 
FC_ENABLE_CLIP 
FC_DISABLE_CLIP 
FC_ENABLE_WALK_IK 
FC_DISABLE_WALK_IK 
FC_ENABLE_LEG_IK 
FC_DISABLE_LEG_IK 
FC_RECORDDEMO 
FC_AVIGAME 

Definition at line 107 of file Anim.h.

Enumerator
JOINTMOD_NONE 
JOINTMOD_LOCAL 
JOINTMOD_LOCAL_OVERRIDE 
JOINTMOD_WORLD 
JOINTMOD_WORLD_OVERRIDE 

Definition at line 84 of file Anim.h.

Function Documentation

ID_INLINE int FRAME2MS ( int  framenum)

Definition at line 48 of file Anim.h.

Variable Documentation

const int ANIM_MaxAnimsPerChannel = 3

Definition at line 35 of file Anim.h.

const int ANIM_MaxSyncedAnims = 3

Definition at line 36 of file Anim.h.

const int ANIM_NumAnimChannels = 5

Definition at line 34 of file Anim.h.

const int ANIMCHANNEL_ALL = 0

Definition at line 41 of file Anim.h.

const int ANIMCHANNEL_EYELIDS = 4

Definition at line 45 of file Anim.h.

const int ANIMCHANNEL_HEAD = 3

Definition at line 44 of file Anim.h.

const int ANIMCHANNEL_LEGS = 2

Definition at line 43 of file Anim.h.

const int ANIMCHANNEL_TORSO = 1

Definition at line 42 of file Anim.h.