From d0dc81614abba9b3d483e7a71f87e1187c7df91c Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 9 Aug 2020 22:50:26 +1000 Subject: [PATCH] Update whitespace of waypoint icons to match that of other registry items --- qcsrc/common/items/item/armor.qh | 12 ++++++------ qcsrc/common/items/item/health.qh | 12 ++++++------ qcsrc/common/items/item/powerup.qh | 8 ++++---- qcsrc/common/mutators/mutator/instagib/items.qh | 12 ++++++------ qcsrc/common/weapons/weapon.qh | 4 ++-- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/qcsrc/common/items/item/armor.qh b/qcsrc/common/items/item/armor.qh index b5a784986..76ad9b60f 100644 --- a/qcsrc/common/items/item/armor.qh +++ b/qcsrc/common/items/item/armor.qh @@ -41,7 +41,7 @@ REGISTER_ITEM(ArmorSmall, Armor) { this.netname = "armor_small"; this.m_name = _("Small armor"); this.m_icon = "armor"; - this.m_waypoint_icon = "waypoint_armor"; + this.m_waypoint_icon = "waypoint_armor"; #ifdef SVQC this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_short); @@ -80,7 +80,7 @@ REGISTER_ITEM(ArmorMedium, Armor) { this.netname = "armor_medium"; this.m_name = _("Medium armor"); this.m_icon = "armor"; - this.m_waypoint_icon = "waypoint_armor"; + this.m_waypoint_icon = "waypoint_armor"; #ifdef SVQC this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_medium); @@ -120,8 +120,8 @@ REGISTER_ITEM(ArmorBig, Armor) { this.m_name = _("Big armor"); this.m_icon = "armor"; this.m_color = '0 1 0'; - this.m_waypoint_text = _("Big armor"); - this.m_waypoint_icon = "waypoint_armor"; + this.m_waypoint_text = _("Big armor"); + this.m_waypoint_icon = "waypoint_armor"; #ifdef SVQC this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_long); @@ -161,8 +161,8 @@ REGISTER_ITEM(ArmorMega, Armor) { this.m_name = _("Mega armor"); this.m_icon = "item_large_armor"; this.m_color = '0 1 0'; - this.m_waypoint_text = _("Mega armor"); - this.m_waypoint_icon = "waypoint_armor_mega"; + this.m_waypoint_text = _("Mega armor"); + this.m_waypoint_icon = "waypoint_armor_mega"; this.m_waypointblink = 2; #ifdef SVQC this.m_maxs = '16 16 70'; diff --git a/qcsrc/common/items/item/health.qh b/qcsrc/common/items/item/health.qh index bc87eb7c4..ed3be4c1f 100644 --- a/qcsrc/common/items/item/health.qh +++ b/qcsrc/common/items/item/health.qh @@ -41,7 +41,7 @@ REGISTER_ITEM(HealthSmall, Health) { this.netname = "health_small"; this.m_name = _("Small health"); this.m_icon = "health"; - this.m_waypoint_icon = "waypoint_health"; + this.m_waypoint_icon = "waypoint_health"; #ifdef SVQC this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_short); @@ -80,7 +80,7 @@ REGISTER_ITEM(HealthMedium, Health) { this.netname = "health_medium"; this.m_name = _("Medium health"); this.m_icon = "health"; - this.m_waypoint_icon = "waypoint_health"; + this.m_waypoint_icon = "waypoint_health"; #ifdef SVQC this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_short); @@ -120,8 +120,8 @@ REGISTER_ITEM(HealthBig, Health) { this.m_name = _("Big health"); this.m_icon = "health"; this.m_color = '1 0 0'; - this.m_waypoint_text = _("Big health"); - this.m_waypoint_icon = "waypoint_health"; + this.m_waypoint_text = _("Big health"); + this.m_waypoint_icon = "waypoint_health"; #ifdef SVQC this.m_itemid = IT_RESOURCE; this.m_respawntime = GET(g_pickup_respawntime_medium); @@ -161,8 +161,8 @@ REGISTER_ITEM(HealthMega, Health) { this.m_name = _("Mega health"); this.m_icon = "item_mega_health"; this.m_color = '1 0 0'; - this.m_waypoint_text = _("Mega health"); - this.m_waypoint_icon = "waypoint_health_mega"; + this.m_waypoint_text = _("Mega health"); + this.m_waypoint_icon = "waypoint_health_mega"; this.m_waypointblink = 2; #ifdef SVQC this.m_maxs = '16 16 70'; diff --git a/qcsrc/common/items/item/powerup.qh b/qcsrc/common/items/item/powerup.qh index b698ea414..f3f25978d 100644 --- a/qcsrc/common/items/item/powerup.qh +++ b/qcsrc/common/items/item/powerup.qh @@ -43,8 +43,8 @@ REGISTER_ITEM(Strength, Powerup) { this.m_name = _("Strength"); this.m_icon = "strength"; this.m_color = '0 0 1'; - this.m_waypoint_text = _("Strength"); - this.m_waypoint_icon = "waypoint_strength"; + this.m_waypoint_text = _("Strength"); + this.m_waypoint_icon = "waypoint_strength"; this.m_waypointblink = 2; #ifdef GAMEQC this.m_itemid = IT_STRENGTH; @@ -82,8 +82,8 @@ REGISTER_ITEM(Shield, Powerup) { this.m_name = _("Shield"); this.m_icon = "shield"; this.m_color = '1 0 1'; - this.m_waypoint_text = _("Shield"); - this.m_waypoint_icon = "waypoint_shield"; + this.m_waypoint_text = _("Shield"); + this.m_waypoint_icon = "waypoint_shield"; this.m_waypointblink = 2; #ifdef GAMEQC this.m_itemid = IT_INVINCIBLE; diff --git a/qcsrc/common/mutators/mutator/instagib/items.qh b/qcsrc/common/mutators/mutator/instagib/items.qh index 6adda9e19..f88cfd776 100644 --- a/qcsrc/common/mutators/mutator/instagib/items.qh +++ b/qcsrc/common/mutators/mutator/instagib/items.qh @@ -59,8 +59,8 @@ REGISTER_ITEM(ExtraLife, Powerup) { this.m_name = _("Extra life"); this.m_icon = "item_mega_health"; this.m_color = '1 0 0'; - this.m_waypoint_text = _("Extra life"); - this.m_waypoint_icon = "waypoint_health_mega"; + this.m_waypoint_text = _("Extra life"); + this.m_waypoint_icon = "waypoint_health_mega"; this.m_waypointblink = 2; #ifdef SVQC this.m_itemid = IT_RESOURCE; @@ -94,8 +94,8 @@ REGISTER_ITEM(Invisibility, Powerup) { this.m_name = _("Invisibility"); this.m_icon = "strength"; this.m_color = '0 0 1'; - this.m_waypoint_text = _("Invisibility"); - this.m_waypoint_icon = "waypoint_invisibility"; + this.m_waypoint_text = _("Invisibility"); + this.m_waypoint_icon = "waypoint_invisibility"; this.m_waypointblink = 2; #ifdef GAMEQC this.m_itemid = IT_STRENGTH; @@ -132,8 +132,8 @@ REGISTER_ITEM(Speed, Powerup) { this.m_name = _("Speed"); this.m_icon = "shield"; this.m_color = '1 0 1'; - this.m_waypoint_text = _("Speed"); - this.m_waypoint_icon = "waypoint_speed"; + this.m_waypoint_text = _("Speed"); + this.m_waypoint_icon = "waypoint_speed"; this.m_waypointblink = 2; #ifdef GAMEQC this.m_itemid = IT_INVINCIBLE; diff --git a/qcsrc/common/weapons/weapon.qh b/qcsrc/common/weapons/weapon.qh index 4ea816635..812e5e2b7 100644 --- a/qcsrc/common/weapons/weapon.qh +++ b/qcsrc/common/weapons/weapon.qh @@ -72,8 +72,8 @@ CLASS(Weapon, Object) ATTRIB(Weapon, w_reticle, string, string_null); /** M: wepimg : "weaponfoobar" side view image file of weapon. WEAPONTODO: Move out of skin files, move to common files */ ATTRIB(Weapon, model2, string, ""); - /** M: waypoint icon name : "waypoint_weapon_foobar" Name of the weapon waypoint icon */ - ATTRIB(Weapon, m_waypoint_icon, string, ""); + /** M: waypoint icon name : "waypoint_weapon_foobar" Name of the weapon waypoint icon */ + ATTRIB(Weapon, m_waypoint_icon, string, ""); /** M: refname : reference name name */ ATTRIB(Weapon, netname, string, ""); /** M: wepname : human readable name */ -- 2.39.2