more deprecation
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401943
This commit is contained in:
parent
074883512a
commit
9581e2b854
@ -280,14 +280,4 @@ native FindStringInArray(Handle:array, const String:item[]);
|
||||
* @return Array index, or -1 on failure
|
||||
* @error Invalid Handle
|
||||
*/
|
||||
native FindValueInArray(Handle:array, item);
|
||||
|
||||
/**
|
||||
* Backwards compatible stock - Use FindStringInArray()
|
||||
* @deprecated Replaced by FindStringInArray()
|
||||
*/
|
||||
#pragma deprecated Use FindStringInArray() instead
|
||||
stock bool:IsStringInArray(Handle:array, const String:item[])
|
||||
{
|
||||
return (FindStringInArray(array, item) != -1);
|
||||
}
|
||||
native FindValueInArray(Handle:array, any:item);
|
||||
|
@ -322,15 +322,3 @@ stock GetClientButtons(client)
|
||||
{
|
||||
return GetEntProp(client, Prop_Data, "m_nButtons");
|
||||
}
|
||||
|
||||
#pragma deprecated Case change, use MoveType version
|
||||
stock SetEntityMovetype(entity, any:mt)
|
||||
{
|
||||
SetEntityMoveType(entity, MoveType:mt);
|
||||
}
|
||||
|
||||
#pragma deprecated Case change, use MoveType version
|
||||
stock GetEntityMovetype(entity)
|
||||
{
|
||||
return _:GetEntityMoveType(entity);
|
||||
}
|
||||
|
@ -487,35 +487,3 @@ native FormatNativeString(out_param,
|
||||
&written=0,
|
||||
String:out_string[]="",
|
||||
const String:fmt_string[]="");
|
||||
|
||||
/**
|
||||
* Backwards compatibility stock - use GetNativeCell or GetNativeCellRef
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
#pragma deprecated Use GetNativeCell() or GetNativeCellRef() instead
|
||||
stock Float:GetNativeFloat(param, bool:byref)
|
||||
{
|
||||
if (!byref)
|
||||
{
|
||||
return Float:GetNativeCell(param);
|
||||
} else {
|
||||
return Float:GetNativeCellRef(param);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Backwards compatibility stock - use GetNativeCell or GetNativeCellRef
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
#pragma deprecated Use GetNativeCell() or GetNativeCellRef() instead
|
||||
stock Handle:GetNativeHandle(param, bool:byref)
|
||||
{
|
||||
if (!byref)
|
||||
{
|
||||
return Handle:GetNativeCell(param);
|
||||
} else {
|
||||
return Handle:GetNativeCellRef(param);
|
||||
}
|
||||
}
|
||||
|
@ -50,17 +50,6 @@ enum UserMsg
|
||||
#define USERMSG_INITMSG (1<<3) /**< Message will be considered to be an initmsg */
|
||||
#define USERMSG_BLOCKHOOKS (1<<7) /**< Prevents the message from triggering SourceMod and Metamod hooks */
|
||||
|
||||
#pragma deprecated Constant has no effect
|
||||
#define USERMSG_PASSTHRU (1<<0) /**< (DEPRECATED, NO EFFECT) */
|
||||
#pragma deprecated Constant has no effect
|
||||
#define USERMSG_PASSTHRU_ALL (1<<1) /**< (DEPRECATED, NO EFFECT) */
|
||||
#pragma deprecated Constant has no effect
|
||||
#define USERMSG_BLOCK_MM (1<<4) /**< (DEPRECATED, NO EFFECT) */
|
||||
#pragma deprecated Constant has no effect
|
||||
#define USERMSG_BLOCK_SM (1<<5) /**< (DEPRECATED, NO EFFECT) */
|
||||
#pragma deprecated Constant has no effect
|
||||
#define USERMSG_BLOCK_ALL (1<<6) /**< (DEPRECATED, NO EFFECT) */
|
||||
|
||||
/**
|
||||
* @endsection
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user