diff options
Diffstat (limited to '')
| -rw-r--r-- | src/hl2h.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -100,6 +100,8 @@ struct NetVars { | |||
| 100 | int punch = -1; // client m_vecPunchAngle (aim punch) | 100 | int punch = -1; // client m_vecPunchAngle (aim punch) |
| 101 | int default_fov = -1; // client m_iDefaultFOV (camera fov) | 101 | int default_fov = -1; // client m_iDefaultFOV (camera fov) |
| 102 | int dmg_radius = -1; // client C_BaseGrenade::m_DmgRadius | 102 | int dmg_radius = -1; // client C_BaseGrenade::m_DmgRadius |
| 103 | int my_weapons = -1; // client m_hMyWeapons[48] array base | ||
| 104 | int ammo = -1; // client m_iAmmo[] array base | ||
| 103 | // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72 | 105 | // ponytail: mins/maxs may be absent from some HL2 netvar tables; esp.cpp falls back to h=72 |
| 104 | bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; } | 106 | bool ok() const { return flags >= 0 && velocity >= 0 && movetype >= 0; } |
| 105 | // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100. | 107 | // ponytail: m_iMaxHealth isn't a netvar in HL2 SP; esp.cpp falls back to 100. |
