From 8671c25b2e27df1224abfb5b63a340c142418592 Mon Sep 17 00:00:00 2001 From: Lukasz Wlasinksi Date: Mon, 28 Jun 2004 22:41:24 +0000 Subject: [PATCH] all lower case natives now --- dlls/tfc/tfcx/NBase.cpp | 22 +++++++++++----------- dlls/ts/tsx/NBase.cpp | 32 ++++++++++++++++---------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/dlls/tfc/tfcx/NBase.cpp b/dlls/tfc/tfcx/NBase.cpp index 27641770..decd2fc1 100755 --- a/dlls/tfc/tfcx/NBase.cpp +++ b/dlls/tfc/tfcx/NBase.cpp @@ -393,19 +393,19 @@ static cell AMX_NATIVE_CALL TFC_UserKill(AMX *amx, cell *params){ // player,wid // Native list. AMX_NATIVE_INFO base_Natives[] = { - {"TFC_SetModel", TFC_SetModel}, - {"TFC_ClearModel", TFC_ClearModel}, - {"TFC_SetBAmmo", TFC_SetBAmmo}, - {"TFC_GetBAmmo", TFC_GetBAmmo}, - {"TFC_GetWeaponBAmmo", TFC_GetWeaponBAmmo}, - {"TFC_SetWeaponBAmmo", TFC_SetWeaponBAmmo}, - {"TFC_GetWpnName", TFC_GetWpnName}, - {"TFC_GetWpnLogName", TFC_GetWpnLogName}, + {"tfc_setmodel", TFC_SetModel}, + {"tfc_clearmodel", TFC_ClearModel}, + {"tfc_setbammo", TFC_SetBAmmo}, + {"tfc_getbammo", TFC_GetBAmmo}, + {"tfc_getweaponbammo", TFC_GetWeaponBAmmo}, + {"tfc_setweaponbammo", TFC_SetWeaponBAmmo}, + {"tfc_getwpnname", TFC_GetWpnName}, + {"tfc_getwpnlogname", TFC_GetWpnLogName}, - {"TFC_IsMelee", TFC_IsMelee}, - {"TFC_UserKill" , TFC_UserKill}, + {"tfc_ismelee", TFC_IsMelee}, + {"tfc_userkill" , TFC_UserKill}, - {"TFC_SetPDdata", TFC_SetPDdata }, + {"tfc_setpddata", TFC_SetPDdata }, //******************* 19 :) {NULL, NULL} }; diff --git a/dlls/ts/tsx/NBase.cpp b/dlls/ts/tsx/NBase.cpp index 0178741e..b79a21a0 100755 --- a/dlls/ts/tsx/NBase.cpp +++ b/dlls/ts/tsx/NBase.cpp @@ -338,24 +338,24 @@ static cell AMX_NATIVE_CALL ts_setup(AMX *amx, cell *params){ // index,pwupentin } AMX_NATIVE_INFO base_Natives[] = { - { "TS_GetWpnName", get_weapon_name }, - { "TS_GetWpnLogName", get_weapon_logname }, - { "TS_WpnLogToName", wpnlog_to_name }, - { "TS_WpnLogToId", wpnlog_to_id }, - { "TS_IsMelee", is_melee }, - { "TS_GetUserWpn", get_user_weapon }, - { "TS_GetUserCash", get_user_cash }, - { "TS_GetUserSpace", get_user_space }, - { "TS_GetUserPwUp",get_user_pwup }, - { "TS_GetUserItems",get_user_items }, - { "TS_GetKillingStreak",get_killingStreak }, - { "TS_GetUserLastFrag",get_lastFrag }, + { "ts_getwpnname", get_weapon_name }, + { "ts_getwpnlogname", get_weapon_logname }, + { "ts_wpnlogtoname", wpnlog_to_name }, + { "ts_wpnlogtoid", wpnlog_to_id }, + { "ts_ismelee", is_melee }, + { "ts_getuserwpn", get_user_weapon }, + { "ts_getusercash", get_user_cash }, + { "ts_getuserspace", get_user_space }, + { "ts_getuserpwup",get_user_pwup }, + { "ts_getuseritems",get_user_items }, + { "ts_getkillingstreak",get_killingStreak }, + { "ts_getuserlastfrag",get_lastFrag }, - { "TS_GiveWeapon",give_weapon }, - { "TS_CreatePwUp",create_pwup }, - { "TS_GivePwUp",give_pwup }, + { "ts_giveweapon",give_weapon }, + { "ts_createpwup",create_pwup }, + { "ts_givepwup",give_pwup }, - { "TS_SetPDdata",ts_setup }, + { "ts_setpddata",ts_setup }, //"*******************" { NULL, NULL }