]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix some cases of "nex"
authorMario <zacjardine@y7mail.com>
Thu, 27 Nov 2014 05:13:44 +0000 (16:13 +1100)
committerMario <zacjardine@y7mail.com>
Thu, 27 Nov 2014 05:13:44 +0000 (16:13 +1100)
crosshairs.cfg
qcsrc/client/scoreboard.qc
qcsrc/common/csqcmodel_settings.qh
qcsrc/server/cl_client.qc
qcsrc/server/mutators/mutator_nix.qc

index 6a9d8822c38f43546c04b7c10cb51b2ad4c098ad..c94d3a5fb7a1962300d656540cd5420d140fd910 100644 (file)
@@ -49,7 +49,7 @@ seta crosshair_per_weapon 1   "when 1, each gun will display a different crosshair
 //  Crosshair ring settings
 // =========================
 
-// ring around crosshair, used for various purposes (such as indicating bullets left in clip, nex charge)
+// ring around crosshair, used for various purposes (such as indicating bullets left in clip, vortex charge)
 seta crosshair_ring 1 "main cvar to enable or disable normal crosshair rings"
 seta crosshair_ring_inner 0 "allow inner rings to be drawn too"
 seta crosshair_ring_size 2     "ring size"
index a39544b8c382487f8929f9ab6f70009f695a6de9..98b0bab46548b574c71ece01a580366620fd2938 100644 (file)
@@ -955,7 +955,7 @@ float average_accuracy;
 vector HUD_DrawScoreboardAccuracyStats(vector pos, vector rgb, vector bg_size)
 {
        float i;
-       float weapon_cnt = WEP_COUNT - 3; // either vaporizer/nex are hidden, no port-o-launch, no tuba
+       float weapon_cnt = WEP_COUNT - 3; // either vaporizer/vortex are hidden, no port-o-launch, no tuba
        float rows;
        if(autocvar_scoreboard_accuracy_doublerows)
                rows = 2;
index cfe012275cdeb6105f4009c6e76d79baf46beae4..f521d7de9da2b9635d7b13495a94711b1e612f47 100644 (file)
@@ -50,7 +50,7 @@
        CSQCMODEL_ENDIF \
        CSQCMODEL_PROPERTY(1024, float, ReadAngle, WriteAngle, v_angle_x) \
        CSQCMODEL_PROPERTY_SCALED(4096, float, ReadByte, WriteByte, scale, 16, 0, 255)
-// TODO get rid of colormod/glowmod here, find good solution for nex charge glowmod hack; also get rid of some useless properties on non-players that only exist for CopyBody
+// TODO get rid of colormod/glowmod here, find good solution for vortex charge glowmod hack; also get rid of some useless properties on non-players that only exist for CopyBody
 
 // add hook function calls here
 #define CSQCMODEL_HOOK_PREUPDATE \
index de9d3d5b94fd4065edfbfe26989225b460199595..161e7c230a0c62d2b736d7c8c2afcf7a3cf8b7b1 100644 (file)
@@ -2440,7 +2440,7 @@ void PlayerPreThink (void)
                player_regen();
 
                // WEAPONTODO: Add a weapon request for this 
-               // rot nex charge to the charge limit
+               // rot vortex charge to the charge limit
                if(WEP_CVAR(vortex, charge_rot_rate) && self.vortex_charge > WEP_CVAR(vortex, charge_limit) && self.vortex_charge_rottime < time)
                        self.vortex_charge = bound(WEP_CVAR(vortex, charge_limit), self.vortex_charge - WEP_CVAR(vortex, charge_rot_rate) * frametime / W_TICSPERFRAME, 1);
 
index 5ea5f1ad6200a6fbd47274acdaad525693bb2d4e..26209daa11820df61c918b7f41a059725bf2b143 100644 (file)
@@ -103,7 +103,7 @@ void NIX_GiveCurrentWeapon()
                if(e.spawnflags & WEP_FLAG_RELOADABLE) // prevent accessing undefined cvars
                        self.(weapon_load[nix_weapon]) = e.reloading_ammo;
 
-               // nex too
+               // vortex too
                if(WEP_CVAR(vortex, charge))
                {
                        if(WEP_CVAR_SEC(vortex, chargepool))