From: Côme Chilliet Date: Fri, 25 Nov 2016 05:57:51 +0000 (+0800) Subject: Added information gathered on some Person attributes X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=26d723b5199742608147abea40d26794f87016c2;p=lugaru.git Added information gathered on some Person attributes --- diff --git a/Source/Person.h b/Source/Person.h index 235f14d..f98f494 100644 --- a/Source/Person.h +++ b/Source/Person.h @@ -128,6 +128,7 @@ public: float permanentdamage; float superpermanentdamage; float lastcollide; + /* Seems to be 0 = alive, 1 = unconscious, 2 = dead */ int dead; float jumppower; @@ -271,10 +272,12 @@ public: int num_weapons; int weaponids[4]; + /* Key of weaponids which is the weapon in hand, if any. -1 otherwise. + * Always 0 or -1 as activeweapon is moved to position 0 when taken */ int weaponactive; int weaponstuck; + /* 0 or 1 to say if weapon is stuck in the front or the back */ int weaponstuckwhere; - int weaponwhere; int numwaypoints; XYZ waypoints[90];