diff options
Diffstat (limited to 'src/hl2h.h')
| -rw-r--r-- | src/hl2h.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -92,6 +92,8 @@ struct NetVars { | |||
| 92 | int modelindex = -1; | 92 | int modelindex = -1; |
| 93 | int absvelocity = -1; // client C_BaseEntity::m_vecAbsVelocity (prediction) | 93 | int absvelocity = -1; // client C_BaseEntity::m_vecAbsVelocity (prediction) |
| 94 | int activeweapon = -1; // client m_hActiveWeapon handle | 94 | int activeweapon = -1; // client m_hActiveWeapon handle |
| 95 | int owner = -1; // client m_hOwnerEntity handle | ||
| 96 | int weapon_owner = -1; // client m_hOwner handle (C_BaseCombatWeapon) | ||
| 95 | // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72 | 97 | // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72 |
| 96 | bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; } | 98 | bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; } |
| 97 | // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100. | 99 | // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100. |
| @@ -212,6 +214,7 @@ extern bool g_spread_no_spread; | |||
| 212 | extern bool g_item_health; | 214 | extern bool g_item_health; |
| 213 | extern bool g_item_ammo; | 215 | extern bool g_item_ammo; |
| 214 | extern bool g_item_armor; | 216 | extern bool g_item_armor; |
| 217 | extern bool g_item_weapons; | ||
| 215 | extern bool g_item_crates; | 218 | extern bool g_item_crates; |
| 216 | extern bool g_item_distance; | 219 | extern bool g_item_distance; |
| 217 | extern int g_item_max_dist; | 220 | extern int g_item_max_dist; |
