Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
G3D::MD3Model::AnimType Class Reference

All standard animation types expected to have parameters in the animation.cfg file. More...

Public Types

enum  Value {
  BOTH_DEATH1,
  BOTH_DEAD1,
  BOTH_DEATH2,
  BOTH_DEAD2,
  BOTH_DEATH3,
  BOTH_DEAD3,
  UPPER_GESTURE,
  UPPER_ATTACK,
  UPPER_ATTACK2,
  UPPER_DROP,
  UPPER_RAISE,
  UPPER_STAND,
  UPPER_STAND2,
  LOWER_WALKCR,
  LOWER_WALK,
  LOWER_RUN,
  LOWER_BACK,
  LOWER_SWIM,
  LOWER_JUMP,
  LOWER_LAND,
  LOWER_JUMPB,
  LOWER_LANDB,
  LOWER_IDLE,
  LOWER_IDLECR,
  LOWER_TURN
}
 

Public Member Functions

 AnimType (const G3D::String &x)
 
 AnimType (char v)
 
 AnimType (int v)
 
 AnimType (const G3D::Any &a)
 
 AnimType ()
 
 AnimType (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const AnimType ::Value other) const
 
bool operator!= (const AnimType other) const
 
AnimType operator+ (const int x) const
 
AnimTypeoperator++ ()
 
AnimTypeoperator+= (const int x)
 
AnimType operator- (const int x) const
 
AnimTypeoperator-- ()
 
AnimTypeoperator-= (const int x)
 
bool operator< (const AnimType other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const AnimType other) const
 
AnimTypeoperator= (const G3D::Any &a)
 
bool operator== (const AnimType ::Value other) const
 
bool operator== (const AnimType other) const
 
bool operator> (const AnimType other) const
 
bool operator> (const Value other) const
 
bool operator>= (const AnimType other) const
 
bool operator>= (const Value other) const
 
void serialize (G3D::BinaryOutput &b) const
 
G3D::Any toAny () const
 
const char * toString () const
 

Static Public Member Functions

static const char * classname ()
 
static int count ()
 
static Value nthValue (int n)
 

Static Public Attributes

static const int END_BOTH = AnimType::BOTH_DEAD3
 
static const int END_LOWER = AnimType::LOWER_TURN
 
static const int END_UPPER = AnimType::UPPER_STAND2
 
static const int NUM_ANIMATIONS = AnimType::LOWER_TURN + 1
 
static const int START_BOTH = AnimType::BOTH_DEATH1
 
static const int START_LOWER = AnimType::LOWER_WALKCR
 
static const int START_UPPER = AnimType::UPPER_GESTURE
 

Detailed Description

All standard animation types expected to have parameters in the animation.cfg file.

Member Enumeration Documentation

◆ Value

Enumerator
BOTH_DEATH1 
BOTH_DEAD1 
BOTH_DEATH2 
BOTH_DEAD2 
BOTH_DEATH3 
BOTH_DEAD3 
UPPER_GESTURE 
UPPER_ATTACK 
UPPER_ATTACK2 
UPPER_DROP 
UPPER_RAISE 
UPPER_STAND 
UPPER_STAND2 
LOWER_WALKCR 
LOWER_WALK 
LOWER_RUN 
LOWER_BACK 
LOWER_SWIM 
LOWER_JUMP 
LOWER_LAND 
LOWER_JUMPB 
LOWER_LANDB 
LOWER_IDLE 
LOWER_IDLECR 
LOWER_TURN 

Constructor & Destructor Documentation

◆ AnimType() [1/6]

G3D::MD3Model::AnimType::AnimType ( const G3D::String x)
inlineexplicit

◆ AnimType() [2/6]

G3D::MD3Model::AnimType::AnimType ( const G3D::Any a)
inlineexplicit

◆ AnimType() [3/6]

G3D::MD3Model::AnimType::AnimType ( char  v)
inlineexplicit

