From 3eb95a9dc9b10b42d6f8081d5e5e4f1dfc6fbd75 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sun, 30 Jun 2013 01:40:50 -0400 Subject: [PATCH] Rename "shortname" to "netname", the field is called netname anyway --- qcsrc/common/weapons/w_arc.qc | 18 +++++++++--------- qcsrc/common/weapons/w_blaster.qc | 18 +++++++++--------- qcsrc/common/weapons/w_crylink.qc | 18 +++++++++--------- qcsrc/common/weapons/w_electro.qc | 18 +++++++++--------- qcsrc/common/weapons/w_fireball.qc | 18 +++++++++--------- qcsrc/common/weapons/w_hagar.qc | 18 +++++++++--------- qcsrc/common/weapons/w_hlac.qc | 18 +++++++++--------- qcsrc/common/weapons/w_hook.qc | 18 +++++++++--------- qcsrc/common/weapons/w_machinegun.qc | 18 +++++++++--------- qcsrc/common/weapons/w_minelayer.qc | 18 +++++++++--------- qcsrc/common/weapons/w_minstanex.qc | 18 +++++++++--------- qcsrc/common/weapons/w_mortar.qc | 18 +++++++++--------- qcsrc/common/weapons/w_nex.qc | 18 +++++++++--------- qcsrc/common/weapons/w_porto.qc | 18 +++++++++--------- qcsrc/common/weapons/w_rifle.qc | 18 +++++++++--------- qcsrc/common/weapons/w_seeker.qc | 18 +++++++++--------- qcsrc/common/weapons/w_shockwave.qc | 18 +++++++++--------- qcsrc/common/weapons/w_tuba.qc | 18 +++++++++--------- 18 files changed, 162 insertions(+), 162 deletions(-) diff --git a/qcsrc/common/weapons/w_arc.qc b/qcsrc/common/weapons/w_arc.qc index c8b05fb02..10c7c262e 100644 --- a/qcsrc/common/weapons/w_arc.qc +++ b/qcsrc/common/weapons/w_arc.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ ARC, -/* function */ w_arc, -/* ammotype */ IT_CELLS, -/* impulse */ 5, -/* flags */ WEP_FLAG_NORMAL, -/* rating */ BOT_PICKUP_RATING_HIGH, -/* model */ "arc", -/* shortname */ "arc", -/* fullname */ _("Arc") +/* WEP_##id */ ARC, +/* function */ w_arc, +/* ammotype */ IT_CELLS, +/* impulse */ 5, +/* flags */ WEP_FLAG_NORMAL, +/* rating */ BOT_PICKUP_RATING_HIGH, +/* model */ "arc", +/* netname */ "arc", +/* fullname */ _("Arc") ); #define ARC_SETTINGS(weapon) \ diff --git a/qcsrc/common/weapons/w_blaster.qc b/qcsrc/common/weapons/w_blaster.qc index 1f2a49c26..b755b762b 100644 --- a/qcsrc/common/weapons/w_blaster.qc +++ b/qcsrc/common/weapons/w_blaster.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ LASER, -/* function */ W_Laser, -/* ammotype */ 0, -/* impulse */ 1, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, -/* rating */ 0, -/* model */ "laser", -/* shortname */ "laser", -/* fullname */ _("Blaster") +/* WEP_##id */ LASER, +/* function */ W_Laser, +/* ammotype */ 0, +/* impulse */ 1, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, +/* rating */ 0, +/* model */ "laser", +/* netname */ "laser", +/* fullname */ _("Blaster") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_crylink.qc b/qcsrc/common/weapons/w_crylink.qc index a8579c520..443362cb8 100644 --- a/qcsrc/common/weapons/w_crylink.qc +++ b/qcsrc/common/weapons/w_crylink.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ CRYLINK, -/* function */ w_crylink, -/* ammotype */ IT_CELLS, -/* impulse */ 6, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "crylink", -/* shortname */ "crylink", -/* fullname */ _("Crylink") +/* WEP_##id */ CRYLINK, +/* function */ w_crylink, +/* ammotype */ IT_CELLS, +/* impulse */ 6, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "crylink", +/* netname */ "crylink", +/* fullname */ _("Crylink") ); #define CRYLINK_SETTINGS(weapon) \ diff --git a/qcsrc/common/weapons/w_electro.qc b/qcsrc/common/weapons/w_electro.qc index 0830d2d92..1df1d13e4 100644 --- a/qcsrc/common/weapons/w_electro.qc +++ b/qcsrc/common/weapons/w_electro.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ ELECTRO, -/* function */ w_electro, -/* ammotype */ IT_CELLS, -/* impulse */ 5, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "electro", -/* shortname */ "electro", -/* fullname */ _("Electro") +/* WEP_##id */ ELECTRO, +/* function */ w_electro, +/* ammotype */ IT_CELLS, +/* impulse */ 5, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "electro", +/* netname */ "electro", +/* fullname */ _("Electro") ); #ifdef SVQC diff --git a/qcsrc/common/weapons/w_fireball.qc b/qcsrc/common/weapons/w_fireball.qc index 0c698f3c9..225464812 100644 --- a/qcsrc/common/weapons/w_fireball.qc +++ b/qcsrc/common/weapons/w_fireball.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ FIREBALL, -/* function */ w_fireball, -/* ammotype */ 0, -/* impulse */ 9, -/* flags */ WEP_FLAG_SUPERWEAPON | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "fireball", -/* shortname */ "fireball", -/* fullname */ _("Fireball") +/* WEP_##id */ FIREBALL, +/* function */ w_fireball, +/* ammotype */ 0, +/* impulse */ 9, +/* flags */ WEP_FLAG_SUPERWEAPON | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "fireball", +/* netname */ "fireball", +/* fullname */ _("Fireball") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_hagar.qc b/qcsrc/common/weapons/w_hagar.qc index 01eb8d4b9..a28daff80 100644 --- a/qcsrc/common/weapons/w_hagar.qc +++ b/qcsrc/common/weapons/w_hagar.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ HAGAR, -/* function */ w_hagar, -/* ammotype */ IT_ROCKETS, -/* impulse */ 8, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "hagar", -/* shortname */ "hagar", -/* fullname */ _("Hagar") +/* WEP_##id */ HAGAR, +/* function */ w_hagar, +/* ammotype */ IT_ROCKETS, +/* impulse */ 8, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "hagar", +/* netname */ "hagar", +/* fullname */ _("Hagar") ); #define HAGAR_SETTINGS(weapon) \ diff --git a/qcsrc/common/weapons/w_hlac.qc b/qcsrc/common/weapons/w_hlac.qc index 4979ebc76..9079edd73 100644 --- a/qcsrc/common/weapons/w_hlac.qc +++ b/qcsrc/common/weapons/w_hlac.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ HLAC, -/* function */ w_hlac, -/* ammotype */ IT_CELLS, -/* impulse */ 6, -/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "hlac", -/* shortname */ "hlac", -/* fullname */ _("Heavy Laser Assault Cannon") +/* WEP_##id */ HLAC, +/* function */ w_hlac, +/* ammotype */ IT_CELLS, +/* impulse */ 6, +/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "hlac", +/* netname */ "hlac", +/* fullname */ _("Heavy Laser Assault Cannon") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_hook.qc b/qcsrc/common/weapons/w_hook.qc index 7abf7bc8b..d7a8113c4 100644 --- a/qcsrc/common/weapons/w_hook.qc +++ b/qcsrc/common/weapons/w_hook.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ HOOK, -/* function */ w_hook, -/* ammotype */ IT_CELLS|IT_FUEL, -/* impulse */ 0, -/* flags */ WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, -/* rating */ 0, -/* model */ "hookgun", -/* shortname */ "hook", -/* fullname */ _("Grappling Hook") +/* WEP_##id */ HOOK, +/* function */ w_hook, +/* ammotype */ IT_CELLS|IT_FUEL, +/* impulse */ 0, +/* flags */ WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, +/* rating */ 0, +/* model */ "hookgun", +/* netname */ "hook", +/* fullname */ _("Grappling Hook") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_machinegun.qc b/qcsrc/common/weapons/w_machinegun.qc index c3bade075..93eee7df1 100644 --- a/qcsrc/common/weapons/w_machinegun.qc +++ b/qcsrc/common/weapons/w_machinegun.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ UZI, -/* function */ w_uzi, -/* ammotype */ IT_NAILS, -/* impulse */ 3, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "uzi", -/* shortname */ "uzi", -/* fullname */ _("Machine Gun") +/* WEP_##id */ UZI, +/* function */ w_uzi, +/* ammotype */ IT_NAILS, +/* impulse */ 3, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "uzi", +/* netname */ "uzi", +/* fullname */ _("Machine Gun") ); #define UZI_SETTINGS(weapon) \ diff --git a/qcsrc/common/weapons/w_minelayer.qc b/qcsrc/common/weapons/w_minelayer.qc index f1af7885c..60cbf674b 100644 --- a/qcsrc/common/weapons/w_minelayer.qc +++ b/qcsrc/common/weapons/w_minelayer.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ MINE_LAYER, -/* function */ w_minelayer, -/* ammotype */ IT_ROCKETS, -/* impulse */ 4, -/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_HIGH, -/* model */ "minelayer", -/* shortname */ "minelayer", -/* fullname */ _("Mine Layer") +/* WEP_##id */ MINE_LAYER, +/* function */ w_minelayer, +/* ammotype */ IT_ROCKETS, +/* impulse */ 4, +/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_HIGH, +/* model */ "minelayer", +/* netname */ "minelayer", +/* fullname */ _("Mine Layer") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_minstanex.qc b/qcsrc/common/weapons/w_minstanex.qc index 7ea60dab3..fd83f4bb9 100644 --- a/qcsrc/common/weapons/w_minstanex.qc +++ b/qcsrc/common/weapons/w_minstanex.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ MINSTANEX, -/* function */ w_minstanex, -/* ammotype */ IT_CELLS, -/* impulse */ 7, -/* flags */ WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_FLAG_SUPERWEAPON | WEP_TYPE_HITSCAN, -/* rating */ BOT_PICKUP_RATING_HIGH, -/* model */ "minstanex", -/* shortname */ "minstanex", -/* fullname */ _("MinstaNex") +/* WEP_##id */ MINSTANEX, +/* function */ w_minstanex, +/* ammotype */ IT_CELLS, +/* impulse */ 7, +/* flags */ WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_FLAG_SUPERWEAPON | WEP_TYPE_HITSCAN, +/* rating */ BOT_PICKUP_RATING_HIGH, +/* model */ "minstanex", +/* netname */ "minstanex", +/* fullname */ _("MinstaNex") ); #ifdef SVQC diff --git a/qcsrc/common/weapons/w_mortar.qc b/qcsrc/common/weapons/w_mortar.qc index d3eda2d94..9fcefa174 100644 --- a/qcsrc/common/weapons/w_mortar.qc +++ b/qcsrc/common/weapons/w_mortar.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ GRENADE_LAUNCHER, -/* function */ w_glauncher, -/* ammotype */ IT_ROCKETS, -/* impulse */ 4, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "gl", -/* shortname */ "grenadelauncher", -/* fullname */ _("Mortar") +/* WEP_##id */ GRENADE_LAUNCHER, +/* function */ w_glauncher, +/* ammotype */ IT_ROCKETS, +/* impulse */ 4, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_FLAG_CANCLIMB | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "gl", +/* netname */ "grenadelauncher", +/* fullname */ _("Mortar") ); #define MORTAR_SETTINGS(weapon) \ diff --git a/qcsrc/common/weapons/w_nex.qc b/qcsrc/common/weapons/w_nex.qc index 3cc9abc11..2ab08e53a 100644 --- a/qcsrc/common/weapons/w_nex.qc +++ b/qcsrc/common/weapons/w_nex.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ NEX, -/* function */ w_nex, -/* ammotype */ IT_CELLS, -/* impulse */ 7, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, -/* rating */ BOT_PICKUP_RATING_HIGH, -/* model */ "nex", -/* shortname */ "nex", -/* fullname */ _("Nex") +/* WEP_##id */ NEX, +/* function */ w_nex, +/* ammotype */ IT_CELLS, +/* impulse */ 7, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, +/* rating */ BOT_PICKUP_RATING_HIGH, +/* model */ "nex", +/* netname */ "nex", +/* fullname */ _("Nex") ); #define NEX_SETTINGS(weapon) \ diff --git a/qcsrc/common/weapons/w_porto.qc b/qcsrc/common/weapons/w_porto.qc index 0c4c71cce..dabaaa735 100644 --- a/qcsrc/common/weapons/w_porto.qc +++ b/qcsrc/common/weapons/w_porto.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ PORTO, -/* function */ w_porto, -/* ammotype */ 0, -/* impulse */ 0, -/* flags */ WEP_TYPE_OTHER | WEP_FLAG_SUPERWEAPON, -/* rating */ 0, -/* model */ "porto" , -/* shortname */ "porto", -/* fullname */ _("Port-O-Launch") +/* WEP_##id */ PORTO, +/* function */ w_porto, +/* ammotype */ 0, +/* impulse */ 0, +/* flags */ WEP_TYPE_OTHER | WEP_FLAG_SUPERWEAPON, +/* rating */ 0, +/* model */ "porto" , +/* netname */ "porto", +/* fullname */ _("Port-O-Launch") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_rifle.qc b/qcsrc/common/weapons/w_rifle.qc index 065301469..9fa8f85ea 100644 --- a/qcsrc/common/weapons/w_rifle.qc +++ b/qcsrc/common/weapons/w_rifle.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ RIFLE, -/* function */ w_rifle, -/* ammotype */ IT_NAILS, -/* impulse */ 7, -/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "campingrifle", -/* shortname */ "rifle", -/* fullname */ _("Rifle") +/* WEP_##id */ RIFLE, +/* function */ w_rifle, +/* ammotype */ IT_NAILS, +/* impulse */ 7, +/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "campingrifle", +/* netname */ "rifle", +/* fullname */ _("Rifle") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_seeker.qc b/qcsrc/common/weapons/w_seeker.qc index 2118b6ebd..1f992c924 100644 --- a/qcsrc/common/weapons/w_seeker.qc +++ b/qcsrc/common/weapons/w_seeker.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ SEEKER, -/* function */ w_seeker, -/* ammotype */ IT_ROCKETS, -/* impulse */ 8, -/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "seeker", -/* shortname */ "seeker", -/* fullname */ _("T.A.G. Seeker") +/* WEP_##id */ SEEKER, +/* function */ w_seeker, +/* ammotype */ IT_ROCKETS, +/* impulse */ 8, +/* flags */ WEP_FLAG_MUTATORBLOCKED | WEP_FLAG_RELOADABLE | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "seeker", +/* netname */ "seeker", +/* fullname */ _("T.A.G. Seeker") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_shockwave.qc b/qcsrc/common/weapons/w_shockwave.qc index 745721362..af30b4ccd 100644 --- a/qcsrc/common/weapons/w_shockwave.qc +++ b/qcsrc/common/weapons/w_shockwave.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ SHOTGUN, -/* function */ w_shotgun, -/* ammotype */ IT_SHELLS, -/* impulse */ 2, -/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, -/* rating */ BOT_PICKUP_RATING_LOW, -/* model */ "shotgun", -/* shortname */ "shotgun", -/* fullname */ _("Shotgun") +/* WEP_##id */ SHOTGUN, +/* function */ w_shotgun, +/* ammotype */ IT_SHELLS, +/* impulse */ 2, +/* flags */ WEP_FLAG_NORMAL | WEP_FLAG_RELOADABLE | WEP_TYPE_HITSCAN, +/* rating */ BOT_PICKUP_RATING_LOW, +/* model */ "shotgun", +/* netname */ "shotgun", +/* fullname */ _("Shotgun") ); #else #ifdef SVQC diff --git a/qcsrc/common/weapons/w_tuba.qc b/qcsrc/common/weapons/w_tuba.qc index e97eaef7f..51a6120fb 100644 --- a/qcsrc/common/weapons/w_tuba.qc +++ b/qcsrc/common/weapons/w_tuba.qc @@ -1,14 +1,14 @@ #ifdef REGISTER_WEAPON REGISTER_WEAPON( -/* WEP_##id */ TUBA, -/* function */ w_tuba, -/* ammotype */ 0, -/* impulse */ 1, -/* flags */ WEP_FLAG_HIDDEN | WEP_TYPE_SPLASH, -/* rating */ BOT_PICKUP_RATING_MID, -/* model */ "tuba", -/* shortname */ "tuba", -/* fullname */ _("@!#%'n Tuba") +/* WEP_##id */ TUBA, +/* function */ w_tuba, +/* ammotype */ 0, +/* impulse */ 1, +/* flags */ WEP_FLAG_HIDDEN | WEP_TYPE_SPLASH, +/* rating */ BOT_PICKUP_RATING_MID, +/* model */ "tuba", +/* netname */ "tuba", +/* fullname */ _("@!#%'n Tuba") ); #else #ifdef SVQC -- 2.39.2