]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Person.h
Moved as much as possible init in Person constructor
[lugaru.git] / Source / Person.h
index 3afbdca6d68e9699fbf976d759c634783a135edd..a11f22bdafb074882c302ae2731af931937e773c 100644 (file)
@@ -302,6 +302,7 @@ public:
     float stunned;
     float surprised;
     float runninghowlong;
+    int occluded;
     int lastoccluded;
     int laststanding;
     int escapednum;
@@ -316,8 +317,6 @@ public:
 
     Animation tempanimation;
 
-    float occluded;
-
     bool jumpclimb;
 
     Person();
@@ -383,7 +382,7 @@ public:
     int SphereCheck(XYZ *p1, float radius, XYZ *p, XYZ *move, float *rotate, Model *model);
     int DrawSkeleton();
     void Puff(int whichlabel);
-    void FootLand(int which, float opacity);
+    void FootLand(bodyparts whichfoot, float opacity);
     void DoStuff();
     void setAnimation(int);
     void DoAnimations();