◆ AnimType() [4/6]

G3D::MD3Model::AnimType::AnimType ( )
inline

◆ AnimType() [5/6]

G3D::MD3Model::AnimType::AnimType ( const Value  v)
inline

◆ AnimType() [6/6]

G3D::MD3Model::AnimType::AnimType ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::MD3Model::AnimType::classname ( )
inlinestatic

◆ count()

static int G3D::MD3Model::AnimType::count ( )
inlinestatic

◆ deserialize()

void G3D::MD3Model::AnimType::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::MD3Model::AnimType::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::MD3Model::AnimType::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::MD3Model::AnimType::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::MD3Model::AnimType::operator!= ( const AnimType  other) const
inline

◆ operator!=() [2/2]

bool G3D::MD3Model::AnimType::operator!= ( const AnimType ::Value  other) const
inline

◆ operator+()

AnimType G3D::MD3Model::AnimType::operator+ ( const int  x) const
inline

◆ operator++()

AnimType& G3D::MD3Model::AnimType::operator++ ( )
inline

◆ operator+=()

AnimType& G3D::MD3Model::AnimType::operator+= ( const int  x)
inline

◆ operator-()

AnimType G3D::MD3Model::AnimType::operator- ( const int  x) const
inline

◆ operator--()

AnimType& G3D::MD3Model::AnimType::operator-- ( )
inline

◆ operator-=()

AnimType& G3D::MD3Model::AnimType::operator-= ( const int  x)
inline

◆ operator<() [1/2]

bool G3D::MD3Model::AnimType::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::MD3Model::AnimType::operator< ( const AnimType  other) const
inline

◆ operator<=() [1/2]

bool G3D::MD3Model::AnimType::operator<= ( const Value  other) const
inline

◆ operator<=() [2/2]

bool G3D::MD3Model::AnimType::operator<= ( const AnimType  other) const
inline

◆ operator=()

AnimType& G3D::MD3Model::AnimType::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::MD3Model::AnimType::operator== ( const AnimType  other) const
inline

◆ operator==() [2/2]

bool G3D::MD3Model::AnimType::operator== ( const AnimType ::Value  other) const
inline

◆ operator>() [1/2]

bool G3D::MD3Model::AnimType::operator> ( const Value  other) const
inline

◆ operator>() [2/2]

bool G3D::MD3Model::AnimType::operator> ( const AnimType  other) const
inline

◆ operator>=() [1/2]

bool G3D::MD3Model::AnimType::operator>= ( const AnimType  other) const
inline

◆ operator>=() [2/2]

bool G3D::MD3Model::AnimType::operator>= ( const Value  other) const
inline

◆ serialize()

void G3D::MD3Model::AnimType::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::MD3Model::AnimType::toAny ( ) const
inline

◆ toString()

const char* G3D::MD3Model::AnimType::toString ( ) const
inline

Member Data Documentation

◆ END_BOTH

const int G3D::MD3Model::AnimType::END_BOTH = AnimType::BOTH_DEAD3
static

◆ END_LOWER

const int G3D::MD3Model::AnimType::END_LOWER = AnimType::LOWER_TURN
static

◆ END_UPPER

const int G3D::MD3Model::AnimType::END_UPPER = AnimType::UPPER_STAND2
static

◆ NUM_ANIMATIONS

const int G3D::MD3Model::AnimType::NUM_ANIMATIONS = AnimType::LOWER_TURN + 1
static

◆ START_BOTH

const int G3D::MD3Model::AnimType::START_BOTH = AnimType::BOTH_DEATH1
static

◆ START_LOWER

const int G3D::MD3Model::AnimType::START_LOWER = AnimType::LOWER_WALKCR
static

◆ START_UPPER

const int G3D::MD3Model::AnimType::START_UPPER = AnimType::UPPER_GESTURE
static

documentation generated on Wed Nov 24 2021 08:01:58 using doxygen 1.8.15