#include <PeckerModel.h>
Public Methods | |
CPeckerModel () | |
PeckerModel.cpp: implementation of the CPeckerModel class. More... | |
virtual | ~CPeckerModel () |
uint32 | EngineMessageFn (uint32 messageID, void *pData, float fData) |
void | setBeatAndTime (long avgBeatTime, long lastBeat, int updateInterval) |
Set the current animation rate and time of last peck. More... | |
void | setIdle () |
void | setPeck () |
Protected Methods | |
uint32 | PreCreate (void *pData, float fData) |
void | ObjectCreated () |
void | Update () |
void | ReadProps (ObjectCreateStruct *pStruct) |
void | PostReadProps () |
Protected Attributes | |
char | m_szModelFile [MAX_CS_FILENAME_LEN] |
char | m_szTexFile [MAX_CS_FILENAME_LEN] |
float | m_fScale |
float | m_fMass |
char | m_szStartAnim [MAX_CS_FILENAME_LEN] |
char | m_szIdleAnim [MAX_CS_FILENAME_LEN] |
uint8 | m_nNumExtraTrackers |
LTVector3f | m_vStartAnimDims |
float | m_fOrigPeckLength |
float | m_fOrigPeckTime |
float | m_fOrigPeckRatio |
LTCollisionSphere * | m_pCollSphere |
bool | m_Idling |
|
PeckerModel.cpp: implementation of the CPeckerModel class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set the current animation rate and time of last peck.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|