2
0
mirror of https://github.com/rehlds/reapi.git synced 2024-12-29 08:05:36 +03:00

Fixed member regions in amxx includes

This commit is contained in:
asmodai 2016-06-04 16:16:48 +03:00
parent 94fadf929a
commit 7350d696e8
3 changed files with 9 additions and 8 deletions

View File

@ -45,7 +45,7 @@ enum EntVars
* Get params: get_entvar(index, EntVars:var, dest[], const lenght);
* Set params: set_entvar(index, EntVars:var, const source[]);
*/
var_classname = 4 * 1024,
var_classname = 5 * 1024,
/*
* Description: -
@ -1032,7 +1032,7 @@ enum UserCmd
* Get params: get_ucmd(const ucmd, UserCmd:var);
* Set params: set_ucmd(const ucmd, UserCmd:var, value);
*/
ucmd_lerp_msec = 7 * 1024,
ucmd_lerp_msec = 8 * 1024,
/*
* Description: -

View File

@ -555,7 +555,7 @@ enum CSGameRules_Members
* Get params: get_member_game(member);
* Set params: set_member_game(member, value);
*/
m_bFreezePeriod = 0,
m_bFreezePeriod = 0 * 1024,
/*
* Description: -
@ -1448,7 +1448,7 @@ enum CBaseMonster_Members
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
m_Activity = 3072,
m_Activity = 3 * 1024,
/*
* Description: -
@ -1580,7 +1580,7 @@ enum CBasePlayer_Members
* Get params: get_member(index, member);
* Set params: set_member(index, member, value);
*/
random_seed = 3 * 1024,
random_seed = 4 * 1024,
/*
* Description: -
@ -3079,7 +3079,7 @@ enum PlayerMove
* Get params: get_pmove(member);
* Set params: set_pmove(const PlayerMove:var, value);
*/
pm_player_index = 5 * 1024,
pm_player_index = 6 * 1024,
/*
* Description: -
@ -3562,7 +3562,7 @@ enum MoveVars
* Get params: Float:get_mvar(const MoveVars:var);
* Set params: set_mvar(const MoveVars:var, Float:value);
*/
mv_gravity = 5 * 1024,
mv_gravity = 7 * 1024,
/*
* Description: -
@ -3773,7 +3773,7 @@ enum PMTrace
* Get params: get_pmtrace(const tr, const PMTrace:var);
* Set params: set_pmtrace(const tr, const PMTrace:var, value);
*/
pmt_allsolid = 8 * 1024,
pmt_allsolid = 9 * 1024,
/*
* Description: -

View File

@ -6,6 +6,7 @@
#define GM_VOICE_MEMBERS(mx) CLASS_MEMBERS(CVoiceGameMgr, mx,)
#define BASE_MEMBERS(mx) CLASS_MEMBERS(CBaseEntity, mx,)
#define ANIM_MEMBERS(mx) CLASS_MEMBERS(CBaseAnimating, mx,)
#define MONST_MEMBERS(mx) CLASS_MEMBERS(CBaseMonster, mx,)
#define PL_MEMBERS(mx) CLASS_MEMBERS(CBasePlayer, mx,)
#define EVAR_MEMBERS(mx) CLASS_MEMBERS(com_entvars, mx, var_)
#define PMOVE_MEMBERS(mx) CLASS_MEMBERS(com_playermove, mx, pm_)