|
| iCharacterBody (const tString &asName, iPhysicsWorld *apWorld, const cVector3f avSize) |
|
const tString & | GetName () |
|
float | GetMass () |
|
void | SetMass (float afMass) |
|
void | SetActive (bool abX) |
|
bool | IsActive () |
|
cVector3f | GetSize () |
|
void | SetCollideCharacter (bool abX) |
|
bool | GetCollideCharacter () |
|
void | SetTestCollision (bool abX) |
|
bool | GetTestCollision () |
|
void | SetMaxPositiveMoveSpeed (eCharDir aDir, float afX) |
|
float | GetMaxPositiveMoveSpeed (eCharDir aDir) |
|
void | SetMaxNegativeMoveSpeed (eCharDir aDir, float afX) |
|
float | GetMaxNegativeMoveSpeed (eCharDir aDir) |
|
void | SetMoveSpeed (eCharDir aDir, float afX) |
|
float | GetMoveSpeed (eCharDir aDir) |
|
void | SetMoveAcc (eCharDir aDir, float afX) |
|
float | GetMoveAcc (eCharDir aDir) |
|
void | SetMoveDeacc (eCharDir aDir, float afX) |
|
float | GetMoveDeacc (eCharDir aDir) |
|
cVector3f | GetVelocity (float afFrameTime) |
|
void | SetPosition (const cVector3f &avPos, bool abSmooth=false) |
|
const cVector3f & | GetPosition () |
|
const cVector3f & | GetLastPosition () |
|
void | SetFeetPosition (const cVector3f &avPos, bool abSmooth=false) |
|
cVector3f | GetFeetPosition () |
|
void | SetYaw (float afX) |
|
void | AddYaw (float afX) |
|
float | GetYaw () |
|
void | SetPitch (float afX) |
|
void | AddPitch (float afX) |
|
float | GetPitch () |
|
cVector3f | GetForward () |
|
cVector3f | GetRight () |
|
cVector3f | GetUp () |
|
cMatrixf & | GetMoveMatrix () |
|
void | SetGravityActive (bool abX) |
|
bool | GravityIsActive () |
|
void | SetMaxGravitySpeed (float afX) |
|
float | GetMaxGravitySpeed () |
|
bool | GetCustomGravityActive () |
|
void | SetCustomGravityActive (bool abX) |
|
void | SetCustomGravity (const cVector3f &avCustomGravity) |
|
cVector3f | GetCustomGravity () |
|
void | SetMaxPushMass (float afX) |
|
void | SetPushForce (float afX) |
|
float | GetMaxPushMass () |
|
float | GetPushForce () |
|
bool | GetPushIn2D () |
|
void | SetPushIn2D (bool abX) |
|
void | AddForceVelocity (const cVector3f &avVel) |
|
void | SetForceVelocity (const cVector3f &avVel) |
|
cVector3f | GetForceVelocity () |
|
int | AddExtraSize (const cVector3f &avSize) |
|
void | SetActiveSize (int alNum) |
|
void | SetForce (const cVector3f &avForce) |
|
void | AddForce (const cVector3f &avForce) |
|
cVector3f | GetForce () |
|
void | Move (eCharDir aDir, float afMul, float afTimeStep) |
|
void | Update (float afTimeStep) |
|
void | SetCamera (cCamera3D *apCam) |
|
cCamera3D * | GetCamera () |
|
void | SetCameraPosAdd (const cVector3f &avAdd) |
|
cVector3f | GetCameraPosAdd () |
|
void | SetCameraSmoothPosNum (int alNum) |
|
int | GetCameraSmoothPosNum () |
|
void | SetEntity (iEntity3D *apEntity) |
|
iEntity3D * | GetEntity () |
|
void | SetEntityOffset (const cMatrixf &a_mtxOffset) |
|
const cMatrixf & | GetEntityOffset () |
|
void | SetEntityPostOffset (const cMatrixf &a_mtxOffset) |
|
const cMatrixf & | GetEntityPostOffset () |
|
void | SetEntitySmoothPosNum (int alNum) |
|
int | GetEntitySmoothPosNum () |
|
void | SetUserData (void *apUserData) |
|
void * | GetUserData () |
|
void | SetCallback (iCharacterBodyCallback *apCallback) |
|
void | SetEnableNearbyBodies (bool abX) |
|
bool | GetEnableNearbyBodies () |
|
iPhysicsBody * | GetBody () |
|
iCollideShape * | GetShape () |
|
iPhysicsBody * | GetExtraBody (size_t alIdx) |
|
bool | IsOnGround () |
|
float | GetMaxStepSize () |
|
void | SetMaxStepSize (float afSize) |
|
void | SetStepClimbSpeed (float afX) |
|
float | GetStepClimbSpeed () |
|
void | SetAccurateClimbing (bool abX) |
|
bool | GetAccurateClimbing () |
|
void | SetClimbForwardMul (float afX) |
|
float | GetClimbForwardMul () |
|
void | SetClimbHeightAdd (float afX) |
|
float | GetClimbHeightAdd () |
|
void | SetGroundFriction (float afX) |
|
float | GetGroundFriction () |
|
void | SetAirFriction (float afX) |
|
float | GetAirFriction () |
|
bool | IsClimbing () |
|
void | SetAttachedBody (iPhysicsBody *apBody) |
|
iPhysicsBody * | GetAttachedBody () |
|
void | UpdateMoveMarix () |
|
void | UpdateCamera () |
|
void | UpdateEntity () |
|
void | UpdateAttachment () |
|
virtual iSaveData * | CreateSaveData () |
|
virtual void | SaveToSaveData (iSaveData *apSaveData) |
|
virtual void | LoadFromSaveData (iSaveData *apSaveData) |
|
virtual void | SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame) |
|
int | GetSaveObjectId () |
|
void | SetIsSaved (bool abX) |
|
bool | IsSaved () |
|