Commit bc1924ba authored by fant1kua's avatar fant1kua Committed by Dmitry Novikov

Add m_M4A1_flBaseDamageSil, m_USP_flBaseDamageSil and m_Famas_flBaseDamageBurst members (#126)

* Add m_M4A1_flBaseDamageSil, m_USP_flBaseDamageSil and m_Famas_flBaseDamageBurst members
parent ed526362
majorVersion=5
minorVersion=7
minorVersion=8
maintenanceVersion=0
......@@ -5334,6 +5334,14 @@ enum CFamas_Members
* Set params: set_member(index, member, value);
*/
m_Famas_iShellOn,
/*
* Description: Basic damage that famas deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in burst mode
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Famas_flBaseDamageBurst,
};
/**
......@@ -5356,6 +5364,14 @@ enum CUSP_Members
* Set params: set_member(index, member, value);
*/
m_USP_usFire,
/*
* Description: Basic damage that usp deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in silence mdoe
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_USP_flBaseDamageSil,
};
/**
......@@ -5514,6 +5530,14 @@ enum CM4A1_Members
* Set params: set_member(index, member, value);
*/
m_M4A1_usFire,
/*
* Description: Basic damage that m4a1 deals before any multiplier, such as hitgroup, armor, distance and bullet penetration in silence mdoe
* Member type: float
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_M4A1_flBaseDamageSil,
};
/**
......
......@@ -349,6 +349,7 @@ public:
public:
int m_iShell;
unsigned short m_usFire;
float m_flBaseDamageSil;
};
class CMP5N: public CBasePlayerWeapon {
......@@ -634,6 +635,7 @@ public:
int m_iShell;
int m_iShellOn;
unsigned short m_usFire;
float m_flBaseDamageSil;
};
class CMAC10: public CBasePlayerWeapon {
......@@ -873,4 +875,5 @@ public:
public:
int m_iShell;
int m_iShellOn;
float m_flBaseDamageBurst;
};
......@@ -890,11 +890,13 @@ member_t memberlist_galil[] = {
member_t memberlist_famas[] = {
FAMAS_MEMBERS(iShell),
FAMAS_MEMBERS(iShellOn),
FAMAS_MEMBERS(flBaseDamageBurst),
};
member_t memberlist_usp[] = {
USP_MEMBERS(iShell),
USP_MEMBERS(usFire),
USP_MEMBERS(flBaseDamageSil),
};
member_t memberlist_glock18[] = {
......@@ -929,6 +931,7 @@ member_t memberlist_m4a1[] = {
M4A1_MEMBERS(iShell),
M4A1_MEMBERS(iShellOn),
M4A1_MEMBERS(usFire),
M4A1_MEMBERS(flBaseDamageSil),
};
member_t memberlist_tmp[] = {
......
......@@ -917,12 +917,14 @@ enum CFamas_Members
{
m_Famas_iShell = BEGIN_MEMBER_REGION(famas),
m_Famas_iShellOn,
m_Famas_flBaseDamageBurst,
};
enum CUSP_Members
{
m_USP_iShell = BEGIN_MEMBER_REGION(usp),
m_USP_usFire,
m_USP_flBaseDamageSil,
};
enum CGLOCK18_Members
......@@ -963,6 +965,7 @@ enum CM4A1_Members
m_M4A1_iShell = BEGIN_MEMBER_REGION(m4a1),
m_M4A1_iShellOn,
m_M4A1_usFire,
m_M4A1_flBaseDamageSil,
};
enum CTMP_Members
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment