147 virtual size_t Size(
void )
const;
149 virtual bool Parse(
const char *text,
const int textLength );
157 void RenameBody(
const char *oldName,
const char *newName );
idAFVector contactMotorDirection
bool Write(idFile *f) const
idList< idDeclAF_Constraint * > constraints
float defaultLinearFriction
void DeleteBody(const char *name)
bool ParseHinge(idLexer &src)
declAFConstraintType_t type
bool WriteBallAndSocketJoint(idFile *f, const idDeclAF_Constraint &c) const
static int ContentsFromString(const char *str)
virtual void Finish(const getJointTransform_t GetJointTransform, const idJointMat *frame, void *model) const
bool ParseSettings(idLexer &src)
void SetDefault(const idDeclAF *file)
virtual const char * DefaultDefinition(void) const
bool ParseBody(idLexer &src)
virtual size_t Size(void) const
bool ParseUniversalJoint(idLexer &src)
idAFVector frictionDirection
bool WriteSettings(idFile *f) const
void DeleteConstraint(const char *name)
declAFJointMod_t jointMod
bool WriteHinge(idFile *f, const idDeclAF_Constraint &c) const
void NewConstraint(const char *name)
friend class idAFFileManager
bool WriteFixed(idFile *f, const idDeclAF_Constraint &c) const
const idVec3 & ToVec3(void) const
void NewBody(const char *name)
virtual void FreeData(void)
bool WriteUniversalJoint(idFile *f, const idDeclAF_Constraint &c) const
static declAFJointMod_t JointModFromString(const char *str)
float defaultContactFriction
bool ParseBallAndSocketJoint(idLexer &src)
bool ParseSpring(idLexer &src)
static const char * ContentsToString(const int contents, idStr &str)
void RenameConstraint(const char *oldName, const char *newName)
bool ParseFixed(idLexer &src)
bool WriteSpring(idFile *f, const idDeclAF_Constraint &c) const
bool WriteBody(idFile *f, const idDeclAF_Body &body) const
bool ParseContents(idLexer &src, int &c) const
float defaultConstraintFriction
bool WriteConstraint(idFile *f, const idDeclAF_Constraint &c) const
idVec2 suspendAcceleration
idList< idDeclAF_Body * > bodies
enum idDeclAF_Constraint::@49 limit
virtual bool Parse(const char *text, const int textLength)
enum idAFVector::@48 type
const char * ToString(idStr &str, const int precision=8)
void RenameBody(const char *oldName, const char *newName)
float defaultAngularFriction
bool WriteSlider(idFile *f, const idDeclAF_Constraint &c) const
bool RebuildTextSource(void)
void SetDefault(const idDeclAF *file)
static const char * JointModToString(declAFJointMod_t jointMod)
bool Finish(const char *fileName, const getJointTransform_t GetJointTransform, const idJointMat *frame, void *model) const
bool(* getJointTransform_t)(void *model, const idJointMat *frame, const char *jointName, idVec3 &origin, idMat3 &axis)
bool ParseSlider(idLexer &src)