X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FPerson.h;h=bb8a59a15274094fbc4d37572a352960df07e779;hb=2225f1c55686551fb616447f9f7ad25fb412a968;hp=345259a2e916484d180f0317110b5403dbf948ad;hpb=3d9b1d366f1b3607c40eb5bcbbe631794ed899de;p=lugaru.git diff --git a/Source/Person.h b/Source/Person.h index 345259a..bb8a59a 100644 --- a/Source/Person.h +++ b/Source/Person.h @@ -61,7 +61,7 @@ class Person int animTarget; // frameCurrent and frameTarget are used to interpolate between the frames of an animation - // (e.g. the crouched animation has only two frames, lerped back and forth). + // (e.g. the crouched animation has only two frames, lerped back and forth slowly). // animations advance at various speeds. int frameCurrent; int frameTarget; @@ -329,6 +329,11 @@ class Person + // convenience + Joint& joint(int); + XYZ& jointPos(int); + XYZ& jointVel(int); + void CheckKick(); void CatchFire(); void DoBlood(float howmuch, int which); @@ -386,7 +391,6 @@ class Person void Puff(int whichlabel); void FootLand(int which, float opacity); void DoStuff(); - Joint& getJointFor(int); void setAnimation(int); void DoAnimations(); void RagDoll(bool checkcollision);