From 26d723b5199742608147abea40d26794f87016c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Fri, 25 Nov 2016 13:57:51 +0800 Subject: [PATCH] Added information gathered on some Person attributes --- Source/Person.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]; -- 2.39.5