removed core bcompat shims where possible

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401942
This commit is contained in:
David Anderson 2008-03-16 23:08:56 +00:00
parent 3788c61cb9
commit 074883512a
5 changed files with 0 additions and 18 deletions

View File

@ -308,6 +308,5 @@ REGISTER_NATIVES(floatnatives)
{"ArcCosine", sm_ArcCosine},
{"ArcSine", sm_ArcSine},
{"ArcTangent2", sm_ArcTangent2},
{"FloatRound", sm_FloatRound}, /* Backwards compat shim */
{NULL, NULL}
};

View File

@ -1123,9 +1123,7 @@ REGISTER_NATIVES(keyvaluenatives)
{"KvJumpToKey", smn_KvJumpToKey},
{"KvJumpToKeySymbol", smn_KvJumpToKeySymbol},
{"KvGotoNextKey", smn_KvGotoNextKey},
{"KvJumpFirstSubKey", smn_KvGotoFirstSubKey}, /* BACKWARDS COMPAT SHIM */
{"KvGotoFirstSubKey", smn_KvGotoFirstSubKey},
{"KvJumpNextSubKey", smn_KvJumpNextSubKey}, /* BACKWARDS COMPAT SHIM */
{"KvGoBack", smn_KvGoBack},
{"KvRewind", smn_KvRewind},
{"KvGetSectionName", smn_KvGetSectionName},

View File

@ -1347,7 +1347,6 @@ REGISTER_NATIVES(playernatives)
{"IsClientAuthorized", sm_IsClientAuthorized},
{"IsClientConnected", sm_IsClientConnected},
{"IsFakeClient", sm_IsClientFakeClient},
{"IsPlayerInGame", sm_IsClientInGame}, /* Backwards compat shim */
{"IsClientInGame", sm_IsClientInGame},
{"IsClientObserver", IsClientObserver},
{"RemoveUserFlags", RemoveUserFlags},

View File

@ -578,13 +578,10 @@ REGISTER_NATIVES(basicStrings)
{"ReplaceStringEx", ReplaceStringEx},
{"SplitString", SplitString},
{"strlen", sm_strlen},
{"StrBreak", BreakString}, /* Backwards compat shim */
{"StrContains", sm_contain},
{"strcmp", sm_strcmp},
{"StrCompare", sm_strcmp}, /* Backwards compat shim */
{"strncmp", sm_strncmp},
{"strcopy", sm_strcopy},
{"StrCopy", sm_strcopy}, /* Backwards compat shim */
{"StringToInt", sm_strconvint},
{"StringToIntEx", StringToIntEx},
{"StringToFloat", sm_strtofloat},

View File

@ -240,17 +240,6 @@ stock RoundFloat(Float:value)
return RoundToNearest(value);
}
/**
* Backwards compatibility stock. Do not use.
*
* @deprecated
*/
#pragma deprecated Use RoundToNearest() or RoundFloat() instead
stock FloatRound(Float:value)
{
return RoundToNearest(value);
}
/**
* User defined operators.
*