Normalize all the line endings
This commit is contained in:
@ -292,97 +292,97 @@ static cell AMX_NATIVE_CALL SetHamParamItemInfo(AMX *amx, cell *params)
|
||||
}
|
||||
|
||||
|
||||
static cell AMX_NATIVE_CALL GetHamItemInfo(AMX *amx, cell *params)
|
||||
{
|
||||
static cell AMX_NATIVE_CALL GetHamItemInfo(AMX *amx, cell *params)
|
||||
{
|
||||
if (params[1] == 0)
|
||||
{
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Null iteminfo handle provided.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
int type = params[2];
|
||||
|
||||
if ((type == ItemInfo_pszAmmo1 || type == ItemInfo_pszAmmo2 || type == ItemInfo_pszName) && (*params / sizeof(cell)) != 4)
|
||||
{
|
||||
}
|
||||
|
||||
int type = params[2];
|
||||
|
||||
if ((type == ItemInfo_pszAmmo1 || type == ItemInfo_pszAmmo2 || type == ItemInfo_pszName) && (*params / sizeof(cell)) != 4)
|
||||
{
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Bad arg count. Expected %d, got %d.", 4, *params / sizeof(cell));
|
||||
return 0;
|
||||
}
|
||||
|
||||
ItemInfo *pItem = reinterpret_cast<ItemInfo *>(params[1]);
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case ItemInfo_iSlot:
|
||||
return pItem->iSlot;
|
||||
|
||||
case ItemInfo_iPosition:
|
||||
return pItem->iPosition;
|
||||
|
||||
case ItemInfo_pszAmmo1:
|
||||
return MF_SetAmxString( amx, params[3], pItem->pszAmmo1 > 0 ? pItem->pszAmmo1 : "", params[4] );
|
||||
|
||||
case ItemInfo_iMaxAmmo1:
|
||||
return pItem->iMaxAmmo1;
|
||||
|
||||
case ItemInfo_pszAmmo2:
|
||||
return MF_SetAmxString( amx, params[3], pItem->pszAmmo2 > 0 ? pItem->pszAmmo2 : "", params[4] );
|
||||
|
||||
case ItemInfo_iMaxAmmo2:
|
||||
return pItem->iMaxAmmo2;
|
||||
|
||||
case ItemInfo_pszName:
|
||||
return MF_SetAmxString( amx, params[3], pItem->pszName > 0 ? pItem->pszName : "", params[4] );
|
||||
|
||||
case ItemInfo_iMaxClip:
|
||||
return pItem->iMaxClip;
|
||||
|
||||
case ItemInfo_iId:
|
||||
return pItem->iId;
|
||||
|
||||
case ItemInfo_iFlags:
|
||||
return pItem->iFlags;
|
||||
|
||||
case ItemInfo_iWeight:
|
||||
return pItem->iWeight;
|
||||
}
|
||||
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown ItemInfo type %d", type);
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
ItemInfo *pItem = reinterpret_cast<ItemInfo *>(params[1]);
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case ItemInfo_iSlot:
|
||||
return pItem->iSlot;
|
||||
|
||||
case ItemInfo_iPosition:
|
||||
return pItem->iPosition;
|
||||
|
||||
case ItemInfo_pszAmmo1:
|
||||
return MF_SetAmxString( amx, params[3], pItem->pszAmmo1 > 0 ? pItem->pszAmmo1 : "", params[4] );
|
||||
|
||||
case ItemInfo_iMaxAmmo1:
|
||||
return pItem->iMaxAmmo1;
|
||||
|
||||
case ItemInfo_pszAmmo2:
|
||||
return MF_SetAmxString( amx, params[3], pItem->pszAmmo2 > 0 ? pItem->pszAmmo2 : "", params[4] );
|
||||
|
||||
case ItemInfo_iMaxAmmo2:
|
||||
return pItem->iMaxAmmo2;
|
||||
|
||||
case ItemInfo_pszName:
|
||||
return MF_SetAmxString( amx, params[3], pItem->pszName > 0 ? pItem->pszName : "", params[4] );
|
||||
|
||||
case ItemInfo_iMaxClip:
|
||||
return pItem->iMaxClip;
|
||||
|
||||
case ItemInfo_iId:
|
||||
return pItem->iId;
|
||||
|
||||
case ItemInfo_iFlags:
|
||||
return pItem->iFlags;
|
||||
|
||||
case ItemInfo_iWeight:
|
||||
return pItem->iWeight;
|
||||
}
|
||||
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown ItemInfo type %d", type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
CStack<ItemInfo *> g_FreeIIs;
|
||||
|
||||
static cell AMX_NATIVE_CALL CreateHamItemInfo(AMX *amx, cell *params)
|
||||
{
|
||||
ItemInfo *ii;
|
||||
|
||||
if (g_FreeIIs.empty())
|
||||
{
|
||||
ii = new ItemInfo;
|
||||
}
|
||||
else
|
||||
{
|
||||
ii = g_FreeIIs.front();
|
||||
g_FreeIIs.pop();
|
||||
}
|
||||
|
||||
memset(ii, 0, sizeof(ItemInfo));
|
||||
|
||||
return reinterpret_cast<cell>(ii);
|
||||
}
|
||||
|
||||
static cell AMX_NATIVE_CALL FreeHamItemInfo(AMX *amx, cell *params)
|
||||
{
|
||||
ItemInfo *ii = reinterpret_cast<ItemInfo *>(params[1]);
|
||||
|
||||
if (!ii)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
g_FreeIIs.push(ii);
|
||||
|
||||
return 1;
|
||||
CStack<ItemInfo *> g_FreeIIs;
|
||||
|
||||
static cell AMX_NATIVE_CALL CreateHamItemInfo(AMX *amx, cell *params)
|
||||
{
|
||||
ItemInfo *ii;
|
||||
|
||||
if (g_FreeIIs.empty())
|
||||
{
|
||||
ii = new ItemInfo;
|
||||
}
|
||||
else
|
||||
{
|
||||
ii = g_FreeIIs.front();
|
||||
g_FreeIIs.pop();
|
||||
}
|
||||
|
||||
memset(ii, 0, sizeof(ItemInfo));
|
||||
|
||||
return reinterpret_cast<cell>(ii);
|
||||
}
|
||||
|
||||
static cell AMX_NATIVE_CALL FreeHamItemInfo(AMX *amx, cell *params)
|
||||
{
|
||||
ItemInfo *ii = reinterpret_cast<ItemInfo *>(params[1]);
|
||||
|
||||
if (!ii)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
g_FreeIIs.push(ii);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@ -394,61 +394,61 @@ static cell AMX_NATIVE_CALL SetHamItemInfo(AMX *amx, cell *params)
|
||||
return 0;
|
||||
}
|
||||
|
||||
ItemInfo *pItem = reinterpret_cast<ItemInfo *>(params[1]);
|
||||
cell *ptr = MF_GetAmxAddr(amx, params[3]);
|
||||
int iLen;
|
||||
|
||||
switch (params[2])
|
||||
{
|
||||
case ItemInfo_iSlot:
|
||||
pItem->iSlot = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iPosition:
|
||||
pItem->iPosition = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_pszAmmo1:
|
||||
pItem->pszAmmo1 = MF_GetAmxString(amx, params[3], 0, &iLen);
|
||||
return iLen;
|
||||
|
||||
case ItemInfo_iMaxAmmo1:
|
||||
pItem->iMaxAmmo1 = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_pszAmmo2:
|
||||
pItem->pszAmmo2 = MF_GetAmxString(amx, params[3], 0, &iLen);
|
||||
return iLen;
|
||||
|
||||
case ItemInfo_iMaxAmmo2:
|
||||
pItem->iMaxAmmo2 = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_pszName:
|
||||
pItem->pszName = MF_GetAmxString(amx, params[3], 0, &iLen);
|
||||
return iLen;
|
||||
|
||||
case ItemInfo_iMaxClip:
|
||||
pItem->iMaxClip = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iId:
|
||||
pItem->iId = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iFlags:
|
||||
pItem->iFlags = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iWeight:
|
||||
pItem->iWeight = *ptr;
|
||||
break;
|
||||
|
||||
default:
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown ItemInfo type %d", params[2]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
ItemInfo *pItem = reinterpret_cast<ItemInfo *>(params[1]);
|
||||
cell *ptr = MF_GetAmxAddr(amx, params[3]);
|
||||
int iLen;
|
||||
|
||||
switch (params[2])
|
||||
{
|
||||
case ItemInfo_iSlot:
|
||||
pItem->iSlot = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iPosition:
|
||||
pItem->iPosition = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_pszAmmo1:
|
||||
pItem->pszAmmo1 = MF_GetAmxString(amx, params[3], 0, &iLen);
|
||||
return iLen;
|
||||
|
||||
case ItemInfo_iMaxAmmo1:
|
||||
pItem->iMaxAmmo1 = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_pszAmmo2:
|
||||
pItem->pszAmmo2 = MF_GetAmxString(amx, params[3], 0, &iLen);
|
||||
return iLen;
|
||||
|
||||
case ItemInfo_iMaxAmmo2:
|
||||
pItem->iMaxAmmo2 = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_pszName:
|
||||
pItem->pszName = MF_GetAmxString(amx, params[3], 0, &iLen);
|
||||
return iLen;
|
||||
|
||||
case ItemInfo_iMaxClip:
|
||||
pItem->iMaxClip = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iId:
|
||||
pItem->iId = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iFlags:
|
||||
pItem->iFlags = *ptr;
|
||||
break;
|
||||
|
||||
case ItemInfo_iWeight:
|
||||
pItem->iWeight = *ptr;
|
||||
break;
|
||||
|
||||
default:
|
||||
MF_LogError(amx, AMX_ERR_NATIVE, "Unknown ItemInfo type %d", params[2]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -22,47 +22,47 @@
|
||||
enum
|
||||
{
|
||||
RET_VOID,
|
||||
RET_BOOL,
|
||||
RET_BOOL,
|
||||
RET_INTEGER,
|
||||
RET_SHORT,
|
||||
RET_SHORT,
|
||||
RET_FLOAT,
|
||||
RET_VECTOR,
|
||||
RET_STRING,
|
||||
RET_CBASE,
|
||||
RET_ENTVAR,
|
||||
RET_EDICT,
|
||||
RET_EDICT,
|
||||
RET_TRACE,
|
||||
RET_ITEMINFO
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int iSlot;
|
||||
int iPosition;
|
||||
const char *pszAmmo1;
|
||||
int iMaxAmmo1;
|
||||
const char *pszAmmo2;
|
||||
int iMaxAmmo2;
|
||||
const char *pszName;
|
||||
int iMaxClip;
|
||||
int iId;
|
||||
int iFlags;
|
||||
int iWeight;
|
||||
}
|
||||
typedef struct
|
||||
{
|
||||
int iSlot;
|
||||
int iPosition;
|
||||
const char *pszAmmo1;
|
||||
int iMaxAmmo1;
|
||||
const char *pszAmmo2;
|
||||
int iMaxAmmo2;
|
||||
const char *pszName;
|
||||
int iMaxClip;
|
||||
int iId;
|
||||
int iFlags;
|
||||
int iWeight;
|
||||
}
|
||||
ItemInfo;
|
||||
|
||||
enum
|
||||
{
|
||||
ItemInfo_iSlot,
|
||||
ItemInfo_iPosition,
|
||||
ItemInfo_pszAmmo1,
|
||||
ItemInfo_iMaxAmmo1,
|
||||
ItemInfo_pszAmmo2,
|
||||
ItemInfo_iMaxAmmo2,
|
||||
ItemInfo_pszName,
|
||||
ItemInfo_iMaxClip,
|
||||
ItemInfo_iId,
|
||||
ItemInfo_iFlags,
|
||||
ItemInfo_iSlot,
|
||||
ItemInfo_iPosition,
|
||||
ItemInfo_pszAmmo1,
|
||||
ItemInfo_iMaxAmmo1,
|
||||
ItemInfo_pszAmmo2,
|
||||
ItemInfo_iMaxAmmo2,
|
||||
ItemInfo_pszName,
|
||||
ItemInfo_iMaxClip,
|
||||
ItemInfo_iId,
|
||||
ItemInfo_iFlags,
|
||||
ItemInfo_iWeight
|
||||
};
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -53,18 +53,18 @@ void OnAmxxAttach(void)
|
||||
assert(strcmp(hooklist[Ham_NS_UpdateOnRemove].name, "ns_updateonremove")==0);
|
||||
assert(strcmp(hooklist[Ham_TS_ShouldCollide].name, "ts_shouldcollide")==0);
|
||||
|
||||
assert(strcmp(hooklist[Ham_GetDeathActivity].name, "getdeathactivity")==0);
|
||||
assert(strcmp(hooklist[Ham_StopFollowing].name, "stopfollowing")==0);
|
||||
assert(strcmp(hooklist[Ham_CS_Player_OnTouchingWeapon].name, "cstrike_player_ontouchingweapon")==0);
|
||||
assert(strcmp(hooklist[Ham_DOD_Weapon_Special].name, "dod_weapon_special")==0);
|
||||
assert(strcmp(hooklist[Ham_TFC_RadiusDamage2].name, "tfc_radiusdamage2")==0);
|
||||
assert(strcmp(hooklist[Ham_ESF_Weapon_HolsterWhenMeleed].name, "esf_weapon_holsterwhenmeleed") == 0);
|
||||
assert(strcmp(hooklist[Ham_NS_Weapon_GetDeployTime].name, "ns_weapon_getdeploytime")==0);
|
||||
assert(strcmp(hooklist[Ham_SC_MedicCallSound].name, "sc_mediccallsound")==0);
|
||||
assert(strcmp(hooklist[Ham_SC_Player_CanTouchPlayer].name, "sc_player_cantouchplayer")==0);
|
||||
assert(strcmp(hooklist[Ham_SC_Weapon_ChangeWeaponSkin].name, "sc_weapon_changeweaponskin")==0);
|
||||
assert(strcmp(hooklist[Ham_Item_GetItemInfo].name, "item_getiteminfo") == 0);
|
||||
|
||||
assert(strcmp(hooklist[Ham_GetDeathActivity].name, "getdeathactivity")==0);
|
||||
assert(strcmp(hooklist[Ham_StopFollowing].name, "stopfollowing")==0);
|
||||
assert(strcmp(hooklist[Ham_CS_Player_OnTouchingWeapon].name, "cstrike_player_ontouchingweapon")==0);
|
||||
assert(strcmp(hooklist[Ham_DOD_Weapon_Special].name, "dod_weapon_special")==0);
|
||||
assert(strcmp(hooklist[Ham_TFC_RadiusDamage2].name, "tfc_radiusdamage2")==0);
|
||||
assert(strcmp(hooklist[Ham_ESF_Weapon_HolsterWhenMeleed].name, "esf_weapon_holsterwhenmeleed") == 0);
|
||||
assert(strcmp(hooklist[Ham_NS_Weapon_GetDeployTime].name, "ns_weapon_getdeploytime")==0);
|
||||
assert(strcmp(hooklist[Ham_SC_MedicCallSound].name, "sc_mediccallsound")==0);
|
||||
assert(strcmp(hooklist[Ham_SC_Player_CanTouchPlayer].name, "sc_player_cantouchplayer")==0);
|
||||
assert(strcmp(hooklist[Ham_SC_Weapon_ChangeWeaponSkin].name, "sc_weapon_changeweaponskin")==0);
|
||||
assert(strcmp(hooklist[Ham_Item_GetItemInfo].name, "item_getiteminfo") == 0);
|
||||
|
||||
MF_AddNatives(pdata_natives_safe);
|
||||
if (ReadConfig() > 0)
|
||||
{
|
||||
@ -91,15 +91,15 @@ void OnAmxxAttach(void)
|
||||
}
|
||||
}
|
||||
|
||||
extern CStack<ItemInfo *> g_FreeIIs;
|
||||
|
||||
void OnAmxxDetach()
|
||||
{
|
||||
while (!g_FreeIIs.empty())
|
||||
{
|
||||
delete g_FreeIIs.front();
|
||||
g_FreeIIs.pop();
|
||||
}
|
||||
extern CStack<ItemInfo *> g_FreeIIs;
|
||||
|
||||
void OnAmxxDetach()
|
||||
{
|
||||
while (!g_FreeIIs.empty())
|
||||
{
|
||||
delete g_FreeIIs.front();
|
||||
g_FreeIIs.pop();
|
||||
}
|
||||
}
|
||||
|
||||
void HamCommand(void);
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -25,12 +25,12 @@ cell Call_Void_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Entvar_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Entvar_Entvar_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Entvar_Entvar_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Int_Int(AMX *amx, cell *params);
|
||||
@ -49,8 +49,8 @@ cell Call_Int_Entvar_Entvar_Float_Float_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Vector_Float_Cbase_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Vector_Float_Cbase_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Cbase_Cbase_Int_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, cell *params);
|
||||
@ -81,111 +81,111 @@ cell Call_Float_Void(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Float_Float_Cbase(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float_Float_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Vector_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Str_Float_Float_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Vector_Vector_Float_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Short(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Float_Int_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Edict(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Int_Str_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Vector_Vector(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str_Str_Int_Str_Int_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Int_Int_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Cbase_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Vector(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str_Vector_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str_Str_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_pVector_pVector_Cbase_pFloat(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Cbase_pVector_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_pVector_pVector_Float_Cbase_pVector(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Cbase_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Vector_Vector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Entvar_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Float_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Entvar_Entvar_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Bool_Void(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Vector_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Vector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Cbase_pVector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Bool(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Bool_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Bool_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Cbase_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Cbase_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Vector_Vector_Vector_Vector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Str_Str(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Short(AMX *amx, cell *params);
|
||||
|
||||
|
||||
cell Call_Float_Float_Cbase(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float_Float_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Vector_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Str_Float_Float_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Vector_Vector_Float_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Short(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Float_Int_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Edict(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Int_Str_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Vector_Vector(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str_Str_Int_Str_Int_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Int_Int_Float_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Cbase_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Vector(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str_Vector_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Str_Str(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Float_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Str_Str_Int(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_pVector_pVector_Cbase_pFloat(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Cbase_pVector_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_pVector_pVector_Float_Cbase_pVector(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Cbase_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Vector_Vector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Entvar_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Float_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Entvar_Entvar_Float(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Bool_Void(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Int_Vector_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Vector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Int_Cbase_pVector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Bool(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Bool_Cbase(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Bool_Int(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Cbase_Float(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Void_Cbase_Bool(AMX* amx, cell* params);
|
||||
|
||||
cell Call_Vector_Vector_Vector_Vector(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Str_Str(AMX *amx, cell *params);
|
||||
|
||||
cell Call_Void_Short(AMX *amx, cell *params);
|
||||
|
||||
|
||||
cell Call_Deprecated(AMX* amx, cell* params);
|
||||
|
||||
#endif
|
||||
|
@ -11,57 +11,57 @@
|
||||
// Ham Sandwich Module
|
||||
//
|
||||
|
||||
#ifndef CELLTOTYPE_H
|
||||
#define CELLTOTYPE_H
|
||||
|
||||
#include <extdll.h>
|
||||
#include "sdk/amxxmodule.h"
|
||||
|
||||
#include "CVector.h"
|
||||
|
||||
#include "hook.h"
|
||||
#include "forward.h"
|
||||
|
||||
#include "ham_const.h"
|
||||
#include "ham_utils.h"
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, int& out)
|
||||
{
|
||||
out=static_cast<int>(in);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, float& out)
|
||||
{
|
||||
out=amx_ctof2(in);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, edict_t*& out)
|
||||
{
|
||||
out=INDEXENT_NEW(in);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, entvars_t*& out)
|
||||
{
|
||||
out=&(INDEXENT_NEW(in)->v);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, HLBaseEntity*& out)
|
||||
{
|
||||
out=(HLBaseEntity *)(INDEXENT_NEW(in)->pvPrivateData);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, Vector& out)
|
||||
{
|
||||
float *v=(float *)MF_GetAmxAddr(amx, in);
|
||||
|
||||
out.x=v[0];
|
||||
out.y=v[1];
|
||||
out.z=v[2];
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, TraceResult*& out)
|
||||
{
|
||||
out=reinterpret_cast<TraceResult*>(in);
|
||||
}
|
||||
|
||||
#endif
|
||||
#ifndef CELLTOTYPE_H
|
||||
#define CELLTOTYPE_H
|
||||
|
||||
#include <extdll.h>
|
||||
#include "sdk/amxxmodule.h"
|
||||
|
||||
#include "CVector.h"
|
||||
|
||||
#include "hook.h"
|
||||
#include "forward.h"
|
||||
|
||||
#include "ham_const.h"
|
||||
#include "ham_utils.h"
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, int& out)
|
||||
{
|
||||
out=static_cast<int>(in);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, float& out)
|
||||
{
|
||||
out=amx_ctof2(in);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, edict_t*& out)
|
||||
{
|
||||
out=INDEXENT_NEW(in);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, entvars_t*& out)
|
||||
{
|
||||
out=&(INDEXENT_NEW(in)->v);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, HLBaseEntity*& out)
|
||||
{
|
||||
out=(HLBaseEntity *)(INDEXENT_NEW(in)->pvPrivateData);
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, Vector& out)
|
||||
{
|
||||
float *v=(float *)MF_GetAmxAddr(amx, in);
|
||||
|
||||
out.x=v[0];
|
||||
out.y=v[1];
|
||||
out.z=v[2];
|
||||
}
|
||||
|
||||
inline void CellToType(const AMX*& amx, const cell& in, TraceResult*& out)
|
||||
{
|
||||
out=reinterpret_cast<TraceResult*>(in);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -90,7 +90,7 @@ enum
|
||||
Ham_Player_ShouldFadeOnDeath,
|
||||
Ham_Player_ImpulseCommands,
|
||||
Ham_Player_UpdateClientData,
|
||||
|
||||
|
||||
Ham_Item_AddToPlayer,
|
||||
Ham_Item_AddDuplicate,
|
||||
Ham_Item_CanDeploy,
|
||||
@ -167,323 +167,323 @@ enum
|
||||
Ham_TS_OnFreeEntPrivateData,
|
||||
Ham_TS_ShouldCollide,
|
||||
|
||||
//
|
||||
// New addition - 2011
|
||||
//
|
||||
|
||||
Ham_ChangeYaw,
|
||||
Ham_HasHumanGibs,
|
||||
Ham_HasAlienGibs,
|
||||
Ham_FadeMonster,
|
||||
Ham_GibMonster,
|
||||
Ham_BecomeDead,
|
||||
Ham_IRelationship,
|
||||
Ham_PainSound,
|
||||
Ham_ReportAIState,
|
||||
Ham_MonsterInitDead,
|
||||
Ham_Look,
|
||||
Ham_BestVisibleEnemy,
|
||||
Ham_FInViewCone,
|
||||
Ham_FVecInViewCone,
|
||||
Ham_GetDeathActivity,
|
||||
|
||||
// Not valid in CS, NS and TS.
|
||||
Ham_RunAI,
|
||||
Ham_MonsterThink,
|
||||
Ham_MonsterInit,
|
||||
Ham_CheckLocalMove,
|
||||
Ham_Move,
|
||||
Ham_MoveExecute,
|
||||
Ham_ShouldAdvanceRoute,
|
||||
Ham_GetStoppedActivity,
|
||||
Ham_Stop,
|
||||
Ham_CheckRangeAttack1,
|
||||
Ham_CheckRangeAttack2,
|
||||
Ham_CheckMeleeAttack1,
|
||||
Ham_CheckMeleeAttack2,
|
||||
Ham_ScheduleChange,
|
||||
Ham_CanPlaySequence,
|
||||
Ham_CanPlaySentence,
|
||||
Ham_PlaySentence,
|
||||
Ham_PlayScriptedSentence,
|
||||
Ham_SentenceStop,
|
||||
Ham_GetIdealState,
|
||||
Ham_SetActivity,
|
||||
Ham_CheckEnemy,
|
||||
Ham_FTriangulate,
|
||||
Ham_SetYawSpeed,
|
||||
Ham_BuildNearestRoute,
|
||||
Ham_FindCover,
|
||||
Ham_CoverRadius,
|
||||
Ham_FCanCheckAttacks,
|
||||
Ham_CheckAmmo,
|
||||
Ham_IgnoreConditions,
|
||||
Ham_FValidateHintType,
|
||||
Ham_FCanActiveIdle,
|
||||
Ham_ISoundMask,
|
||||
Ham_HearingSensitivity,
|
||||
Ham_BarnacleVictimBitten,
|
||||
Ham_BarnacleVictimReleased,
|
||||
Ham_PrescheduleThink,
|
||||
Ham_DeathSound,
|
||||
Ham_AlertSound,
|
||||
Ham_IdleSound,
|
||||
Ham_StopFollowing,
|
||||
|
||||
Ham_CS_Weapon_SendWeaponAnim,
|
||||
Ham_CS_Player_ResetMaxSpeed,
|
||||
Ham_CS_Player_IsBot,
|
||||
Ham_CS_Player_GetAutoaimVector,
|
||||
Ham_CS_Player_Blind,
|
||||
Ham_CS_Player_OnTouchingWeapon,
|
||||
|
||||
Ham_DOD_SetScriptReset,
|
||||
Ham_DOD_Item_SpawnDeploy,
|
||||
Ham_DOD_Item_SetDmgTime,
|
||||
Ham_DOD_Item_DropGren,
|
||||
Ham_DOD_Weapon_IsUseable,
|
||||
Ham_DOD_Weapon_Aim,
|
||||
Ham_DOD_Weapon_flAim,
|
||||
Ham_DOD_Weapon_RemoveStamina,
|
||||
Ham_DOD_Weapon_ChangeFOV,
|
||||
Ham_DOD_Weapon_ZoomOut,
|
||||
Ham_DOD_Weapon_ZoomIn,
|
||||
Ham_DOD_Weapon_GetFOV,
|
||||
Ham_DOD_Weapon_IsWaterSniping,
|
||||
Ham_DOD_Weapon_UpdateZoomSpeed,
|
||||
Ham_DOD_Weapon_Special,
|
||||
|
||||
Ham_TFC_DB_GetItemName,
|
||||
Ham_TFC_RadiusDamage,
|
||||
Ham_TFC_RadiusDamage2,
|
||||
|
||||
Ham_ESF_IsFighter,
|
||||
Ham_ESF_IsBuddy,
|
||||
Ham_ESF_EmitSound,
|
||||
Ham_ESF_EmitNullSound,
|
||||
Ham_ESF_IncreaseStrength,
|
||||
Ham_ESF_IncreasePL,
|
||||
Ham_ESF_SetPowerLevel,
|
||||
Ham_ESF_SetMaxPowerLevel,
|
||||
Ham_ESF_StopAniTrigger,
|
||||
Ham_ESF_StopFly,
|
||||
Ham_ESF_HideWeapon,
|
||||
Ham_ESF_ClientRemoveWeapon,
|
||||
Ham_ESF_SendClientsCustomModel,
|
||||
Ham_ESF_CanTurbo,
|
||||
Ham_ESF_CanPrimaryFire,
|
||||
Ham_ESF_CanSecondaryFire,
|
||||
Ham_ESF_CanStopFly,
|
||||
Ham_ESF_CanBlock,
|
||||
Ham_ESF_CanRaiseKi,
|
||||
Ham_ESF_CanRaiseStamina,
|
||||
Ham_ESF_CanTeleport,
|
||||
Ham_ESF_CanStartFly,
|
||||
Ham_ESF_CanStartPowerup,
|
||||
Ham_ESF_CanJump,
|
||||
Ham_ESF_CanWallJump,
|
||||
Ham_ESF_IsSuperJump,
|
||||
Ham_ESF_IsMoveBack,
|
||||
Ham_ESF_CheckWallJump,
|
||||
Ham_ESF_EnableWallJump,
|
||||
Ham_ESF_DisableWallJump,
|
||||
Ham_ESF_ResetWallJumpVars,
|
||||
Ham_ESF_GetWallJumpAnim,
|
||||
Ham_ESF_GetWallJumpAnim2,
|
||||
Ham_ESF_SetWallJumpAnimation,
|
||||
Ham_ESF_SetFlyMoveType,
|
||||
Ham_ESF_IsFlyMoveType,
|
||||
Ham_ESF_IsWalkMoveType,
|
||||
Ham_ESF_SetWalkMoveType,
|
||||
Ham_ESF_DrawChargeBar,
|
||||
Ham_ESF_StartBlock,
|
||||
Ham_ESF_StopBlock,
|
||||
Ham_ESF_StartFly,
|
||||
Ham_ESF_GetMaxSpeed,
|
||||
Ham_ESF_SetAnimation,
|
||||
Ham_ESF_PlayAnimation,
|
||||
Ham_ESF_GetMoveForward,
|
||||
Ham_ESF_GetMoveRight,
|
||||
Ham_ESF_GetMoveUp,
|
||||
Ham_ESF_AddBlindFX,
|
||||
Ham_ESF_RemoveBlindFX,
|
||||
Ham_ESF_DisablePSBar,
|
||||
Ham_ESF_AddBeamBoxCrosshair,
|
||||
Ham_ESF_RemoveBeamBoxCrosshair,
|
||||
Ham_ESF_DrawPSWinBonus,
|
||||
Ham_ESF_DrawPSBar,
|
||||
Ham_ESF_LockCrosshair,
|
||||
Ham_ESF_UnLockCrosshair,
|
||||
Ham_ESF_RotateCrosshair,
|
||||
Ham_ESF_UnRotateCrosshair,
|
||||
Ham_ESF_WaterMove,
|
||||
Ham_ESF_CheckTimeBasedDamage,
|
||||
Ham_ESF_DoesSecondaryAttack,
|
||||
Ham_ESF_DoesPrimaryAttack,
|
||||
Ham_ESF_RemoveSpecialModes,
|
||||
Ham_ESF_StopTurbo,
|
||||
Ham_ESF_TakeBean,
|
||||
Ham_ESF_GetPowerLevel,
|
||||
Ham_ESF_RemoveAllOtherWeapons,
|
||||
Ham_ESF_StopSwoop,
|
||||
Ham_ESF_SetDeathAnimation,
|
||||
Ham_ESF_SetModel,
|
||||
Ham_ESF_AddAttacks,
|
||||
Ham_ESF_EmitClassSound,
|
||||
Ham_ESF_CheckLightning,
|
||||
Ham_ESF_FreezeControls,
|
||||
Ham_ESF_UnFreezeControls,
|
||||
Ham_ESF_UpdateKi,
|
||||
Ham_ESF_UpdateHealth,
|
||||
Ham_ESF_GetTeleportDir,
|
||||
Ham_ESF_Weapon_HolsterWhenMeleed,
|
||||
|
||||
Ham_NS_SetBoneController,
|
||||
Ham_NS_SaveDataForReset,
|
||||
Ham_NS_GetHull,
|
||||
Ham_NS_GetMaxWalkSpeed,
|
||||
Ham_NS_SetTeamID,
|
||||
Ham_NS_GetEffectivePlayerClass,
|
||||
Ham_NS_GetAuthenticationMask,
|
||||
Ham_NS_EffectivePlayerClassChanged,
|
||||
Ham_NS_NeedsTeamUpdate,
|
||||
Ham_NS_SendTeamUpdate,
|
||||
Ham_NS_SendWeaponUpdate,
|
||||
Ham_NS_InitPlayerFromSpawn,
|
||||
Ham_NS_PackDeadPlayerItems,
|
||||
Ham_NS_GetAnimationForActivity,
|
||||
Ham_NS_StartObserver,
|
||||
Ham_NS_StopObserver,
|
||||
Ham_NS_GetAdrenalineFactor,
|
||||
Ham_NS_GetNamedItem,
|
||||
Ham_NS_Suicide,
|
||||
Ham_NS_GetCanUseWeapon,
|
||||
Ham_NS_Weapon_GetWeapPrimeTime,
|
||||
Ham_NS_Weapon_PrimeWeapon,
|
||||
Ham_NS_Weapon_GetIsWeaponPrimed,
|
||||
Ham_NS_Weapon_GetIsWeaponPriming,
|
||||
Ham_NS_Weapon_DefaultDeploy,
|
||||
Ham_NS_Weapon_DefaultReload,
|
||||
Ham_NS_Weapon_GetDeployTime,
|
||||
|
||||
Ham_SC_GetClassification,
|
||||
Ham_SC_IsMonster,
|
||||
Ham_SC_IsPhysX,
|
||||
Ham_SC_IsPointEntity,
|
||||
Ham_SC_IsMachine,
|
||||
Ham_SC_CriticalRemove,
|
||||
Ham_SC_UpdateOnRemove,
|
||||
Ham_SC_FVisible,
|
||||
Ham_SC_FVisibleFromPos,
|
||||
Ham_SC_IsFacings,
|
||||
Ham_SC_GetPointsForDamage,
|
||||
Ham_SC_GetDamagePoints,
|
||||
Ham_SC_OnCreate,
|
||||
Ham_SC_OnDestroy,
|
||||
Ham_SC_IsValidEntity,
|
||||
Ham_SC_ShouldFadeOnDeath,
|
||||
Ham_SC_SetupFriendly,
|
||||
Ham_SC_ReviveThink,
|
||||
Ham_SC_Revive,
|
||||
Ham_SC_StartMonster,
|
||||
Ham_SC_CheckRangeAttack1_Move,
|
||||
Ham_SC_CheckRangeAttack2_Move,
|
||||
Ham_SC_CheckMeleeAttack1_Move,
|
||||
Ham_SC_CheckMeleeAttack2_Move,
|
||||
Ham_SC_CheckTankUsage,
|
||||
Ham_SC_SetGaitActivity,
|
||||
Ham_SC_FTriangulate,
|
||||
Ham_SC_FTriangulateExtension,
|
||||
Ham_SC_FindCoverGrenade,
|
||||
Ham_SC_FindCoverDistance,
|
||||
Ham_SC_FindAttackPoint,
|
||||
Ham_SC_FValidateCover,
|
||||
Ham_SC_NoFriendlyFire1,
|
||||
Ham_SC_NoFriendlyFire2,
|
||||
Ham_SC_NoFriendlyFire3,
|
||||
Ham_SC_NoFriendlyFireToPos,
|
||||
Ham_SC_FVisibleGunPos,
|
||||
Ham_SC_FInBulletCone,
|
||||
Ham_SC_CallGibMonster,
|
||||
Ham_SC_CheckTimeBasedDamage,
|
||||
Ham_SC_IsMoving,
|
||||
Ham_SC_IsPlayerFollowing,
|
||||
Ham_SC_StartPlayerFollowing,
|
||||
Ham_SC_StopPlayerFollowing,
|
||||
Ham_SC_UseSound,
|
||||
Ham_SC_UnUseSound,
|
||||
Ham_SC_RideMonster,
|
||||
Ham_SC_CheckApplyGenericAttacks,
|
||||
Ham_SC_CheckScared,
|
||||
Ham_SC_CheckCreatureDanger,
|
||||
Ham_SC_CheckFallDamage,
|
||||
Ham_SC_CheckRevival,
|
||||
Ham_SC_MedicCallSound,
|
||||
|
||||
Ham_SC_Player_MenuInputPerformed,
|
||||
Ham_SC_Player_IsMenuInputDone,
|
||||
Ham_SC_Player_SpecialSpawn,
|
||||
Ham_SC_Player_IsValidInfoEntity,
|
||||
Ham_SC_Player_LevelEnd,
|
||||
Ham_SC_Player_VoteStarted,
|
||||
Ham_SC_Player_CanStartNextVote,
|
||||
Ham_SC_Player_Vote,
|
||||
Ham_SC_Player_HasVoted,
|
||||
Ham_SC_Player_ResetVote,
|
||||
Ham_SC_Player_LastVoteInput,
|
||||
Ham_SC_Player_InitVote,
|
||||
Ham_SC_Player_TimeToStartNextVote,
|
||||
Ham_SC_Player_ResetView,
|
||||
Ham_SC_Player_GetLogFrequency,
|
||||
Ham_SC_Player_LogPlayerStats,
|
||||
Ham_SC_Player_DisableCollisionWithPlayer,
|
||||
Ham_SC_Player_EnableCollisionWithPlayer,
|
||||
Ham_SC_Player_CanTouchPlayer,
|
||||
|
||||
Ham_SC_Item_Materialize,
|
||||
|
||||
Ham_SC_Weapon_BulletAccuracy,
|
||||
Ham_SC_Weapon_TertiaryAttack,
|
||||
Ham_SC_Weapon_BurstSupplement,
|
||||
Ham_SC_Weapon_GetP_Model,
|
||||
Ham_SC_Weapon_GetW_Model,
|
||||
Ham_SC_Weapon_GetV_Model,
|
||||
Ham_SC_Weapon_PrecacheCustomModels,
|
||||
Ham_SC_Weapon_IsMultiplayer,
|
||||
Ham_SC_Weapon_FRunfuncs,
|
||||
Ham_SC_Weapon_SetFOV,
|
||||
Ham_SC_Weapon_FCanRun,
|
||||
Ham_SC_Weapon_CustomDecrement,
|
||||
Ham_SC_Weapon_SetV_Model,
|
||||
Ham_SC_Weapon_SetP_Model,
|
||||
Ham_SC_Weapon_ChangeWeaponSkin,
|
||||
|
||||
//
|
||||
// New addition - 2013
|
||||
//
|
||||
|
||||
Ham_TFC_Killed,
|
||||
Ham_TFC_IsTriggered,
|
||||
Ham_TFC_Weapon_SendWeaponAnim,
|
||||
Ham_TFC_Weapon_GetNextAttackDelay,
|
||||
|
||||
Ham_SC_TakeHealth,
|
||||
Ham_SC_TakeArmor,
|
||||
Ham_SC_GiveAmmo,
|
||||
Ham_SC_CheckAttacker,
|
||||
Ham_SC_Player_IsConnected,
|
||||
|
||||
Ham_DOD_Weapon_SendWeaponAnim,
|
||||
|
||||
Ham_CS_Item_IsWeapon,
|
||||
|
||||
Ham_OPF_MySquadTalkMonsterPointer,
|
||||
Ham_OPF_WeaponTimeBase,
|
||||
|
||||
Ham_TS_Weapon_AlternateAttack,
|
||||
|
||||
Ham_Item_GetItemInfo,
|
||||
|
||||
//
|
||||
// New addition - 2011
|
||||
//
|
||||
|
||||
Ham_ChangeYaw,
|
||||
Ham_HasHumanGibs,
|
||||
Ham_HasAlienGibs,
|
||||
Ham_FadeMonster,
|
||||
Ham_GibMonster,
|
||||
Ham_BecomeDead,
|
||||
Ham_IRelationship,
|
||||
Ham_PainSound,
|
||||
Ham_ReportAIState,
|
||||
Ham_MonsterInitDead,
|
||||
Ham_Look,
|
||||
Ham_BestVisibleEnemy,
|
||||
Ham_FInViewCone,
|
||||
Ham_FVecInViewCone,
|
||||
Ham_GetDeathActivity,
|
||||
|
||||
// Not valid in CS, NS and TS.
|
||||
Ham_RunAI,
|
||||
Ham_MonsterThink,
|
||||
Ham_MonsterInit,
|
||||
Ham_CheckLocalMove,
|
||||
Ham_Move,
|
||||
Ham_MoveExecute,
|
||||
Ham_ShouldAdvanceRoute,
|
||||
Ham_GetStoppedActivity,
|
||||
Ham_Stop,
|
||||
Ham_CheckRangeAttack1,
|
||||
Ham_CheckRangeAttack2,
|
||||
Ham_CheckMeleeAttack1,
|
||||
Ham_CheckMeleeAttack2,
|
||||
Ham_ScheduleChange,
|
||||
Ham_CanPlaySequence,
|
||||
Ham_CanPlaySentence,
|
||||
Ham_PlaySentence,
|
||||
Ham_PlayScriptedSentence,
|
||||
Ham_SentenceStop,
|
||||
Ham_GetIdealState,
|
||||
Ham_SetActivity,
|
||||
Ham_CheckEnemy,
|
||||
Ham_FTriangulate,
|
||||
Ham_SetYawSpeed,
|
||||
Ham_BuildNearestRoute,
|
||||
Ham_FindCover,
|
||||
Ham_CoverRadius,
|
||||
Ham_FCanCheckAttacks,
|
||||
Ham_CheckAmmo,
|
||||
Ham_IgnoreConditions,
|
||||
Ham_FValidateHintType,
|
||||
Ham_FCanActiveIdle,
|
||||
Ham_ISoundMask,
|
||||
Ham_HearingSensitivity,
|
||||
Ham_BarnacleVictimBitten,
|
||||
Ham_BarnacleVictimReleased,
|
||||
Ham_PrescheduleThink,
|
||||
Ham_DeathSound,
|
||||
Ham_AlertSound,
|
||||
Ham_IdleSound,
|
||||
Ham_StopFollowing,
|
||||
|
||||
Ham_CS_Weapon_SendWeaponAnim,
|
||||
Ham_CS_Player_ResetMaxSpeed,
|
||||
Ham_CS_Player_IsBot,
|
||||
Ham_CS_Player_GetAutoaimVector,
|
||||
Ham_CS_Player_Blind,
|
||||
Ham_CS_Player_OnTouchingWeapon,
|
||||
|
||||
Ham_DOD_SetScriptReset,
|
||||
Ham_DOD_Item_SpawnDeploy,
|
||||
Ham_DOD_Item_SetDmgTime,
|
||||
Ham_DOD_Item_DropGren,
|
||||
Ham_DOD_Weapon_IsUseable,
|
||||
Ham_DOD_Weapon_Aim,
|
||||
Ham_DOD_Weapon_flAim,
|
||||
Ham_DOD_Weapon_RemoveStamina,
|
||||
Ham_DOD_Weapon_ChangeFOV,
|
||||
Ham_DOD_Weapon_ZoomOut,
|
||||
Ham_DOD_Weapon_ZoomIn,
|
||||
Ham_DOD_Weapon_GetFOV,
|
||||
Ham_DOD_Weapon_IsWaterSniping,
|
||||
Ham_DOD_Weapon_UpdateZoomSpeed,
|
||||
Ham_DOD_Weapon_Special,
|
||||
|
||||
Ham_TFC_DB_GetItemName,
|
||||
Ham_TFC_RadiusDamage,
|
||||
Ham_TFC_RadiusDamage2,
|
||||
|
||||
Ham_ESF_IsFighter,
|
||||
Ham_ESF_IsBuddy,
|
||||
Ham_ESF_EmitSound,
|
||||
Ham_ESF_EmitNullSound,
|
||||
Ham_ESF_IncreaseStrength,
|
||||
Ham_ESF_IncreasePL,
|
||||
Ham_ESF_SetPowerLevel,
|
||||
Ham_ESF_SetMaxPowerLevel,
|
||||
Ham_ESF_StopAniTrigger,
|
||||
Ham_ESF_StopFly,
|
||||
Ham_ESF_HideWeapon,
|
||||
Ham_ESF_ClientRemoveWeapon,
|
||||
Ham_ESF_SendClientsCustomModel,
|
||||
Ham_ESF_CanTurbo,
|
||||
Ham_ESF_CanPrimaryFire,
|
||||
Ham_ESF_CanSecondaryFire,
|
||||
Ham_ESF_CanStopFly,
|
||||
Ham_ESF_CanBlock,
|
||||
Ham_ESF_CanRaiseKi,
|
||||
Ham_ESF_CanRaiseStamina,
|
||||
Ham_ESF_CanTeleport,
|
||||
Ham_ESF_CanStartFly,
|
||||
Ham_ESF_CanStartPowerup,
|
||||
Ham_ESF_CanJump,
|
||||
Ham_ESF_CanWallJump,
|
||||
Ham_ESF_IsSuperJump,
|
||||
Ham_ESF_IsMoveBack,
|
||||
Ham_ESF_CheckWallJump,
|
||||
Ham_ESF_EnableWallJump,
|
||||
Ham_ESF_DisableWallJump,
|
||||
Ham_ESF_ResetWallJumpVars,
|
||||
Ham_ESF_GetWallJumpAnim,
|
||||
Ham_ESF_GetWallJumpAnim2,
|
||||
Ham_ESF_SetWallJumpAnimation,
|
||||
Ham_ESF_SetFlyMoveType,
|
||||
Ham_ESF_IsFlyMoveType,
|
||||
Ham_ESF_IsWalkMoveType,
|
||||
Ham_ESF_SetWalkMoveType,
|
||||
Ham_ESF_DrawChargeBar,
|
||||
Ham_ESF_StartBlock,
|
||||
Ham_ESF_StopBlock,
|
||||
Ham_ESF_StartFly,
|
||||
Ham_ESF_GetMaxSpeed,
|
||||
Ham_ESF_SetAnimation,
|
||||
Ham_ESF_PlayAnimation,
|
||||
Ham_ESF_GetMoveForward,
|
||||
Ham_ESF_GetMoveRight,
|
||||
Ham_ESF_GetMoveUp,
|
||||
Ham_ESF_AddBlindFX,
|
||||
Ham_ESF_RemoveBlindFX,
|
||||
Ham_ESF_DisablePSBar,
|
||||
Ham_ESF_AddBeamBoxCrosshair,
|
||||
Ham_ESF_RemoveBeamBoxCrosshair,
|
||||
Ham_ESF_DrawPSWinBonus,
|
||||
Ham_ESF_DrawPSBar,
|
||||
Ham_ESF_LockCrosshair,
|
||||
Ham_ESF_UnLockCrosshair,
|
||||
Ham_ESF_RotateCrosshair,
|
||||
Ham_ESF_UnRotateCrosshair,
|
||||
Ham_ESF_WaterMove,
|
||||
Ham_ESF_CheckTimeBasedDamage,
|
||||
Ham_ESF_DoesSecondaryAttack,
|
||||
Ham_ESF_DoesPrimaryAttack,
|
||||
Ham_ESF_RemoveSpecialModes,
|
||||
Ham_ESF_StopTurbo,
|
||||
Ham_ESF_TakeBean,
|
||||
Ham_ESF_GetPowerLevel,
|
||||
Ham_ESF_RemoveAllOtherWeapons,
|
||||
Ham_ESF_StopSwoop,
|
||||
Ham_ESF_SetDeathAnimation,
|
||||
Ham_ESF_SetModel,
|
||||
Ham_ESF_AddAttacks,
|
||||
Ham_ESF_EmitClassSound,
|
||||
Ham_ESF_CheckLightning,
|
||||
Ham_ESF_FreezeControls,
|
||||
Ham_ESF_UnFreezeControls,
|
||||
Ham_ESF_UpdateKi,
|
||||
Ham_ESF_UpdateHealth,
|
||||
Ham_ESF_GetTeleportDir,
|
||||
Ham_ESF_Weapon_HolsterWhenMeleed,
|
||||
|
||||
Ham_NS_SetBoneController,
|
||||
Ham_NS_SaveDataForReset,
|
||||
Ham_NS_GetHull,
|
||||
Ham_NS_GetMaxWalkSpeed,
|
||||
Ham_NS_SetTeamID,
|
||||
Ham_NS_GetEffectivePlayerClass,
|
||||
Ham_NS_GetAuthenticationMask,
|
||||
Ham_NS_EffectivePlayerClassChanged,
|
||||
Ham_NS_NeedsTeamUpdate,
|
||||
Ham_NS_SendTeamUpdate,
|
||||
Ham_NS_SendWeaponUpdate,
|
||||
Ham_NS_InitPlayerFromSpawn,
|
||||
Ham_NS_PackDeadPlayerItems,
|
||||
Ham_NS_GetAnimationForActivity,
|
||||
Ham_NS_StartObserver,
|
||||
Ham_NS_StopObserver,
|
||||
Ham_NS_GetAdrenalineFactor,
|
||||
Ham_NS_GetNamedItem,
|
||||
Ham_NS_Suicide,
|
||||
Ham_NS_GetCanUseWeapon,
|
||||
Ham_NS_Weapon_GetWeapPrimeTime,
|
||||
Ham_NS_Weapon_PrimeWeapon,
|
||||
Ham_NS_Weapon_GetIsWeaponPrimed,
|
||||
Ham_NS_Weapon_GetIsWeaponPriming,
|
||||
Ham_NS_Weapon_DefaultDeploy,
|
||||
Ham_NS_Weapon_DefaultReload,
|
||||
Ham_NS_Weapon_GetDeployTime,
|
||||
|
||||
Ham_SC_GetClassification,
|
||||
Ham_SC_IsMonster,
|
||||
Ham_SC_IsPhysX,
|
||||
Ham_SC_IsPointEntity,
|
||||
Ham_SC_IsMachine,
|
||||
Ham_SC_CriticalRemove,
|
||||
Ham_SC_UpdateOnRemove,
|
||||
Ham_SC_FVisible,
|
||||
Ham_SC_FVisibleFromPos,
|
||||
Ham_SC_IsFacings,
|
||||
Ham_SC_GetPointsForDamage,
|
||||
Ham_SC_GetDamagePoints,
|
||||
Ham_SC_OnCreate,
|
||||
Ham_SC_OnDestroy,
|
||||
Ham_SC_IsValidEntity,
|
||||
Ham_SC_ShouldFadeOnDeath,
|
||||
Ham_SC_SetupFriendly,
|
||||
Ham_SC_ReviveThink,
|
||||
Ham_SC_Revive,
|
||||
Ham_SC_StartMonster,
|
||||
Ham_SC_CheckRangeAttack1_Move,
|
||||
Ham_SC_CheckRangeAttack2_Move,
|
||||
Ham_SC_CheckMeleeAttack1_Move,
|
||||
Ham_SC_CheckMeleeAttack2_Move,
|
||||
Ham_SC_CheckTankUsage,
|
||||
Ham_SC_SetGaitActivity,
|
||||
Ham_SC_FTriangulate,
|
||||
Ham_SC_FTriangulateExtension,
|
||||
Ham_SC_FindCoverGrenade,
|
||||
Ham_SC_FindCoverDistance,
|
||||
Ham_SC_FindAttackPoint,
|
||||
Ham_SC_FValidateCover,
|
||||
Ham_SC_NoFriendlyFire1,
|
||||
Ham_SC_NoFriendlyFire2,
|
||||
Ham_SC_NoFriendlyFire3,
|
||||
Ham_SC_NoFriendlyFireToPos,
|
||||
Ham_SC_FVisibleGunPos,
|
||||
Ham_SC_FInBulletCone,
|
||||
Ham_SC_CallGibMonster,
|
||||
Ham_SC_CheckTimeBasedDamage,
|
||||
Ham_SC_IsMoving,
|
||||
Ham_SC_IsPlayerFollowing,
|
||||
Ham_SC_StartPlayerFollowing,
|
||||
Ham_SC_StopPlayerFollowing,
|
||||
Ham_SC_UseSound,
|
||||
Ham_SC_UnUseSound,
|
||||
Ham_SC_RideMonster,
|
||||
Ham_SC_CheckApplyGenericAttacks,
|
||||
Ham_SC_CheckScared,
|
||||
Ham_SC_CheckCreatureDanger,
|
||||
Ham_SC_CheckFallDamage,
|
||||
Ham_SC_CheckRevival,
|
||||
Ham_SC_MedicCallSound,
|
||||
|
||||
Ham_SC_Player_MenuInputPerformed,
|
||||
Ham_SC_Player_IsMenuInputDone,
|
||||
Ham_SC_Player_SpecialSpawn,
|
||||
Ham_SC_Player_IsValidInfoEntity,
|
||||
Ham_SC_Player_LevelEnd,
|
||||
Ham_SC_Player_VoteStarted,
|
||||
Ham_SC_Player_CanStartNextVote,
|
||||
Ham_SC_Player_Vote,
|
||||
Ham_SC_Player_HasVoted,
|
||||
Ham_SC_Player_ResetVote,
|
||||
Ham_SC_Player_LastVoteInput,
|
||||
Ham_SC_Player_InitVote,
|
||||
Ham_SC_Player_TimeToStartNextVote,
|
||||
Ham_SC_Player_ResetView,
|
||||
Ham_SC_Player_GetLogFrequency,
|
||||
Ham_SC_Player_LogPlayerStats,
|
||||
Ham_SC_Player_DisableCollisionWithPlayer,
|
||||
Ham_SC_Player_EnableCollisionWithPlayer,
|
||||
Ham_SC_Player_CanTouchPlayer,
|
||||
|
||||
Ham_SC_Item_Materialize,
|
||||
|
||||
Ham_SC_Weapon_BulletAccuracy,
|
||||
Ham_SC_Weapon_TertiaryAttack,
|
||||
Ham_SC_Weapon_BurstSupplement,
|
||||
Ham_SC_Weapon_GetP_Model,
|
||||
Ham_SC_Weapon_GetW_Model,
|
||||
Ham_SC_Weapon_GetV_Model,
|
||||
Ham_SC_Weapon_PrecacheCustomModels,
|
||||
Ham_SC_Weapon_IsMultiplayer,
|
||||
Ham_SC_Weapon_FRunfuncs,
|
||||
Ham_SC_Weapon_SetFOV,
|
||||
Ham_SC_Weapon_FCanRun,
|
||||
Ham_SC_Weapon_CustomDecrement,
|
||||
Ham_SC_Weapon_SetV_Model,
|
||||
Ham_SC_Weapon_SetP_Model,
|
||||
Ham_SC_Weapon_ChangeWeaponSkin,
|
||||
|
||||
//
|
||||
// New addition - 2013
|
||||
//
|
||||
|
||||
Ham_TFC_Killed,
|
||||
Ham_TFC_IsTriggered,
|
||||
Ham_TFC_Weapon_SendWeaponAnim,
|
||||
Ham_TFC_Weapon_GetNextAttackDelay,
|
||||
|
||||
Ham_SC_TakeHealth,
|
||||
Ham_SC_TakeArmor,
|
||||
Ham_SC_GiveAmmo,
|
||||
Ham_SC_CheckAttacker,
|
||||
Ham_SC_Player_IsConnected,
|
||||
|
||||
Ham_DOD_Weapon_SendWeaponAnim,
|
||||
|
||||
Ham_CS_Item_IsWeapon,
|
||||
|
||||
Ham_OPF_MySquadTalkMonsterPointer,
|
||||
Ham_OPF_WeaponTimeBase,
|
||||
|
||||
Ham_TS_Weapon_AlternateAttack,
|
||||
|
||||
Ham_Item_GetItemInfo,
|
||||
|
||||
HAM_LAST_ENTRY_DONT_USE_ME_LOL
|
||||
};
|
||||
|
||||
|
@ -114,21 +114,21 @@ inline int EntvarToIndex(entvars_t *pev)
|
||||
return ENTINDEX_NEW(pev->pContainingEntity);
|
||||
};
|
||||
|
||||
inline int EdictToIndex(edict_t *v)
|
||||
{
|
||||
if (v==NULL)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
return ENTINDEX_NEW(v);
|
||||
}
|
||||
|
||||
inline int EdictToIndex(edict_t *v)
|
||||
{
|
||||
if (v==NULL)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
return ENTINDEX_NEW(v);
|
||||
}
|
||||
|
||||
inline edict_t *IndexToEdict(int index)
|
||||
{
|
||||
return INDEXENT_NEW(index);
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
inline edict_t *EntvarToEdict(entvars_t *pev)
|
||||
{
|
||||
if (pev==NULL)
|
||||
|
@ -18,8 +18,8 @@
|
||||
#include "Trampolines.h"
|
||||
#include <am-vector.h>
|
||||
|
||||
#define ALIGN(ar) ((intptr_t)ar & ~(sysconf(_SC_PAGESIZE)-1))
|
||||
|
||||
#define ALIGN(ar) ((intptr_t)ar & ~(sysconf(_SC_PAGESIZE)-1))
|
||||
|
||||
// This is just a simple container for data so I only have to add 1 extra
|
||||
// parameter to calls that get trampolined
|
||||
|
||||
@ -73,7 +73,7 @@ public:
|
||||
#if defined(_WIN32)
|
||||
DWORD OldFlags;
|
||||
VirtualProtect(&ivtable[entry],sizeof(int*),PAGE_READWRITE,&OldFlags);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void *addr = (void *)ALIGN(&ivtable[entry]);
|
||||
mprotect(addr,sysconf(_SC_PAGESIZE),PROT_READ|PROT_WRITE);
|
||||
#endif
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -45,21 +45,21 @@ const bool RB_Int_Float_Int = false;
|
||||
const int PC_Int_Float_Int = 2;
|
||||
int Hook_Int_Float_Int(Hook *hook, void *pthis, float f1, int i1);
|
||||
|
||||
const bool RT_Int_Float_Int_Int = false;
|
||||
const bool RB_Int_Float_Int_Int = false;
|
||||
const int PC_Int_Float_Int_Int = 3;
|
||||
int Hook_Int_Float_Int_Int(Hook *hook, void *pthis, float f1, int i1, int i2);
|
||||
|
||||
const bool RT_Int_Float_Int_Int = false;
|
||||
const bool RB_Int_Float_Int_Int = false;
|
||||
const int PC_Int_Float_Int_Int = 3;
|
||||
int Hook_Int_Float_Int_Int(Hook *hook, void *pthis, float f1, int i1, int i2);
|
||||
|
||||
const bool RT_Void_Entvar_Int = true;
|
||||
const bool RB_Void_Entvar_Int = false;
|
||||
const int PC_Void_Entvar_Int = 2;
|
||||
void Hook_Void_Entvar_Int(Hook *hook, void *ptis, entvars_t *ev1, int i1);
|
||||
|
||||
const bool RT_Void_Entvar_Entvar_Int = true;
|
||||
const bool RB_Void_Entvar_Entvar_Int = false;
|
||||
const int PC_Void_Entvar_Entvar_Int = 3;
|
||||
void Hook_Void_Entvar_Entvar_Int(Hook *hook, void *ptis, entvars_t *ev1, entvars_t *ev2, int i1);
|
||||
|
||||
const bool RT_Void_Entvar_Entvar_Int = true;
|
||||
const bool RB_Void_Entvar_Entvar_Int = false;
|
||||
const int PC_Void_Entvar_Entvar_Int = 3;
|
||||
void Hook_Void_Entvar_Entvar_Int(Hook *hook, void *ptis, entvars_t *ev1, entvars_t *ev2, int i1);
|
||||
|
||||
const bool RT_Int_Cbase = false;
|
||||
const bool RB_Int_Cbase = false;
|
||||
const int PC_Int_Cbase = 1;
|
||||
@ -76,9 +76,9 @@ const int PC_Int_Int_Str_Int = 3;
|
||||
int Hook_Int_Int_Str_Int(Hook *hook, void *pthis, int i1, const char *sz1,
|
||||
int i2);
|
||||
|
||||
const bool RT_Int_Int_Str_Int_Int = false;
|
||||
const bool RB_Int_Int_Str_Int_Int = false;
|
||||
const int PC_Int_Int_Str_Int_Int = 4;
|
||||
const bool RT_Int_Int_Str_Int_Int = false;
|
||||
const bool RB_Int_Int_Str_Int_Int = false;
|
||||
const int PC_Int_Int_Str_Int_Int = 4;
|
||||
int Hook_Int_Int_Str_Int_Int(Hook *hook, void *pthis, int i1, const char *sz1, int i2, int i3);
|
||||
|
||||
const bool RT_Int_Int = false;
|
||||
@ -118,15 +118,15 @@ const int PC_Void_Cbase_Cbase_Int_Float = 4;
|
||||
void Hook_Void_Cbase_Cbase_Int_Float(Hook *hook, void *pthis, void *cb1,
|
||||
void *cb2, int i1, float f1);
|
||||
|
||||
const bool RT_Vector_Float_Cbase_Int = true;
|
||||
const bool RB_Vector_Float_Cbase_Int = true;
|
||||
const int PC_Vector_Float_Cbase_Int = 4;
|
||||
#if defined(_WIN32)
|
||||
const bool RT_Vector_Float_Cbase_Int = true;
|
||||
const bool RB_Vector_Float_Cbase_Int = true;
|
||||
const int PC_Vector_Float_Cbase_Int = 4;
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_Float_Cbase_Int(Hook *hook, void *pthis, Vector *out, float f1, void *cb, int i1);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_Float_Cbase_Int(Hook *hook, Vector *out, void *pthis, float f1, void *cb, int i1);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
const bool RT_Void_Entvar_Float_Vector_Trace_Int = true;
|
||||
const bool RB_Void_Entvar_Float_Vector_Trace_Int = false;
|
||||
const int PC_Void_Entvar_Float_Vector_Trace_Int = 7;
|
||||
@ -157,7 +157,7 @@ void *Hook_Cbase_Void(Hook *hook, void *pthis);
|
||||
const bool RT_Vector_Void = true;
|
||||
const bool RB_Vector_Void = true;
|
||||
const int PC_Vector_Void = 1;
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_Void(Hook *hook, void *pthis, Vector *out);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_Void(Hook *hook, Vector *out, void *pthis);
|
||||
@ -166,7 +166,7 @@ void Hook_Vector_Void(Hook *hook, Vector *out, void *pthis);
|
||||
const bool RT_Vector_pVector = true;
|
||||
const bool RB_Vector_pVector = true;
|
||||
const int PC_Vector_pVector = 2;
|
||||
#if defined(_WIN32)
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_pVector(Hook *hook, void *pthis, Vector *out, Vector *v1);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_pVector(Hook *hook, Vector *out, void *pthis, Vector *v1);
|
||||
@ -209,290 +209,290 @@ const bool RB_Float_Void = false;
|
||||
const int PC_Float_Void = 0;
|
||||
float Hook_Float_Void(Hook *hook, void *pthis);
|
||||
|
||||
const bool RT_Float_Int = false;
|
||||
const bool RB_Float_Int = false;
|
||||
const int PC_Float_Int = 1;
|
||||
float Hook_Float_Int(Hook *hook, void *pthis, int i1);
|
||||
|
||||
const bool RT_Float_Int = false;
|
||||
const bool RB_Float_Int = false;
|
||||
const int PC_Float_Int = 1;
|
||||
float Hook_Float_Int(Hook *hook, void *pthis, int i1);
|
||||
|
||||
const bool RT_Void_Float_Int = true;
|
||||
const bool RB_Void_Float_Int = false;
|
||||
const int PC_Void_Float_Int = 2;
|
||||
void Hook_Void_Float_Int(Hook *hook, void *pthis, float f1, int i1);
|
||||
|
||||
const bool RT_Float_Float_Cbase = true;
|
||||
const bool RB_Float_Float_Cbase = false;
|
||||
const int PC_Float_Float_Cbase = 2;
|
||||
float Hook_Float_Float_Cbase(Hook *hook, void *pthis, float f1, void *cb1);
|
||||
|
||||
const bool RT_Void_Float = true;
|
||||
const bool RB_Void_Float = false;
|
||||
const int PC_Void_Float = 1;
|
||||
void Hook_Void_Float(Hook *hook, void *pthis, float f1);
|
||||
|
||||
const bool RT_Void_Float_Float_Float_Int = true;
|
||||
const bool RB_Void_Float_Float_Float_Int = false;
|
||||
const int PC_Void_Float_Float_Float_Int = 4;
|
||||
void Hook_Void_Float_Float_Float_Int(Hook *hook, void *pthis, float f1, float f2, float f3, int i1);
|
||||
|
||||
const bool RT_Vector_Float = true;
|
||||
const bool RB_Vector_Float = true;
|
||||
const int PC_Vector_Float = 2;
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_Float(Hook *hook, void *pthis, Vector *out, float f1);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_Float(Hook *hook, Vector *out, void *pthis, float f1);
|
||||
#endif
|
||||
|
||||
const bool RT_Void_Float_Cbase = true;
|
||||
const bool RB_Void_Float_Cbase = false;
|
||||
const int PC_Void_Float_Cbase = 2;
|
||||
void Hook_Void_Float_Cbase(Hook *hook, void *pthis, float f1, void *cb);
|
||||
|
||||
const bool RT_Int_Float_Float = false;
|
||||
const bool RB_Int_Float_Float = false;
|
||||
const int PC_Int_Float_Float = 2;
|
||||
int Hook_Int_Float_Float(Hook *hook, void *pthis, float f1, float f2);
|
||||
|
||||
const bool RT_Int_Float = false;
|
||||
const bool RB_Int_Float = false;
|
||||
const int PC_Int_Float = 1;
|
||||
int Hook_Int_Float(Hook *hook, void *pthis, float f1);
|
||||
|
||||
const bool RT_Int_Int_Int = false;
|
||||
const bool RB_Int_Int_Int = false;
|
||||
const int PC_Int_Int_Int = 2;
|
||||
int Hook_Int_Int_Int(Hook *hook, void *pthis, int i1, int i2);
|
||||
|
||||
const bool RT_Void_Str_Float_Float_Float = true;
|
||||
const bool RB_Void_Str_Float_Float_Float = false;
|
||||
const int PC_Void_Str_Float_Float_Float = 4;
|
||||
void Hook_Void_Str_Float_Float_Float(Hook *hook, void *pthis, const char *sz1, float f1, float f2, float f3);
|
||||
|
||||
const bool RT_Void_Str_Float_Float_Float_Int_Cbase = true;
|
||||
const bool RB_Void_Str_Float_Float_Float_Int_Cbase = false;
|
||||
const int PC_Void_Str_Float_Float_Float_Int_Cbase = 6;
|
||||
void Hook_Void_Str_Float_Float_Float_Int_Cbase(Hook *hook, void *pthis, const char *sz1, float f1, float f2, float f3, int i1, void *cb);
|
||||
|
||||
const bool RT_Int_Vector_Vector_Float_Float= false;
|
||||
const bool RB_Int_Vector_Vector_Float_Float = false;
|
||||
const int PC_Int_Vector_Vector_Float_Float = 8;
|
||||
int Hook_Int_Vector_Vector_Float_Float(Hook *hook, void *pthis, Vector v1, Vector v2, float f1, float f2);
|
||||
|
||||
const bool RT_Int_Short = false;
|
||||
const bool RB_Int_Short = false;
|
||||
const int PC_Int_Short = 1;
|
||||
int Hook_Int_Short(Hook *hook, void *pthis, short s1);
|
||||
|
||||
const bool RT_Void_Entvar_Entvar_Float_Int_Int = true;
|
||||
const bool RB_Void_Entvar_Entvar_Float_Int_Int = false;
|
||||
const int PC_Void_Entvar_Entvar_Float_Int_Int = 5;
|
||||
void Hook_Void_Entvar_Entvar_Float_Int_Int(Hook *hook, void *pthis,
|
||||
entvars_t *inflictor,
|
||||
entvars_t *attacker, float damage,
|
||||
int classignore, int damagebits);
|
||||
|
||||
const bool RT_Void_Vector_Entvar_Entvar_Float_Int_Int = true;
|
||||
const bool RB_Void_Vector_Entvar_Entvar_Float_Int_Int = false;
|
||||
const int PC_Void_Vector_Entvar_Entvar_Float_Int_Int = 8;
|
||||
void Hook_Void_Vector_Entvar_Entvar_Float_Int_Int(Hook *hook, void *pthis,
|
||||
Vector source,
|
||||
entvars_t *inflictor,
|
||||
entvars_t *attacker, float damage,
|
||||
int classignore, int damagebits);
|
||||
|
||||
|
||||
const bool RT_Float_Int_Float = false;
|
||||
const bool RB_Float_Int_Float = false;
|
||||
const int PC_Float_Int_Float = 2;
|
||||
float Hook_Float_Int_Float(Hook *hook, void *pthis, int i1, float f2);
|
||||
|
||||
const bool RT_Int_Str = false;
|
||||
const bool RB_Int_Str = false;
|
||||
const int PC_Int_Str = 1;
|
||||
int Hook_Int_Str(Hook *hook, void *pthis, const char *sz1);
|
||||
|
||||
const bool RT_Void_Edict = true;
|
||||
const bool RB_Void_Edict = false;
|
||||
const int PC_Void_Edict = 1;
|
||||
void Hook_Void_Edict(Hook *hook, void *pthis, edict_t *ed1 );
|
||||
const bool RT_Float_Float_Cbase = true;
|
||||
const bool RB_Float_Float_Cbase = false;
|
||||
const int PC_Float_Float_Cbase = 2;
|
||||
float Hook_Float_Float_Cbase(Hook *hook, void *pthis, float f1, void *cb1);
|
||||
|
||||
const bool RT_Void_Int_Str_Bool = true;
|
||||
const bool RB_Void_Int_Str_Bool = false;
|
||||
const int PC_Void_Int_Str_Bool = 3;
|
||||
void Hook_Void_Int_Str_Bool(Hook *hook, void *pthis, int i1, const char *sz2, bool b3);
|
||||
const bool RT_Void_Float = true;
|
||||
const bool RB_Void_Float = false;
|
||||
const int PC_Void_Float = 1;
|
||||
void Hook_Void_Float(Hook *hook, void *pthis, float f1);
|
||||
|
||||
const bool RT_Void_Vector_Vector= true;
|
||||
const bool RB_Void_Vector_Vector = false;
|
||||
const int PC_Void_Vector_Vector = 6;
|
||||
void Hook_Void_Vector_Vector(Hook *hook, void *pthis, Vector v1, Vector v2);
|
||||
const bool RT_Void_Float_Float_Float_Int = true;
|
||||
const bool RB_Void_Float_Float_Float_Int = false;
|
||||
const int PC_Void_Float_Float_Float_Int = 4;
|
||||
void Hook_Void_Float_Float_Float_Int(Hook *hook, void *pthis, float f1, float f2, float f3, int i1);
|
||||
|
||||
const bool RT_Void_Str_Bool = true;
|
||||
const bool RB_Void_Str_Bool = false;
|
||||
const int PC_Void_Str_Bool = 2;
|
||||
void Hook_Void_Str_Bool(Hook *hook, void *pthis, const char *sz1, bool b2);
|
||||
|
||||
const bool RT_Int_Str_Str_Int_Str_Int_Int = false;
|
||||
const bool RB_Int_Str_Str_Int_Str_Int_Int = false;
|
||||
const int PC_Int_Str_Str_Int_Str_Int_Int = 6;
|
||||
int Hook_Int_Str_Str_Int_Str_Int_Int(Hook *hook, void *pthis, const char *sz1, const char *sz2, int i1, const char *sz3, int i2, int i3);
|
||||
|
||||
const bool RT_Int_Int_Int_Float_Int = false;
|
||||
const bool RB_Int_Int_Int_Float_Int = false;
|
||||
const int PC_Int_Int_Int_Float_Int = 4;
|
||||
int Hook_Int_Int_Int_Float_Int(Hook *hook, void *pthis, int i1, int i2, float f1, int i3);
|
||||
|
||||
const bool RT_Void_Str_Int = true;
|
||||
const bool RB_Void_Str_Int = false;
|
||||
const int PC_Void_Str_Int = 2;
|
||||
void Hook_Void_Str_Int(Hook *hook, void *pthis, const char *sz1, int i2);
|
||||
|
||||
const bool RT_Void_Cbase_Int = true;
|
||||
const bool RB_Void_Cbase_Int = false;
|
||||
const int PC_Void_Cbase_Int = 2;
|
||||
void Hook_Void_Cbase_Int(Hook *hook, void *pthis, void *p1, int i1);
|
||||
|
||||
const bool RT_Void_Str = true;
|
||||
const bool RB_Void_Str = false;
|
||||
const int PC_Void_Str = 1;
|
||||
void Hook_Void_Str(Hook *hook, void *pthis, const char *sz1);
|
||||
|
||||
const bool RT_Void_Vector = true;
|
||||
const bool RB_Void_Vector = false;
|
||||
const int PC_Void_Vector = 3;
|
||||
void Hook_Void_Vector(Hook *hook, void *pthis, Vector v1);
|
||||
|
||||
const bool RT_Int_Str_Vector_Str = false;
|
||||
const bool RB_Int_Str_Vector_Str = false;
|
||||
const int PC_Int_Str_Vector_Str = 5;
|
||||
int Hook_Int_Str_Vector_Str(Hook *hook, void *pthis, const char *sz1, Vector v2, const char *sz2);
|
||||
|
||||
const bool RT_Int_Str_Str = false;
|
||||
const bool RB_Int_Str_Str = false;
|
||||
const int PC_Int_Str_Str = 2;
|
||||
int Hook_Int_Str_Str(Hook *hook, void *pthis, const char *sz1, const char *sz2);
|
||||
|
||||
const bool RT_Void_Float_Float = true;
|
||||
const bool RB_Void_Float_Float = false;
|
||||
const int PC_Void_Float_Float = 2;
|
||||
void Hook_Void_Float_Float(Hook *hook, void *pthis, float f1, float f2);
|
||||
|
||||
const bool RT_Void_Str_Str_Int = true;
|
||||
const bool RB_Void_Str_Str_Int = false;
|
||||
const int PC_Void_Str_Str_Int = 3;
|
||||
void Hook_Void_Str_Str_Int(Hook *hook, void *pthis, const char *sz1, const char *sz2, int i3);
|
||||
|
||||
const bool RT_Int_pVector_pVector_Cbase_pFloat = false;
|
||||
const bool RB_Int_pVector_pVector_Cbase_pFloat = false;
|
||||
const int PC_Int_pVector_pVector_Cbase_pFloat = 4;
|
||||
int Hook_Int_pVector_pVector_Cbase_pFloat(Hook *hook, void *pthis, Vector *v1, Vector *v2, void* cb, float* fl);
|
||||
|
||||
const bool RT_Void_Cbase_pVector_Float = true;
|
||||
const bool RB_Void_Cbase_pVector_Float = false;
|
||||
const int PC_Void_Cbase_pVector_Float = 3;
|
||||
void Hook_Void_Cbase_pVector_Float(Hook *hook, void *pthis, void *p1, Vector *v1, float fl);
|
||||
|
||||
const bool RT_Int_pVector_pVector_Float_Cbase_pVector = false;
|
||||
const bool RB_Int_pVector_pVector_Float_Cbase_pVector = false;
|
||||
const int PC_Int_pVector_pVector_Float_Cbase_pVector = 5;
|
||||
int Hook_Int_pVector_pVector_Float_Cbase_pVector(Hook *hook, void *pthis, Vector *v1, Vector *v2, float fl, void* cb, Vector *v3);
|
||||
|
||||
const bool RT_Int_Cbase_Bool = false;
|
||||
const bool RB_Int_Cbase_Bool = false;
|
||||
const int PC_Int_Cbase_Bool = 2;
|
||||
int Hook_Int_Cbase_Bool(Hook *hook, void *pthis, void *cb1, bool b1);
|
||||
|
||||
const bool RT_Int_Vector_Vector = false;
|
||||
const bool RB_Int_Vector_Vector = false;
|
||||
const int PC_Int_Vector_Vector = 6;
|
||||
int Hook_Int_Vector_Vector(Hook *hook, void *pthis, Vector v1, Vector v2);
|
||||
|
||||
const bool RT_Int_Entvar_Float = false;
|
||||
const bool RB_Int_Entvar_Float = false;
|
||||
const int PC_Int_Entvar_Float = 2;
|
||||
int Hook_Int_Entvar_Float(Hook *hook, void *pthis, entvars_t *ev1, float f1);
|
||||
|
||||
const bool RT_Float_Float = false;
|
||||
const bool RB_Float_Float = false;
|
||||
const int PC_Float_Float = 1;
|
||||
float Hook_Float_Float(Hook *hook, void *pthis, float f1);
|
||||
|
||||
const bool RT_Void_Entvar_Entvar_Float = true;
|
||||
const bool RB_Void_Entvar_Entvar_Float = false;
|
||||
const int PC_Void_Entvar_Entvar_Float = 3;
|
||||
void Hook_Void_Entvar_Entvar_Float(Hook *hook, void *pthis, entvars_t *attacker, entvars_t *inflictor, float damage);
|
||||
|
||||
const bool RT_Bool_Void = false;
|
||||
const bool RB_Bool_Void = false;
|
||||
const int PC_Bool_Void = 0;
|
||||
bool Hook_Bool_Void(Hook *hook, void *pthis);
|
||||
|
||||
const bool RT_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool = false;
|
||||
const bool RB_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool = false;
|
||||
const int PC_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool = 7;
|
||||
int Hook_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(Hook *hook, void *pthis, Vector *v1, Vector *v2, float fl, void* cb, Vector *v3, Vector *v4, bool b1);
|
||||
|
||||
const bool RT_Int_Vector_Cbase = false;
|
||||
const bool RB_Int_Vector_Cbase = false;
|
||||
const int PC_Int_Vector_Cbase = 4;
|
||||
int Hook_Int_Vector_Cbase(Hook *hook, void *pthis, Vector v1, void *cb);
|
||||
|
||||
const bool RT_Int_Vector= false;
|
||||
const bool RB_Int_Vector = false;
|
||||
const int PC_Int_Vector = 3;
|
||||
int Hook_Int_Vector(Hook *hook, void *pthis, Vector v1);
|
||||
|
||||
const bool RT_Int_Cbase_pVector = false;
|
||||
const bool RB_Int_Cbase_pVector = false;
|
||||
const int PC_Int_Cbase_pVector = 2;
|
||||
int Hook_Int_Cbase_pVector(Hook *hook, void *pthis, void *cb1, Vector *v1);
|
||||
|
||||
const bool RT_Void_Bool = true;
|
||||
const bool RB_Void_Bool = false;
|
||||
const int PC_Void_Bool = 1;
|
||||
void Hook_Void_Bool(Hook *hook, void *pthis, bool b1);
|
||||
|
||||
const bool RT_Bool_Cbase = false;
|
||||
const bool RB_Bool_Cbase = false;
|
||||
const int PC_Bool_Cbase = 1;
|
||||
bool Hook_Bool_Cbase(Hook *hook, void *pthis, void *cb);
|
||||
|
||||
const bool RT_Bool_Int = false;
|
||||
const bool RB_Bool_Int = false;
|
||||
const int PC_Bool_Int = 1;
|
||||
bool Hook_Bool_Int(Hook *hook, void *pthis, int i1);
|
||||
|
||||
const bool RT_Void_Cbase_Float = true;
|
||||
const bool RB_Void_Cbase_Float = false;
|
||||
const int PC_Void_Cbase_Float = 2;
|
||||
void Hook_Void_Cbase_Float(Hook *hook, void *pthis, void *p1, float f1);
|
||||
|
||||
const bool RT_Void_Cbase_Bool = true;
|
||||
const bool RB_Void_Cbase_Bool = false;
|
||||
const int PC_Void_Cbase_Bool = 2;
|
||||
void Hook_Void_Cbase_Bool(Hook *hook, void *pthis, void *p1, bool b1);
|
||||
|
||||
const bool RT_Vector_Vector_Vector_Vector = true;
|
||||
const bool RB_Vector_Vector_Vector_Vector = true;
|
||||
const int PC_Vector_Vector_Vector_Vector = 10;
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_Vector_Vector_Vector(Hook *hook, void *pthis, Vector *out, Vector v1, Vector v2, Vector v3);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_Vector_Vector_Vector(Hook *hook, Vector *out, void *pthis, Vector v1, Vector v2, Vector v3);
|
||||
#endif
|
||||
|
||||
const bool RT_Str_Str = false;
|
||||
const bool RB_Str_Str = false;
|
||||
const int PC_Str_Str = 1;
|
||||
const char *Hook_Str_Str(Hook *hook, void *pthis, const char* str);
|
||||
|
||||
const bool RT_Void_Short = true;
|
||||
const bool RB_Void_Short = false;
|
||||
const int PC_Void_Short = 1;
|
||||
void Hook_Void_Short(Hook *hook, void *pthis, short i1);
|
||||
|
||||
|
||||
const bool RT_Deprecated = true;
|
||||
const bool RB_Deprecated = false;
|
||||
const int PC_Deprecated = 0;
|
||||
void Hook_Deprecated(Hook* hook);
|
||||
const bool RT_Vector_Float = true;
|
||||
const bool RB_Vector_Float = true;
|
||||
const int PC_Vector_Float = 2;
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_Float(Hook *hook, void *pthis, Vector *out, float f1);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_Float(Hook *hook, Vector *out, void *pthis, float f1);
|
||||
#endif
|
||||
|
||||
const bool RT_Void_Float_Cbase = true;
|
||||
const bool RB_Void_Float_Cbase = false;
|
||||
const int PC_Void_Float_Cbase = 2;
|
||||
void Hook_Void_Float_Cbase(Hook *hook, void *pthis, float f1, void *cb);
|
||||
|
||||
const bool RT_Int_Float_Float = false;
|
||||
const bool RB_Int_Float_Float = false;
|
||||
const int PC_Int_Float_Float = 2;
|
||||
int Hook_Int_Float_Float(Hook *hook, void *pthis, float f1, float f2);
|
||||
|
||||
const bool RT_Int_Float = false;
|
||||
const bool RB_Int_Float = false;
|
||||
const int PC_Int_Float = 1;
|
||||
int Hook_Int_Float(Hook *hook, void *pthis, float f1);
|
||||
|
||||
const bool RT_Int_Int_Int = false;
|
||||
const bool RB_Int_Int_Int = false;
|
||||
const int PC_Int_Int_Int = 2;
|
||||
int Hook_Int_Int_Int(Hook *hook, void *pthis, int i1, int i2);
|
||||
|
||||
const bool RT_Void_Str_Float_Float_Float = true;
|
||||
const bool RB_Void_Str_Float_Float_Float = false;
|
||||
const int PC_Void_Str_Float_Float_Float = 4;
|
||||
void Hook_Void_Str_Float_Float_Float(Hook *hook, void *pthis, const char *sz1, float f1, float f2, float f3);
|
||||
|
||||
const bool RT_Void_Str_Float_Float_Float_Int_Cbase = true;
|
||||
const bool RB_Void_Str_Float_Float_Float_Int_Cbase = false;
|
||||
const int PC_Void_Str_Float_Float_Float_Int_Cbase = 6;
|
||||
void Hook_Void_Str_Float_Float_Float_Int_Cbase(Hook *hook, void *pthis, const char *sz1, float f1, float f2, float f3, int i1, void *cb);
|
||||
|
||||
const bool RT_Int_Vector_Vector_Float_Float= false;
|
||||
const bool RB_Int_Vector_Vector_Float_Float = false;
|
||||
const int PC_Int_Vector_Vector_Float_Float = 8;
|
||||
int Hook_Int_Vector_Vector_Float_Float(Hook *hook, void *pthis, Vector v1, Vector v2, float f1, float f2);
|
||||
|
||||
const bool RT_Int_Short = false;
|
||||
const bool RB_Int_Short = false;
|
||||
const int PC_Int_Short = 1;
|
||||
int Hook_Int_Short(Hook *hook, void *pthis, short s1);
|
||||
|
||||
const bool RT_Void_Entvar_Entvar_Float_Int_Int = true;
|
||||
const bool RB_Void_Entvar_Entvar_Float_Int_Int = false;
|
||||
const int PC_Void_Entvar_Entvar_Float_Int_Int = 5;
|
||||
void Hook_Void_Entvar_Entvar_Float_Int_Int(Hook *hook, void *pthis,
|
||||
entvars_t *inflictor,
|
||||
entvars_t *attacker, float damage,
|
||||
int classignore, int damagebits);
|
||||
|
||||
const bool RT_Void_Vector_Entvar_Entvar_Float_Int_Int = true;
|
||||
const bool RB_Void_Vector_Entvar_Entvar_Float_Int_Int = false;
|
||||
const int PC_Void_Vector_Entvar_Entvar_Float_Int_Int = 8;
|
||||
void Hook_Void_Vector_Entvar_Entvar_Float_Int_Int(Hook *hook, void *pthis,
|
||||
Vector source,
|
||||
entvars_t *inflictor,
|
||||
entvars_t *attacker, float damage,
|
||||
int classignore, int damagebits);
|
||||
|
||||
|
||||
const bool RT_Float_Int_Float = false;
|
||||
const bool RB_Float_Int_Float = false;
|
||||
const int PC_Float_Int_Float = 2;
|
||||
float Hook_Float_Int_Float(Hook *hook, void *pthis, int i1, float f2);
|
||||
|
||||
const bool RT_Int_Str = false;
|
||||
const bool RB_Int_Str = false;
|
||||
const int PC_Int_Str = 1;
|
||||
int Hook_Int_Str(Hook *hook, void *pthis, const char *sz1);
|
||||
|
||||
const bool RT_Void_Edict = true;
|
||||
const bool RB_Void_Edict = false;
|
||||
const int PC_Void_Edict = 1;
|
||||
void Hook_Void_Edict(Hook *hook, void *pthis, edict_t *ed1 );
|
||||
|
||||
const bool RT_Void_Int_Str_Bool = true;
|
||||
const bool RB_Void_Int_Str_Bool = false;
|
||||
const int PC_Void_Int_Str_Bool = 3;
|
||||
void Hook_Void_Int_Str_Bool(Hook *hook, void *pthis, int i1, const char *sz2, bool b3);
|
||||
|
||||
const bool RT_Void_Vector_Vector= true;
|
||||
const bool RB_Void_Vector_Vector = false;
|
||||
const int PC_Void_Vector_Vector = 6;
|
||||
void Hook_Void_Vector_Vector(Hook *hook, void *pthis, Vector v1, Vector v2);
|
||||
|
||||
const bool RT_Void_Str_Bool = true;
|
||||
const bool RB_Void_Str_Bool = false;
|
||||
const int PC_Void_Str_Bool = 2;
|
||||
void Hook_Void_Str_Bool(Hook *hook, void *pthis, const char *sz1, bool b2);
|
||||
|
||||
const bool RT_Int_Str_Str_Int_Str_Int_Int = false;
|
||||
const bool RB_Int_Str_Str_Int_Str_Int_Int = false;
|
||||
const int PC_Int_Str_Str_Int_Str_Int_Int = 6;
|
||||
int Hook_Int_Str_Str_Int_Str_Int_Int(Hook *hook, void *pthis, const char *sz1, const char *sz2, int i1, const char *sz3, int i2, int i3);
|
||||
|
||||
const bool RT_Int_Int_Int_Float_Int = false;
|
||||
const bool RB_Int_Int_Int_Float_Int = false;
|
||||
const int PC_Int_Int_Int_Float_Int = 4;
|
||||
int Hook_Int_Int_Int_Float_Int(Hook *hook, void *pthis, int i1, int i2, float f1, int i3);
|
||||
|
||||
const bool RT_Void_Str_Int = true;
|
||||
const bool RB_Void_Str_Int = false;
|
||||
const int PC_Void_Str_Int = 2;
|
||||
void Hook_Void_Str_Int(Hook *hook, void *pthis, const char *sz1, int i2);
|
||||
|
||||
const bool RT_Void_Cbase_Int = true;
|
||||
const bool RB_Void_Cbase_Int = false;
|
||||
const int PC_Void_Cbase_Int = 2;
|
||||
void Hook_Void_Cbase_Int(Hook *hook, void *pthis, void *p1, int i1);
|
||||
|
||||
const bool RT_Void_Str = true;
|
||||
const bool RB_Void_Str = false;
|
||||
const int PC_Void_Str = 1;
|
||||
void Hook_Void_Str(Hook *hook, void *pthis, const char *sz1);
|
||||
|
||||
const bool RT_Void_Vector = true;
|
||||
const bool RB_Void_Vector = false;
|
||||
const int PC_Void_Vector = 3;
|
||||
void Hook_Void_Vector(Hook *hook, void *pthis, Vector v1);
|
||||
|
||||
const bool RT_Int_Str_Vector_Str = false;
|
||||
const bool RB_Int_Str_Vector_Str = false;
|
||||
const int PC_Int_Str_Vector_Str = 5;
|
||||
int Hook_Int_Str_Vector_Str(Hook *hook, void *pthis, const char *sz1, Vector v2, const char *sz2);
|
||||
|
||||
const bool RT_Int_Str_Str = false;
|
||||
const bool RB_Int_Str_Str = false;
|
||||
const int PC_Int_Str_Str = 2;
|
||||
int Hook_Int_Str_Str(Hook *hook, void *pthis, const char *sz1, const char *sz2);
|
||||
|
||||
const bool RT_Void_Float_Float = true;
|
||||
const bool RB_Void_Float_Float = false;
|
||||
const int PC_Void_Float_Float = 2;
|
||||
void Hook_Void_Float_Float(Hook *hook, void *pthis, float f1, float f2);
|
||||
|
||||
const bool RT_Void_Str_Str_Int = true;
|
||||
const bool RB_Void_Str_Str_Int = false;
|
||||
const int PC_Void_Str_Str_Int = 3;
|
||||
void Hook_Void_Str_Str_Int(Hook *hook, void *pthis, const char *sz1, const char *sz2, int i3);
|
||||
|
||||
const bool RT_Int_pVector_pVector_Cbase_pFloat = false;
|
||||
const bool RB_Int_pVector_pVector_Cbase_pFloat = false;
|
||||
const int PC_Int_pVector_pVector_Cbase_pFloat = 4;
|
||||
int Hook_Int_pVector_pVector_Cbase_pFloat(Hook *hook, void *pthis, Vector *v1, Vector *v2, void* cb, float* fl);
|
||||
|
||||
const bool RT_Void_Cbase_pVector_Float = true;
|
||||
const bool RB_Void_Cbase_pVector_Float = false;
|
||||
const int PC_Void_Cbase_pVector_Float = 3;
|
||||
void Hook_Void_Cbase_pVector_Float(Hook *hook, void *pthis, void *p1, Vector *v1, float fl);
|
||||
|
||||
const bool RT_Int_pVector_pVector_Float_Cbase_pVector = false;
|
||||
const bool RB_Int_pVector_pVector_Float_Cbase_pVector = false;
|
||||
const int PC_Int_pVector_pVector_Float_Cbase_pVector = 5;
|
||||
int Hook_Int_pVector_pVector_Float_Cbase_pVector(Hook *hook, void *pthis, Vector *v1, Vector *v2, float fl, void* cb, Vector *v3);
|
||||
|
||||
const bool RT_Int_Cbase_Bool = false;
|
||||
const bool RB_Int_Cbase_Bool = false;
|
||||
const int PC_Int_Cbase_Bool = 2;
|
||||
int Hook_Int_Cbase_Bool(Hook *hook, void *pthis, void *cb1, bool b1);
|
||||
|
||||
const bool RT_Int_Vector_Vector = false;
|
||||
const bool RB_Int_Vector_Vector = false;
|
||||
const int PC_Int_Vector_Vector = 6;
|
||||
int Hook_Int_Vector_Vector(Hook *hook, void *pthis, Vector v1, Vector v2);
|
||||
|
||||
const bool RT_Int_Entvar_Float = false;
|
||||
const bool RB_Int_Entvar_Float = false;
|
||||
const int PC_Int_Entvar_Float = 2;
|
||||
int Hook_Int_Entvar_Float(Hook *hook, void *pthis, entvars_t *ev1, float f1);
|
||||
|
||||
const bool RT_Float_Float = false;
|
||||
const bool RB_Float_Float = false;
|
||||
const int PC_Float_Float = 1;
|
||||
float Hook_Float_Float(Hook *hook, void *pthis, float f1);
|
||||
|
||||
const bool RT_Void_Entvar_Entvar_Float = true;
|
||||
const bool RB_Void_Entvar_Entvar_Float = false;
|
||||
const int PC_Void_Entvar_Entvar_Float = 3;
|
||||
void Hook_Void_Entvar_Entvar_Float(Hook *hook, void *pthis, entvars_t *attacker, entvars_t *inflictor, float damage);
|
||||
|
||||
const bool RT_Bool_Void = false;
|
||||
const bool RB_Bool_Void = false;
|
||||
const int PC_Bool_Void = 0;
|
||||
bool Hook_Bool_Void(Hook *hook, void *pthis);
|
||||
|
||||
const bool RT_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool = false;
|
||||
const bool RB_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool = false;
|
||||
const int PC_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool = 7;
|
||||
int Hook_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(Hook *hook, void *pthis, Vector *v1, Vector *v2, float fl, void* cb, Vector *v3, Vector *v4, bool b1);
|
||||
|
||||
const bool RT_Int_Vector_Cbase = false;
|
||||
const bool RB_Int_Vector_Cbase = false;
|
||||
const int PC_Int_Vector_Cbase = 4;
|
||||
int Hook_Int_Vector_Cbase(Hook *hook, void *pthis, Vector v1, void *cb);
|
||||
|
||||
const bool RT_Int_Vector= false;
|
||||
const bool RB_Int_Vector = false;
|
||||
const int PC_Int_Vector = 3;
|
||||
int Hook_Int_Vector(Hook *hook, void *pthis, Vector v1);
|
||||
|
||||
const bool RT_Int_Cbase_pVector = false;
|
||||
const bool RB_Int_Cbase_pVector = false;
|
||||
const int PC_Int_Cbase_pVector = 2;
|
||||
int Hook_Int_Cbase_pVector(Hook *hook, void *pthis, void *cb1, Vector *v1);
|
||||
|
||||
const bool RT_Void_Bool = true;
|
||||
const bool RB_Void_Bool = false;
|
||||
const int PC_Void_Bool = 1;
|
||||
void Hook_Void_Bool(Hook *hook, void *pthis, bool b1);
|
||||
|
||||
const bool RT_Bool_Cbase = false;
|
||||
const bool RB_Bool_Cbase = false;
|
||||
const int PC_Bool_Cbase = 1;
|
||||
bool Hook_Bool_Cbase(Hook *hook, void *pthis, void *cb);
|
||||
|
||||
const bool RT_Bool_Int = false;
|
||||
const bool RB_Bool_Int = false;
|
||||
const int PC_Bool_Int = 1;
|
||||
bool Hook_Bool_Int(Hook *hook, void *pthis, int i1);
|
||||
|
||||
const bool RT_Void_Cbase_Float = true;
|
||||
const bool RB_Void_Cbase_Float = false;
|
||||
const int PC_Void_Cbase_Float = 2;
|
||||
void Hook_Void_Cbase_Float(Hook *hook, void *pthis, void *p1, float f1);
|
||||
|
||||
const bool RT_Void_Cbase_Bool = true;
|
||||
const bool RB_Void_Cbase_Bool = false;
|
||||
const int PC_Void_Cbase_Bool = 2;
|
||||
void Hook_Void_Cbase_Bool(Hook *hook, void *pthis, void *p1, bool b1);
|
||||
|
||||
const bool RT_Vector_Vector_Vector_Vector = true;
|
||||
const bool RB_Vector_Vector_Vector_Vector = true;
|
||||
const int PC_Vector_Vector_Vector_Vector = 10;
|
||||
#if defined(_WIN32)
|
||||
void Hook_Vector_Vector_Vector_Vector(Hook *hook, void *pthis, Vector *out, Vector v1, Vector v2, Vector v3);
|
||||
#elif defined(__linux__) || defined(__APPLE__)
|
||||
void Hook_Vector_Vector_Vector_Vector(Hook *hook, Vector *out, void *pthis, Vector v1, Vector v2, Vector v3);
|
||||
#endif
|
||||
|
||||
const bool RT_Str_Str = false;
|
||||
const bool RB_Str_Str = false;
|
||||
const int PC_Str_Str = 1;
|
||||
const char *Hook_Str_Str(Hook *hook, void *pthis, const char* str);
|
||||
|
||||
const bool RT_Void_Short = true;
|
||||
const bool RB_Void_Short = false;
|
||||
const int PC_Void_Short = 1;
|
||||
void Hook_Void_Short(Hook *hook, void *pthis, short i1);
|
||||
|
||||
|
||||
const bool RT_Deprecated = true;
|
||||
const bool RB_Deprecated = false;
|
||||
const int PC_Deprecated = 0;
|
||||
void Hook_Deprecated(Hook* hook);
|
||||
#endif
|
||||
|
@ -38,20 +38,20 @@ int Create_Int_Float_Int(AMX *amx, const char *func)
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Float_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Float_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Entvar_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
int Create_Void_Entvar_Entvar_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
@ -68,9 +68,9 @@ int Create_Int_Int_Str_Int(AMX *amx, const char *func)
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Int_Str_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
||||
int Create_Int_Int_Str_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Int(AMX *amx, const char *func)
|
||||
@ -103,11 +103,11 @@ int Create_Void_Cbase_Cbase_Int_Float(AMX *amx, const char *func)
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Vector_Float_Cbase_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Vector_Float_Cbase_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_ARRAY, FP_CELL, FP_CELL, FP_DONE);
|
||||
@ -157,289 +157,289 @@ int Create_Void_Entvar_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
|
||||
int Create_Void_Int_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
|
||||
int Create_Void_ItemInfo(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
|
||||
int Create_Float_Void(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Float_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
|
||||
int Create_Float_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Float_Float_Cbase(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Float_Float_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Vector_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Cbase(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Float_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Int_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Float_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector_Vector_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Short(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Float_Int_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Edict(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Int_Str_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Vector_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str_Str_Int_Str_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Int_Int_Float_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str_Vector_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_ARRAY, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Str_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_pVector_pVector_Cbase_pFloat(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_pVector_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_ARRAY, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Cbase_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Entvar_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Bool_Void(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Cbase_pVector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Bool_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Bool_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Vector_Vector_Vector_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Str_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Short(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int Create_Float_Float_Cbase(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Float_Float_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Vector_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Cbase(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Float_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Float(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Int_Int(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Float_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_FLOAT, FP_FLOAT, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector_Vector_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Short(AMX* amx, const char* func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Float_Int_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Edict(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Int_Str_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Vector_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str_Str_Int_Str_Int_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_CELL, FP_STRING, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Int_Int_Float_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str_Vector_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_ARRAY, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Str_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Str_Str_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_STRING, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_pVector_pVector_Cbase_pFloat(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_pVector_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_ARRAY, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Cbase_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Entvar_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Float_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Bool_Void(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_FLOAT, FP_CELL, FP_ARRAY, FP_ARRAY, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Int_Cbase_pVector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Bool_Cbase(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Bool_Int(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_Float(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_FLOAT, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Cbase_Bool(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Vector_Vector_Vector_Vector(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_ARRAY, FP_ARRAY, FP_ARRAY, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Str_Str(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_STRING, FP_DONE);
|
||||
}
|
||||
|
||||
int Create_Void_Short(AMX *amx, const char *func)
|
||||
{
|
||||
return MF_RegisterSPForwardByName(amx, func, FP_CELL, FP_CELL, FP_DONE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
int Create_Deprecated(AMX* amx, const char* func)
|
||||
{
|
||||
return -1;
|
||||
|
@ -24,13 +24,13 @@ int Create_Void_Entvar(AMX *amx, const char *func);
|
||||
int Create_Void_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Float_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
|
||||
int Create_Int_Float_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Entvar_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Entvar_Entvar_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Entvar_Entvar_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Int_Int(AMX *amx, const char *func);
|
||||
@ -49,8 +49,8 @@ int Create_Int_Entvar_Entvar_Float_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Vector_Float_Cbase_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Vector_Float_Cbase_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Cbase_Int_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Entvar_Float_Vector_Trace_Int(AMX *amx, const char *func);
|
||||
@ -79,112 +79,112 @@ int Create_Void_ItemInfo(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Void(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Float_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Float_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Vector_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Float_Float(AMX* amx, const char* func);
|
||||
|
||||
int Create_Int_Float(AMX* amx, const char* func);
|
||||
|
||||
int Create_Int_Int_Int(AMX* amx, const char* func);
|
||||
|
||||
int Create_Void_Str_Float_Float_Float(AMX* amx, const char* func);
|
||||
|
||||
int Create_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector_Vector_Float_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Short(AMX* amx, const char* func);
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Int_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Edict(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Int_Str_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Vector_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str_Str_Int_Str_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Int_Int_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str_Vector_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str_Str_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_pVector_pVector_Cbase_pFloat(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_pVector_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Cbase_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Entvar_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Bool_Void(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Cbase_pVector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Bool_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Bool_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Vector_Vector_Vector_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Str_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Short(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Float_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Float_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Vector_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Float_Float(AMX* amx, const char* func);
|
||||
|
||||
int Create_Int_Float(AMX* amx, const char* func);
|
||||
|
||||
int Create_Int_Int_Int(AMX* amx, const char* func);
|
||||
|
||||
int Create_Void_Str_Float_Float_Float(AMX* amx, const char* func);
|
||||
|
||||
int Create_Void_Str_Float_Float_Float_Int_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector_Vector_Float_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Short(AMX* amx, const char* func);
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Int_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Edict(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Int_Str_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Vector_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str_Str_Int_Str_Int_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Int_Int_Float_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str_Vector_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Str_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Float_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Str_Str_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_pVector_pVector_Cbase_pFloat(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_pVector_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Cbase_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Entvar_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Float_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Entvar_Entvar_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Bool_Void(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Int_Cbase_pVector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Bool_Cbase(AMX *amx, const char *func);
|
||||
|
||||
int Create_Bool_Int(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Float(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Cbase_Bool(AMX *amx, const char *func);
|
||||
|
||||
int Create_Vector_Vector_Vector_Vector(AMX *amx, const char *func);
|
||||
|
||||
int Create_Str_Str(AMX *amx, const char *func);
|
||||
|
||||
int Create_Void_Short(AMX *amx, const char *func);
|
||||
|
||||
|
||||
int Create_Deprecated(AMX* amx, const char* func);
|
||||
|
||||
|
@ -96,7 +96,7 @@ hook_t hooklist[] =
|
||||
{ V("illumination", Int_Void) },
|
||||
{ V("fvisible", Int_Cbase) },
|
||||
{ V("fvecvisible", Int_pVector) },
|
||||
|
||||
|
||||
/** Entity specific hooks **/
|
||||
|
||||
/* CBasePlayer */
|
||||
@ -127,7 +127,7 @@ hook_t hooklist[] =
|
||||
{ V("item_updateclientdata", Int_Cbase) },
|
||||
{ V("item_getweaponptr", Cbase_Void) },
|
||||
{ V("item_itemslot", Int_Void) },
|
||||
|
||||
|
||||
/* CBasePlayerWeapon */
|
||||
{ V("weapon_extractammo", Int_Cbase) },
|
||||
{ V("weapon_extractclipammo", Int_Cbase) },
|
||||
@ -143,7 +143,7 @@ hook_t hooklist[] =
|
||||
{ V("weapon_retireweapon", Void_Void) },
|
||||
{ V("weapon_shouldweaponidle", Int_Void) },
|
||||
{ V("weapon_usedecrement", Int_Void) },
|
||||
|
||||
|
||||
/** Mod specific hooks **/
|
||||
|
||||
/* The Specialists */
|
||||
@ -195,326 +195,326 @@ hook_t hooklist[] =
|
||||
{ V("ts_onfreeentprivatedata", Void_Void) },
|
||||
{ V("ts_shouldcollide", Int_Cbase) },
|
||||
|
||||
/** New Additions (2011) **/
|
||||
|
||||
{ V("changeyaw", Float_Int) },
|
||||
{ V("hashumangibs", Int_Void) },
|
||||
{ V("hasaliengibs", Int_Void) },
|
||||
{ V("fademonster", Void_Void) },
|
||||
{ V("gibmonster", Void_Void) },
|
||||
{ V("becomedead", Void_Void) },
|
||||
{ V("irelationship", Int_Cbase) },
|
||||
{ V("painsound", Void_Void) },
|
||||
{ V("reportaistate", Void_Void) },
|
||||
{ V("monsterinitdead", Void_Void) },
|
||||
{ V("look", Void_Int) },
|
||||
{ V("bestvisibleenemy", Cbase_Void) },
|
||||
{ V("finviewcone", Int_Cbase) },
|
||||
{ V("fvecinviewcone", Int_pVector) },
|
||||
{ V("getdeathactivity", Int_Void) },
|
||||
|
||||
/* Not supported by Counter-Strike, The Specialists and Natural Selection mods. */
|
||||
{ V("runai", Void_Void) },
|
||||
{ V("monsterthink", Void_Void) },
|
||||
{ V("monsterinit", Void_Void) },
|
||||
{ V("checklocalmove", Int_pVector_pVector_Cbase_pFloat) },
|
||||
{ V("move", Void_Float) },
|
||||
{ V("moveexecute", Void_Cbase_pVector_Float) },
|
||||
{ V("shouldadvanceroute", Int_Float) },
|
||||
{ V("getstoppedactivity", Int_Void) },
|
||||
{ V("stop", Void_Void) },
|
||||
{ V("checkrangeattack1", Int_Float_Float) },
|
||||
{ V("checkrangeattack2", Int_Float_Float) },
|
||||
{ V("checkmeleeattack1", Int_Float_Float) },
|
||||
{ V("checkmeleeattack2", Int_Float_Float) },
|
||||
{ V("schedulechange", Void_Void) },
|
||||
{ V("canplaysequence", Int_Int_Int) },
|
||||
{ V("canplaysentence", Int_Int) },
|
||||
{ V("playsentence", Void_Str_Float_Float_Float) },
|
||||
{ V("playscriptedsentence", Void_Str_Float_Float_Float_Int_Cbase) },
|
||||
{ V("sentencestop", Void_Void) },
|
||||
{ V("getidealstate", Int_Void) },
|
||||
{ V("setactivity", Void_Int) },
|
||||
{ V("checkenemy", Int_Cbase) },
|
||||
{ V("ftriangulate", Int_pVector_pVector_Float_Cbase_pVector) },
|
||||
{ V("setyawspeed", Void_Void) },
|
||||
{ V("buildnearestroute", Int_Vector_Vector_Float_Float) },
|
||||
{ V("findcover", Int_Vector_Vector_Float_Float) },
|
||||
{ V("coverradius", Float_Void) },
|
||||
{ V("fcancheckattacks", Int_Void) },
|
||||
{ V("checkammo", Void_Void) },
|
||||
{ V("ignoreconditions", Int_Void) },
|
||||
{ V("fvalidatehinttype", Int_Short) },
|
||||
{ V("fcanactiveidle", Int_Void) },
|
||||
{ V("isoundmask", Int_Void) },
|
||||
{ V("hearingsensitivity", Float_Void) },
|
||||
{ V("barnaclevictimbitten", Void_Entvar) },
|
||||
{ V("barnaclevictimreleased", Void_Void) },
|
||||
{ V("preschedulethink", Void_Void) },
|
||||
{ V("deathsound", Void_Void) },
|
||||
{ V("alertsound", Void_Void) },
|
||||
{ V("idlesound", Void_Void) },
|
||||
{ V("stopfollowing", Void_Int) },
|
||||
|
||||
/** Mod specific hooks **/
|
||||
|
||||
/* Counter-Strike */
|
||||
{ V("cstrike_weapon_sendweaponanim",Void_Int_Int) },
|
||||
{ V("cstrike_player_resetmaxspeed", Void_Void) },
|
||||
{ V("cstrike_player_isbot", Int_Void) },
|
||||
{ V("cstrike_player_getautoaimvector", Vector_Float) },
|
||||
{ V("cstrike_player_blind", Void_Float_Float_Float_Int) },
|
||||
{ V("cstrike_player_ontouchingweapon",Void_Cbase) },
|
||||
|
||||
/* Day of Defeat */
|
||||
{ V("dod_setscriptreset", Void_Void) },
|
||||
{ V("dod_item_spawndeploy", Int_Void) },
|
||||
{ V("dod_item_setdmgtime", Void_Float) },
|
||||
{ V("dod_item_dropgren", Void_Void) },
|
||||
{ V("dod_weapon_isuseable", Int_Void) },
|
||||
{ V("dod_weapon_aim", Vector_Float_Cbase_Int) },
|
||||
{ V("dod_weapon_flaim", Float_Float_Cbase) },
|
||||
{ V("dod_weapon_removestamina", Void_Float_Cbase) },
|
||||
{ V("dod_weapon_changefov", Int_Int) },
|
||||
{ V("dod_weapon_zoomout", Int_Void) },
|
||||
{ V("dod_weapon_zoomin", Int_Void) },
|
||||
{ V("dod_weapon_getfov", Int_Void) },
|
||||
{ V("dod_weapon_playeriswatersniping", Bool_Void) },
|
||||
{ V("dod_weapon_updatezoomspeed", Void_Void) },
|
||||
{ V("dod_weapon_special", Void_Void) },
|
||||
|
||||
/* Team Fortress Classic */
|
||||
{ V("tfc_dbgetitemname", Str_Void) },
|
||||
{ V("tfc_radiusdamage", Void_Entvar_Entvar_Float_Int_Int) },
|
||||
{ V("tfc_radiusdamage2", Void_Vector_Entvar_Entvar_Float_Int_Int) },
|
||||
|
||||
/* Earth's Special Forces */
|
||||
{ V("esf_isfighter", Int_Void) },
|
||||
{ V("esf_isbuddy", Int_Void) },
|
||||
{ V("esf_emitsound", Void_Str_Int) },
|
||||
{ V("esf_emitnullsound", Void_Int) },
|
||||
{ V("esf_increasestrength", Void_Cbase_Int) },
|
||||
{ V("esf_increasepl", Void_Int) },
|
||||
{ V("esf_setpowerlevel", Void_Int) },
|
||||
{ V("esf_setmaxpowerlevel", Void_Int) },
|
||||
{ V("esf_stopanitrigger", Void_Int) },
|
||||
{ V("esf_stopfly", Void_Void) },
|
||||
{ V("esf_hideweapon", Void_Void) },
|
||||
{ V("esf_clientremoveweapon", Void_Int) },
|
||||
{ V("esf_sendclientcustommodel",Void_Str) },
|
||||
{ V("esf_canturbo", Int_Void) },
|
||||
{ V("esf_canprimaryfire", Int_Void) },
|
||||
{ V("esf_cansecondaryfire", Int_Void) },
|
||||
{ V("esf_canstopfly", Int_Void) },
|
||||
{ V("esf_canblock", Int_Void) },
|
||||
{ V("esf_canraiseKi", Int_Void) },
|
||||
{ V("esf_canraisestamina", Int_Void) },
|
||||
{ V("esf_canteleport", Int_Void) },
|
||||
{ V("esf_canstartfly", Int_Void) },
|
||||
{ V("esf_canstartpowerup", Int_Void) },
|
||||
{ V("esf_canjump", Int_Void) },
|
||||
{ V("esf_canwalljump", Int_Void) },
|
||||
{ V("esf_issuperjump", Int_Void) },
|
||||
{ V("esf_ismoveback", Int_Void) },
|
||||
{ V("esf_checkwalljump", Int_Void) },
|
||||
{ V("esf_enablewalljump", Void_Vector) },
|
||||
{ V("esf_disablewalljump", Void_Void) },
|
||||
{ V("esf_resetwalljumpvars", Void_Void) },
|
||||
{ V("esf_getwalljumpanim", Int_Str_Vector_Str) },
|
||||
{ V("esf_getwalljumpanim2", Int_Str_Str) },
|
||||
{ V("esf_setwalljumpanimation", Void_Void) },
|
||||
{ V("esf_setflymovetype", Void_Void) },
|
||||
{ V("esf_isflymovetype", Int_Void) },
|
||||
{ V("esf_iswalkmovetype", Int_Void) },
|
||||
{ V("esf_setwalkmovetype", Void_Void) },
|
||||
{ V("esf_drawchargebar", Void_Int) },
|
||||
{ V("esf_startblock", Void_Void) },
|
||||
{ V("esf_stopblock", Void_Void) },
|
||||
{ V("esf_startfly", Void_Void) },
|
||||
{ V("esf_getmaxspeed", Float_Void) },
|
||||
{ V("esf_setanimation", Void_Int) },
|
||||
{ V("esf_playanimation", Void_Void) },
|
||||
{ V("esf_getmoveforward", Int_Void) },
|
||||
{ V("esf_getmoveright", Int_Void) },
|
||||
{ V("esf_getmoveup", Void_Void) },
|
||||
{ V("esf_addblindfx", Void_Void) },
|
||||
{ V("esf_removeblindfx", Void_Void) },
|
||||
{ V("esf_disablepsbar", Void_Void) },
|
||||
{ V("esf_addbeamboxcrosshair", Void_Int) },
|
||||
{ V("esf_removebeamboxcrosshair", Void_Void) },
|
||||
{ V("esf_drawpswinbonus", Void_Void) },
|
||||
{ V("esf_drawpsbar", Void_Float_Float) },
|
||||
{ V("esf_lockcrosshair", Void_Void) },
|
||||
{ V("esf_unlockcrosshair", Void_Void) },
|
||||
{ V("esf_rotatecrosshair", Void_Void) },
|
||||
{ V("esf_unrotatecrosshair", Void_Void) },
|
||||
{ V("esf_watermove", Void_Void) },
|
||||
{ V("esf_checktimebaseddamage", Void_Void) },
|
||||
{ V("esf_doessecondaryattack", Int_Void) },
|
||||
{ V("esf_doesprimaryattack", Int_Void) },
|
||||
{ V("esf_removespecialmodes", Void_Void) },
|
||||
{ V("esf_stopturbo", Void_Void) },
|
||||
{ V("esf_takebean", Void_Void) },
|
||||
{ V("esf_getpowerlevel", Void_Void) },
|
||||
{ V("esf_removeallotherweapons",Void_Void) },
|
||||
{ V("esf_stopswoop", Void_Void) },
|
||||
{ V("esf_setdeathanimation", Void_Void) },
|
||||
{ V("esf_setmodel", Void_Void) },
|
||||
{ V("esf_addattacks", Void_Void) },
|
||||
{ V("esf_emitclasssound", Void_Str_Str_Int) },
|
||||
{ V("esf_checklightning", Void_Void) },
|
||||
{ V("esf_freezecontrols", Void_Void) },
|
||||
{ V("esf_unfreezecontrols", Void_Void) },
|
||||
{ V("esf_updateki", Void_Void) },
|
||||
{ V("esf_updatehealth", Void_Void) },
|
||||
{ V("esf_getteleportdir", Vector_Void) },
|
||||
{ V("esf_weapon_holsterwhenmeleed", Void_Void) },
|
||||
|
||||
/* Natural-Selection */
|
||||
{ V("ns_setbonecontroller", Float_Int_Float) },
|
||||
{ V("ns_savedataforreset", Void_Void) },
|
||||
{ V("ns_gethull", Int_Void) },
|
||||
{ V("ns_getmaxwalkspeed", Float_Void) },
|
||||
{ V("ns_setteamid", Str_Str) },
|
||||
{ V("ns_geteffectiveplayerclass", Int_Void) },
|
||||
{ V("ns_getauthenticationmask", Int_Void) },
|
||||
{ V("ns_effectiveplayerclasschanged", Void_Void) },
|
||||
{ V("ns_needsteamupdate", Void_Void) },
|
||||
{ V("ns_sendteamupdate", Void_Void) },
|
||||
{ V("ns_sendweaponupdate", Void_Void) },
|
||||
{ V("ns_initplayerfromspawn", Void_Edict) },
|
||||
{ V("ns_packdeadplayeritems", Void_Void) },
|
||||
{ V("ns_getanimationforactivity",Void_Int_Str_Bool) },
|
||||
{ V("ns_startobserver", Void_Vector_Vector) },
|
||||
{ V("ns_stopobserver", Void_Void) },
|
||||
{ V("ns_getadrenalinefactor", Float_Void) },
|
||||
{ V("ns_givenameditem", Void_Str_Bool) },
|
||||
{ V("ns_suicide", Void_Void) },
|
||||
{ V("ns_getcanuseweapon", Int_Void) },
|
||||
{ V("ns_weapon_getweaponprimetime", Float_Void) },
|
||||
{ V("ns_weapon_primeweapon", Void_Void) },
|
||||
{ V("ns_weapon_getisweaponprimed", Int_Void) },
|
||||
{ V("ns_weapon_getisweaponpriming", Int_Void) },
|
||||
{ V("ns_weapon_defaultdeploy", Int_Str_Str_Int_Str_Int_Int) },
|
||||
{ V("ns_weapon_defaultreload", Int_Int_Int_Float_Int) },
|
||||
{ V("ns_weapon_getdeploytime", Float_Void) },
|
||||
|
||||
/* Sven co-op */
|
||||
{ V("sc_getclassification", Int_Int) },
|
||||
{ V("sc_ismonster", Int_Void) },
|
||||
{ V("sc_isphysx", Int_Void) },
|
||||
{ V("sc_ispointentity", Int_Void) },
|
||||
{ V("sc_ismachine", Int_Void) },
|
||||
{ V("sc_criticalremove", Int_Void) },
|
||||
{ V("sc_updateonremove", Void_Void) },
|
||||
{ V("sc_fvisible", Int_Cbase_Bool) },
|
||||
{ V("sc_fvisiblefrompos", Int_Vector_Vector) },
|
||||
{ V("sc_isfacing", Int_Entvar_Float) },
|
||||
{ V("sc_getpointsfordamage", Float_Float) },
|
||||
{ V("sc_getdamagepoints", Void_Entvar_Entvar_Float) },
|
||||
{ V("sc_oncreate", Void_Void) },
|
||||
{ V("sc_ondestroy", Void_Void) },
|
||||
{ V("sc_isvalidentity", Bool_Void) },
|
||||
{ V("sc_shouldfadeondeath", Int_Void) },
|
||||
{ V("sc_setupfriendly", Void_Void) },
|
||||
{ V("sc_revivethink", Void_Void) },
|
||||
{ V("sc_revive", Void_Void) },
|
||||
{ V("sc_startmonster", Void_Void) },
|
||||
{ V("sc_checkrangeattack1_move",Int_Float_Float) },
|
||||
{ V("sc_checkrangeattack2_move",Int_Float_Float) },
|
||||
{ V("sc_checkmeleeattack1_move",Int_Float_Float) },
|
||||
{ V("sc_checkmeleeattack2_move",Int_Float_Float) },
|
||||
{ V("sc_checktankusage", Int_Void) },
|
||||
{ V("sc_setgaitactivity", Int_Void) },
|
||||
{ V("sc_ftriangulate", Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool) },
|
||||
{ V("sc_ftriangulateextension", Int_pVector_pVector_Float_Cbase_pVector) },
|
||||
{ V("sc_findcovergrenade", Int_Vector_Vector_Float_Float) },
|
||||
{ V("sc_findcoverdistance", Int_Vector_Vector_Float_Float) },
|
||||
{ V("sc_findattackpoint", Int_Vector_Vector_Float_Float) },
|
||||
{ V("sc_fvalidatecover", Int_pVector) },
|
||||
{ V("sc_nofriendlyfire1", Int_Void) },
|
||||
{ V("sc_nofriendlyfire2", Int_Vector) },
|
||||
{ V("sc_nofriendlyfire3", Int_Vector_Cbase) },
|
||||
{ V("sc_nofriendlyfiretopos", Int_Vector) },
|
||||
{ V("sc_fvisiblegunpos", Int_Cbase_pVector) },
|
||||
{ V("sc_finbulletcone", Int_Cbase_pVector) },
|
||||
{ V("sc_callgibmonster", Void_Void) },
|
||||
{ V("sc_checktimebaseddamage", Void_Void) },
|
||||
{ V("sc_ismoving", Int_Void) },
|
||||
{ V("sc_isplayerfollowing", Int_Void) },
|
||||
{ V("sc_startplayerfollowing", Void_Cbase) },
|
||||
{ V("sc_stopplayerfollowing", Void_Int) },
|
||||
{ V("sc_usesound", Void_Void) },
|
||||
{ V("sc_unusesound", Void_Void) },
|
||||
{ V("sc_ridemonster", Void_Cbase) },
|
||||
{ V("sc_checkandapplygenericattacks", Void_Void) },
|
||||
{ V("sc_checkscared", Bool_Void) },
|
||||
{ V("sc_checkcreaturedanger", Void_Void) },
|
||||
{ V("sc_checkfalldamage", Void_Void) },
|
||||
{ V("sc_checkrevival", Void_Void) },
|
||||
{ V("sc_mediccallsound", Void_Void) },
|
||||
|
||||
{ V("sc_player_menuinputperformed", Void_Bool) },
|
||||
{ V("sc_player_ismenuinputdone",Bool_Void) },
|
||||
{ V("sc_player_specialspawn", Void_Void) },
|
||||
{ V("sc_player_isvalidinfoentity", Bool_Void) },
|
||||
{ V("sc_player_levelend", Void_Void) },
|
||||
{ V("sc_player_votestarted", Void_Int) },
|
||||
{ V("sc_player_canstartnextvote", Bool_Int) },
|
||||
{ V("sc_player_vote", Void_Int) },
|
||||
{ V("sc_player_hasvoted", Bool_Void) },
|
||||
{ V("sc_player_resetvote", Void_Void) },
|
||||
{ V("sc_player_lastvoteinput", Int_Void) },
|
||||
{ V("sc_player_initvote", Void_Void) },
|
||||
{ V("sc_player_timetostartnextvote", Float_Void) },
|
||||
{ V("sc_player_resetview", Void_Void) },
|
||||
{ V("sc_player_getlogfrequency",Float_Void) },
|
||||
{ V("sc_player_logplayerstats", Bool_Void) },
|
||||
{ V("sc_player_disablecollisionwithplayer", Void_Cbase_Float) },
|
||||
{ V("sc_player_enablecollisionwithplayer", Void_Cbase_Bool) },
|
||||
{ V("sc_player_cantouchplayer", Bool_Cbase) },
|
||||
|
||||
{ V("sc_item_materialize", Void_Void) },
|
||||
|
||||
{ V("sc_weapon_bulletaccuracy", Vector_Vector_Vector_Vector) },
|
||||
{ V("sc_weapon_tertiaryattack", Void_Void) },
|
||||
{ V("sc_weapon_burstsupplement",Void_Void) },
|
||||
{ V("sc_weapon_getp_model", Str_Str) },
|
||||
{ V("sc_weapon_getw_model", Str_Str) },
|
||||
{ V("sc_weapon_getv_model", Str_Str) },
|
||||
{ V("sc_weapon_precachecustommodels", Void_Void) },
|
||||
{ V("sc_weapon_ismultiplayer", Int_Void) },
|
||||
{ V("sc_weapon_frunfuncs", Int_Void) },
|
||||
{ V("sc_weapon_setfov", Void_Int) },
|
||||
{ V("sc_weapon_fcanrun", Int_Void) },
|
||||
{ V("sc_weapon_customdecrement",Void_Float) },
|
||||
{ V("sc_weapon_setv_model", Void_Str) },
|
||||
{ V("sc_weapon_setp_model", Void_Str) },
|
||||
{ V("sc_weapon_changeweaponskin",Void_Short) },
|
||||
|
||||
/** New Additions (2013) **/
|
||||
|
||||
{ V("tfc_killed",Void_Entvar_Entvar_Int) },
|
||||
{ V("tfc_istriggered", Int_Void) },
|
||||
{ V("tfc_weapon_sendweaponanim", Void_Int_Int) },
|
||||
{ V("tfc_weapon_getnextattackdelay", Float_Float) },
|
||||
|
||||
{ V("sc_takehealth",Int_Float_Int_Int) },
|
||||
{ V("sc_takearmor", Int_Float_Int_Int) },
|
||||
{ V("sc_giveammo", Int_Int_Str_Int_Int) },
|
||||
{ V("sc_checkattacker", Int_Cbase) },
|
||||
{ V("sc_player_isconnected", Int_Void) },
|
||||
|
||||
{ V("dod_weapon_sendweaponanim", Void_Int_Int) },
|
||||
|
||||
/** New Additions (2011) **/
|
||||
|
||||
{ V("changeyaw", Float_Int) },
|
||||
{ V("hashumangibs", Int_Void) },
|
||||
{ V("hasaliengibs", Int_Void) },
|
||||
{ V("fademonster", Void_Void) },
|
||||
{ V("gibmonster", Void_Void) },
|
||||
{ V("becomedead", Void_Void) },
|
||||
{ V("irelationship", Int_Cbase) },
|
||||
{ V("painsound", Void_Void) },
|
||||
{ V("reportaistate", Void_Void) },
|
||||
{ V("monsterinitdead", Void_Void) },
|
||||
{ V("look", Void_Int) },
|
||||
{ V("bestvisibleenemy", Cbase_Void) },
|
||||
{ V("finviewcone", Int_Cbase) },
|
||||
{ V("fvecinviewcone", Int_pVector) },
|
||||
{ V("getdeathactivity", Int_Void) },
|
||||
|
||||
/* Not supported by Counter-Strike, The Specialists and Natural Selection mods. */
|
||||
{ V("runai", Void_Void) },
|
||||
{ V("monsterthink", Void_Void) },
|
||||
{ V("monsterinit", Void_Void) },
|
||||
{ V("checklocalmove", Int_pVector_pVector_Cbase_pFloat) },
|
||||
{ V("move", Void_Float) },
|
||||
{ V("moveexecute", Void_Cbase_pVector_Float) },
|
||||
{ V("shouldadvanceroute", Int_Float) },
|
||||
{ V("getstoppedactivity", Int_Void) },
|
||||
{ V("stop", Void_Void) },
|
||||
{ V("checkrangeattack1", Int_Float_Float) },
|
||||
{ V("checkrangeattack2", Int_Float_Float) },
|
||||
{ V("checkmeleeattack1", Int_Float_Float) },
|
||||
{ V("checkmeleeattack2", Int_Float_Float) },
|
||||
{ V("schedulechange", Void_Void) },
|
||||
{ V("canplaysequence", Int_Int_Int) },
|
||||
{ V("canplaysentence", Int_Int) },
|
||||
{ V("playsentence", Void_Str_Float_Float_Float) },
|
||||
{ V("playscriptedsentence", Void_Str_Float_Float_Float_Int_Cbase) },
|
||||
{ V("sentencestop", Void_Void) },
|
||||
{ V("getidealstate", Int_Void) },
|
||||
{ V("setactivity", Void_Int) },
|
||||
{ V("checkenemy", Int_Cbase) },
|
||||
{ V("ftriangulate", Int_pVector_pVector_Float_Cbase_pVector) },
|
||||
{ V("setyawspeed", Void_Void) },
|
||||
{ V("buildnearestroute", Int_Vector_Vector_Float_Float) },
|
||||
{ V("findcover", Int_Vector_Vector_Float_Float) },
|
||||
{ V("coverradius", Float_Void) },
|
||||
{ V("fcancheckattacks", Int_Void) },
|
||||
{ V("checkammo", Void_Void) },
|
||||
{ V("ignoreconditions", Int_Void) },
|
||||
{ V("fvalidatehinttype", Int_Short) },
|
||||
{ V("fcanactiveidle", Int_Void) },
|
||||
{ V("isoundmask", Int_Void) },
|
||||
{ V("hearingsensitivity", Float_Void) },
|
||||
{ V("barnaclevictimbitten", Void_Entvar) },
|
||||
{ V("barnaclevictimreleased", Void_Void) },
|
||||
{ V("preschedulethink", Void_Void) },
|
||||
{ V("deathsound", Void_Void) },
|
||||
{ V("alertsound", Void_Void) },
|
||||
{ V("idlesound", Void_Void) },
|
||||
{ V("stopfollowing", Void_Int) },
|
||||
|
||||
/** Mod specific hooks **/
|
||||
|
||||
/* Counter-Strike */
|
||||
{ V("cstrike_weapon_sendweaponanim",Void_Int_Int) },
|
||||
{ V("cstrike_player_resetmaxspeed", Void_Void) },
|
||||
{ V("cstrike_player_isbot", Int_Void) },
|
||||
{ V("cstrike_player_getautoaimvector", Vector_Float) },
|
||||
{ V("cstrike_player_blind", Void_Float_Float_Float_Int) },
|
||||
{ V("cstrike_player_ontouchingweapon",Void_Cbase) },
|
||||
|
||||
/* Day of Defeat */
|
||||
{ V("dod_setscriptreset", Void_Void) },
|
||||
{ V("dod_item_spawndeploy", Int_Void) },
|
||||
{ V("dod_item_setdmgtime", Void_Float) },
|
||||
{ V("dod_item_dropgren", Void_Void) },
|
||||
{ V("dod_weapon_isuseable", Int_Void) },
|
||||
{ V("dod_weapon_aim", Vector_Float_Cbase_Int) },
|
||||
{ V("dod_weapon_flaim", Float_Float_Cbase) },
|
||||
{ V("dod_weapon_removestamina", Void_Float_Cbase) },
|
||||
{ V("dod_weapon_changefov", Int_Int) },
|
||||
{ V("dod_weapon_zoomout", Int_Void) },
|
||||
{ V("dod_weapon_zoomin", Int_Void) },
|
||||
{ V("dod_weapon_getfov", Int_Void) },
|
||||
{ V("dod_weapon_playeriswatersniping", Bool_Void) },
|
||||
{ V("dod_weapon_updatezoomspeed", Void_Void) },
|
||||
{ V("dod_weapon_special", Void_Void) },
|
||||
|
||||
/* Team Fortress Classic */
|
||||
{ V("tfc_dbgetitemname", Str_Void) },
|
||||
{ V("tfc_radiusdamage", Void_Entvar_Entvar_Float_Int_Int) },
|
||||
{ V("tfc_radiusdamage2", Void_Vector_Entvar_Entvar_Float_Int_Int) },
|
||||
|
||||
/* Earth's Special Forces */
|
||||
{ V("esf_isfighter", Int_Void) },
|
||||
{ V("esf_isbuddy", Int_Void) },
|
||||
{ V("esf_emitsound", Void_Str_Int) },
|
||||
{ V("esf_emitnullsound", Void_Int) },
|
||||
{ V("esf_increasestrength", Void_Cbase_Int) },
|
||||
{ V("esf_increasepl", Void_Int) },
|
||||
{ V("esf_setpowerlevel", Void_Int) },
|
||||
{ V("esf_setmaxpowerlevel", Void_Int) },
|
||||
{ V("esf_stopanitrigger", Void_Int) },
|
||||
{ V("esf_stopfly", Void_Void) },
|
||||
{ V("esf_hideweapon", Void_Void) },
|
||||
{ V("esf_clientremoveweapon", Void_Int) },
|
||||
{ V("esf_sendclientcustommodel",Void_Str) },
|
||||
{ V("esf_canturbo", Int_Void) },
|
||||
{ V("esf_canprimaryfire", Int_Void) },
|
||||
{ V("esf_cansecondaryfire", Int_Void) },
|
||||
{ V("esf_canstopfly", Int_Void) },
|
||||
{ V("esf_canblock", Int_Void) },
|
||||
{ V("esf_canraiseKi", Int_Void) },
|
||||
{ V("esf_canraisestamina", Int_Void) },
|
||||
{ V("esf_canteleport", Int_Void) },
|
||||
{ V("esf_canstartfly", Int_Void) },
|
||||
{ V("esf_canstartpowerup", Int_Void) },
|
||||
{ V("esf_canjump", Int_Void) },
|
||||
{ V("esf_canwalljump", Int_Void) },
|
||||
{ V("esf_issuperjump", Int_Void) },
|
||||
{ V("esf_ismoveback", Int_Void) },
|
||||
{ V("esf_checkwalljump", Int_Void) },
|
||||
{ V("esf_enablewalljump", Void_Vector) },
|
||||
{ V("esf_disablewalljump", Void_Void) },
|
||||
{ V("esf_resetwalljumpvars", Void_Void) },
|
||||
{ V("esf_getwalljumpanim", Int_Str_Vector_Str) },
|
||||
{ V("esf_getwalljumpanim2", Int_Str_Str) },
|
||||
{ V("esf_setwalljumpanimation", Void_Void) },
|
||||
{ V("esf_setflymovetype", Void_Void) },
|
||||
{ V("esf_isflymovetype", Int_Void) },
|
||||
{ V("esf_iswalkmovetype", Int_Void) },
|
||||
{ V("esf_setwalkmovetype", Void_Void) },
|
||||
{ V("esf_drawchargebar", Void_Int) },
|
||||
{ V("esf_startblock", Void_Void) },
|
||||
{ V("esf_stopblock", Void_Void) },
|
||||
{ V("esf_startfly", Void_Void) },
|
||||
{ V("esf_getmaxspeed", Float_Void) },
|
||||
{ V("esf_setanimation", Void_Int) },
|
||||
{ V("esf_playanimation", Void_Void) },
|
||||
{ V("esf_getmoveforward", Int_Void) },
|
||||
{ V("esf_getmoveright", Int_Void) },
|
||||
{ V("esf_getmoveup", Void_Void) },
|
||||
{ V("esf_addblindfx", Void_Void) },
|
||||
{ V("esf_removeblindfx", Void_Void) },
|
||||
{ V("esf_disablepsbar", Void_Void) },
|
||||
{ V("esf_addbeamboxcrosshair", Void_Int) },
|
||||
{ V("esf_removebeamboxcrosshair", Void_Void) },
|
||||
{ V("esf_drawpswinbonus", Void_Void) },
|
||||
{ V("esf_drawpsbar", Void_Float_Float) },
|
||||
{ V("esf_lockcrosshair", Void_Void) },
|
||||
{ V("esf_unlockcrosshair", Void_Void) },
|
||||
{ V("esf_rotatecrosshair", Void_Void) },
|
||||
{ V("esf_unrotatecrosshair", Void_Void) },
|
||||
{ V("esf_watermove", Void_Void) },
|
||||
{ V("esf_checktimebaseddamage", Void_Void) },
|
||||
{ V("esf_doessecondaryattack", Int_Void) },
|
||||
{ V("esf_doesprimaryattack", Int_Void) },
|
||||
{ V("esf_removespecialmodes", Void_Void) },
|
||||
{ V("esf_stopturbo", Void_Void) },
|
||||
{ V("esf_takebean", Void_Void) },
|
||||
{ V("esf_getpowerlevel", Void_Void) },
|
||||
{ V("esf_removeallotherweapons",Void_Void) },
|
||||
{ V("esf_stopswoop", Void_Void) },
|
||||
{ V("esf_setdeathanimation", Void_Void) },
|
||||
{ V("esf_setmodel", Void_Void) },
|
||||
{ V("esf_addattacks", Void_Void) },
|
||||
{ V("esf_emitclasssound", Void_Str_Str_Int) },
|
||||
{ V("esf_checklightning", Void_Void) },
|
||||
{ V("esf_freezecontrols", Void_Void) },
|
||||
{ V("esf_unfreezecontrols", Void_Void) },
|
||||
{ V("esf_updateki", Void_Void) },
|
||||
{ V("esf_updatehealth", Void_Void) },
|
||||
{ V("esf_getteleportdir", Vector_Void) },
|
||||
{ V("esf_weapon_holsterwhenmeleed", Void_Void) },
|
||||
|
||||
/* Natural-Selection */
|
||||
{ V("ns_setbonecontroller", Float_Int_Float) },
|
||||
{ V("ns_savedataforreset", Void_Void) },
|
||||
{ V("ns_gethull", Int_Void) },
|
||||
{ V("ns_getmaxwalkspeed", Float_Void) },
|
||||
{ V("ns_setteamid", Str_Str) },
|
||||
{ V("ns_geteffectiveplayerclass", Int_Void) },
|
||||
{ V("ns_getauthenticationmask", Int_Void) },
|
||||
{ V("ns_effectiveplayerclasschanged", Void_Void) },
|
||||
{ V("ns_needsteamupdate", Void_Void) },
|
||||
{ V("ns_sendteamupdate", Void_Void) },
|
||||
{ V("ns_sendweaponupdate", Void_Void) },
|
||||
{ V("ns_initplayerfromspawn", Void_Edict) },
|
||||
{ V("ns_packdeadplayeritems", Void_Void) },
|
||||
{ V("ns_getanimationforactivity",Void_Int_Str_Bool) },
|
||||
{ V("ns_startobserver", Void_Vector_Vector) },
|
||||
{ V("ns_stopobserver", Void_Void) },
|
||||
{ V("ns_getadrenalinefactor", Float_Void) },
|
||||
{ V("ns_givenameditem", Void_Str_Bool) },
|
||||
{ V("ns_suicide", Void_Void) },
|
||||
{ V("ns_getcanuseweapon", Int_Void) },
|
||||
{ V("ns_weapon_getweaponprimetime", Float_Void) },
|
||||
{ V("ns_weapon_primeweapon", Void_Void) },
|
||||
{ V("ns_weapon_getisweaponprimed", Int_Void) },
|
||||
{ V("ns_weapon_getisweaponpriming", Int_Void) },
|
||||
{ V("ns_weapon_defaultdeploy", Int_Str_Str_Int_Str_Int_Int) },
|
||||
{ V("ns_weapon_defaultreload", Int_Int_Int_Float_Int) },
|
||||
{ V("ns_weapon_getdeploytime", Float_Void) },
|
||||
|
||||
/* Sven co-op */
|
||||
{ V("sc_getclassification", Int_Int) },
|
||||
{ V("sc_ismonster", Int_Void) },
|
||||
{ V("sc_isphysx", Int_Void) },
|
||||
{ V("sc_ispointentity", Int_Void) },
|
||||
{ V("sc_ismachine", Int_Void) },
|
||||
{ V("sc_criticalremove", Int_Void) },
|
||||
{ V("sc_updateonremove", Void_Void) },
|
||||
{ V("sc_fvisible", Int_Cbase_Bool) },
|
||||
{ V("sc_fvisiblefrompos", Int_Vector_Vector) },
|
||||
{ V("sc_isfacing", Int_Entvar_Float) },
|
||||
{ V("sc_getpointsfordamage", Float_Float) },
|
||||
{ V("sc_getdamagepoints", Void_Entvar_Entvar_Float) },
|
||||
{ V("sc_oncreate", Void_Void) },
|
||||
{ V("sc_ondestroy", Void_Void) },
|
||||
{ V("sc_isvalidentity", Bool_Void) },
|
||||
{ V("sc_shouldfadeondeath", Int_Void) },
|
||||
{ V("sc_setupfriendly", Void_Void) },
|
||||
{ V("sc_revivethink", Void_Void) },
|
||||
{ V("sc_revive", Void_Void) },
|
||||
{ V("sc_startmonster", Void_Void) },
|
||||
{ V("sc_checkrangeattack1_move",Int_Float_Float) },
|
||||
{ V("sc_checkrangeattack2_move",Int_Float_Float) },
|
||||
{ V("sc_checkmeleeattack1_move",Int_Float_Float) },
|
||||
{ V("sc_checkmeleeattack2_move",Int_Float_Float) },
|
||||
{ V("sc_checktankusage", Int_Void) },
|
||||
{ V("sc_setgaitactivity", Int_Void) },
|
||||
{ V("sc_ftriangulate", Int_pVector_pVector_Float_Cbase_pVector_pVector_Bool) },
|
||||
{ V("sc_ftriangulateextension", Int_pVector_pVector_Float_Cbase_pVector) },
|
||||
{ V("sc_findcovergrenade", Int_Vector_Vector_Float_Float) },
|
||||
{ V("sc_findcoverdistance", Int_Vector_Vector_Float_Float) },
|
||||
{ V("sc_findattackpoint", Int_Vector_Vector_Float_Float) },
|
||||
{ V("sc_fvalidatecover", Int_pVector) },
|
||||
{ V("sc_nofriendlyfire1", Int_Void) },
|
||||
{ V("sc_nofriendlyfire2", Int_Vector) },
|
||||
{ V("sc_nofriendlyfire3", Int_Vector_Cbase) },
|
||||
{ V("sc_nofriendlyfiretopos", Int_Vector) },
|
||||
{ V("sc_fvisiblegunpos", Int_Cbase_pVector) },
|
||||
{ V("sc_finbulletcone", Int_Cbase_pVector) },
|
||||
{ V("sc_callgibmonster", Void_Void) },
|
||||
{ V("sc_checktimebaseddamage", Void_Void) },
|
||||
{ V("sc_ismoving", Int_Void) },
|
||||
{ V("sc_isplayerfollowing", Int_Void) },
|
||||
{ V("sc_startplayerfollowing", Void_Cbase) },
|
||||
{ V("sc_stopplayerfollowing", Void_Int) },
|
||||
{ V("sc_usesound", Void_Void) },
|
||||
{ V("sc_unusesound", Void_Void) },
|
||||
{ V("sc_ridemonster", Void_Cbase) },
|
||||
{ V("sc_checkandapplygenericattacks", Void_Void) },
|
||||
{ V("sc_checkscared", Bool_Void) },
|
||||
{ V("sc_checkcreaturedanger", Void_Void) },
|
||||
{ V("sc_checkfalldamage", Void_Void) },
|
||||
{ V("sc_checkrevival", Void_Void) },
|
||||
{ V("sc_mediccallsound", Void_Void) },
|
||||
|
||||
{ V("sc_player_menuinputperformed", Void_Bool) },
|
||||
{ V("sc_player_ismenuinputdone",Bool_Void) },
|
||||
{ V("sc_player_specialspawn", Void_Void) },
|
||||
{ V("sc_player_isvalidinfoentity", Bool_Void) },
|
||||
{ V("sc_player_levelend", Void_Void) },
|
||||
{ V("sc_player_votestarted", Void_Int) },
|
||||
{ V("sc_player_canstartnextvote", Bool_Int) },
|
||||
{ V("sc_player_vote", Void_Int) },
|
||||
{ V("sc_player_hasvoted", Bool_Void) },
|
||||
{ V("sc_player_resetvote", Void_Void) },
|
||||
{ V("sc_player_lastvoteinput", Int_Void) },
|
||||
{ V("sc_player_initvote", Void_Void) },
|
||||
{ V("sc_player_timetostartnextvote", Float_Void) },
|
||||
{ V("sc_player_resetview", Void_Void) },
|
||||
{ V("sc_player_getlogfrequency",Float_Void) },
|
||||
{ V("sc_player_logplayerstats", Bool_Void) },
|
||||
{ V("sc_player_disablecollisionwithplayer", Void_Cbase_Float) },
|
||||
{ V("sc_player_enablecollisionwithplayer", Void_Cbase_Bool) },
|
||||
{ V("sc_player_cantouchplayer", Bool_Cbase) },
|
||||
|
||||
{ V("sc_item_materialize", Void_Void) },
|
||||
|
||||
{ V("sc_weapon_bulletaccuracy", Vector_Vector_Vector_Vector) },
|
||||
{ V("sc_weapon_tertiaryattack", Void_Void) },
|
||||
{ V("sc_weapon_burstsupplement",Void_Void) },
|
||||
{ V("sc_weapon_getp_model", Str_Str) },
|
||||
{ V("sc_weapon_getw_model", Str_Str) },
|
||||
{ V("sc_weapon_getv_model", Str_Str) },
|
||||
{ V("sc_weapon_precachecustommodels", Void_Void) },
|
||||
{ V("sc_weapon_ismultiplayer", Int_Void) },
|
||||
{ V("sc_weapon_frunfuncs", Int_Void) },
|
||||
{ V("sc_weapon_setfov", Void_Int) },
|
||||
{ V("sc_weapon_fcanrun", Int_Void) },
|
||||
{ V("sc_weapon_customdecrement",Void_Float) },
|
||||
{ V("sc_weapon_setv_model", Void_Str) },
|
||||
{ V("sc_weapon_setp_model", Void_Str) },
|
||||
{ V("sc_weapon_changeweaponskin",Void_Short) },
|
||||
|
||||
/** New Additions (2013) **/
|
||||
|
||||
{ V("tfc_killed",Void_Entvar_Entvar_Int) },
|
||||
{ V("tfc_istriggered", Int_Void) },
|
||||
{ V("tfc_weapon_sendweaponanim", Void_Int_Int) },
|
||||
{ V("tfc_weapon_getnextattackdelay", Float_Float) },
|
||||
|
||||
{ V("sc_takehealth",Int_Float_Int_Int) },
|
||||
{ V("sc_takearmor", Int_Float_Int_Int) },
|
||||
{ V("sc_giveammo", Int_Int_Str_Int_Int) },
|
||||
{ V("sc_checkattacker", Int_Cbase) },
|
||||
{ V("sc_player_isconnected", Int_Void) },
|
||||
|
||||
{ V("dod_weapon_sendweaponanim", Void_Int_Int) },
|
||||
|
||||
{ V("cstrike_item_isweapon", Int_Void) },
|
||||
|
||||
{ V("gearbox_mysquadtalkmonsterpointer", Cbase_Void) },
|
||||
{ V("gearbox_weapontimebase", Float_Void) },
|
||||
|
||||
{ V("ts_weapon_alternateattack", Void_Void) },
|
||||
|
||||
{ V("item_getiteminfo", Void_ItemInfo) }
|
||||
|
||||
{ V("gearbox_mysquadtalkmonsterpointer", Cbase_Void) },
|
||||
{ V("gearbox_weapontimebase", Float_Void) },
|
||||
|
||||
{ V("ts_weapon_alternateattack", Void_Void) },
|
||||
|
||||
{ V("item_getiteminfo", Void_ItemInfo) }
|
||||
};
|
||||
|
||||
|
||||
|
@ -16,12 +16,12 @@
|
||||
#include "NEW_Util.h"
|
||||
#include "ham_utils.h"
|
||||
|
||||
inline edict_t* INDEXENT2( int iEdictNum )
|
||||
{
|
||||
if (iEdictNum >= 1 && iEdictNum <= gpGlobals->maxClients)
|
||||
return MF_GetPlayerEdict(iEdictNum);
|
||||
else
|
||||
return (*g_engfuncs.pfnPEntityOfEntIndex)(iEdictNum);
|
||||
inline edict_t* INDEXENT2( int iEdictNum )
|
||||
{
|
||||
if (iEdictNum >= 1 && iEdictNum <= gpGlobals->maxClients)
|
||||
return MF_GetPlayerEdict(iEdictNum);
|
||||
else
|
||||
return (*g_engfuncs.pfnPEntityOfEntIndex)(iEdictNum);
|
||||
}
|
||||
|
||||
#ifdef DONT_TOUCH_THIS_AGAIN_BAIL
|
||||
|
Reference in New Issue
Block a user