]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove a few old TODOs that now have issues
authorMario <mario@smbclan.net>
Sat, 5 Mar 2016 15:40:42 +0000 (01:40 +1000)
committerMario <mario@smbclan.net>
Sat, 5 Mar 2016 15:40:42 +0000 (01:40 +1000)
qcsrc/client/main.qc
qcsrc/common/effects/qc/globalsound.qh
qcsrc/common/mutators/mutator/instagib/instagib.qc
qcsrc/common/mutators/mutator/waypoints/all.qh
qcsrc/common/t_items.qc
qcsrc/common/t_items.qh
qcsrc/server/autocvars.qh
qcsrc/server/cl_player.qc

index 5984aba93348f88c0423cff796d4bc0dd5b7f0ef..d787dc0f5472800b387ad9e42a048ed25887cffe 100644 (file)
@@ -940,7 +940,6 @@ bool CSQC_Parse_TempEntity()
        return false;
 }
 
-/** TODO somehow thwart prvm_globalset client ... */
 string forcefog;
 void Fog_Force()
 {
index 22e04e94a7f6d77a0b5324968cd027de24fe1909..7cb8fdb3e7484fd59f9a02c18738d0f001dd3e12 100644 (file)
@@ -23,8 +23,6 @@ STATIC_INIT(PlayerSounds_renumber)
 }
 REGISTRY_CHECK(PlayerSounds)
 
-// TODO implement fall and falling
-
 REGISTER_PLAYERSOUND(death)
 REGISTER_PLAYERSOUND(drown)
 REGISTER_PLAYERSOUND(fall)
index 640e3d5b61cdd83ecc2505b9115cbc9773be3e80..85e97178cb0351955a2fa6b3248683769e59e05f 100644 (file)
@@ -293,7 +293,7 @@ MUTATOR_HOOKFUNCTION(mutator_instagib, PlayerDamage_Calculate)
                                frag_target.armorvalue -= 1;
                                frag_damage = 0;
                                frag_target.damage_dealt += 1;
-                               frag_attacker.damage_dealt += 1; // TODO: change this to a specific hitsound for armor hit
+                               frag_attacker.damage_dealt += 1;
                                Send_Notification(NOTIF_ONE, frag_target, MSG_CENTER, CENTER_INSTAGIB_LIVES_REMAINING, frag_target.armorvalue);
                        }
                }
index 17a103dd448dec20df1a0dafeef5daa2b3314604..2b28784b7cdb284e24ed71fa300f3ebf0b24c701 100644 (file)
@@ -42,7 +42,6 @@ REGISTER_RADARICON(NONE,            0);
 REGISTER_RADARICON(FLAG,            1);
 REGISTER_RADARICON(FLAGCARRIER,     1);
 
-// TODO make these 3 and 4, and make images for them
 REGISTER_RADARICON(HERE,            1);
 REGISTER_RADARICON(DANGER,          1);
 
index 9c8c42115d642789ae7e05d3a1c4748b466a352f..7da52d573f630e5c8572c96c34287e42d4308c7e 100644 (file)
@@ -902,7 +902,6 @@ void Item_FindTeam()
 }
 
 // Savage: used for item garbage-collection
-// TODO: perhaps nice special effect?
 void RemoveItem()
 {SELFPARAM();
        if(wasfreed(self) || !self) { return; }
index 86e5c7c8ea1084239c5080344d2370d6ceb9bb33..d6c97445f6be572cbe87f2ebcf7d2cfbbf6cb4f1 100644 (file)
@@ -94,7 +94,6 @@ void Item_Reset(entity this);
 
 void Item_FindTeam();
 // Savage: used for item garbage-collection
-// TODO: perhaps nice special effect?
 
 bool ItemSend(entity this, entity to, int sf);
 void ItemUpdate(entity this);
index 654bd2bc936efffaea6c0df1b8c0f1f6d72961ab..cd950738e9e6736cd8e2f80e9d78a709f2e22032 100644 (file)
@@ -72,7 +72,7 @@ float autocvar_g_antilag_nudge;
 float autocvar_g_balance_armor_blockpercent;
 int autocvar_g_balance_armor_limit;
 float autocvar_g_balance_armor_regen;
-float autocvar_g_balance_armor_regenlinear; // TODO: int/bool?
+float autocvar_g_balance_armor_regenlinear;
 int autocvar_g_balance_armor_regenstable;
 float autocvar_g_balance_armor_rot;
 float autocvar_g_balance_armor_rotlinear;
index fe0951e8713f18e7d3c17096fd45a8c310c0c678..69505bcddacbf48df0369a2d20f26b7de61e40c9 100644 (file)
@@ -435,7 +435,7 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage,
                                        {
                                                if(deathtype == DEATH_FALL.m_id)
                                                        PlayerSound(this, playersound_fall, CH_PAIN, VOICETYPE_PLAYERSOUND);
-                                               else if(this.health > 75) // TODO make a "gentle" version?
+                                               else if(this.health > 75)
                                                        PlayerSound(this, playersound_pain100, CH_PAIN, VOICETYPE_PLAYERSOUND);
                                                else if(this.health > 50)
                                                        PlayerSound(this, playersound_pain75, CH_PAIN, VOICETYPE_PLAYERSOUND);
@@ -514,7 +514,7 @@ void PlayerDamage(entity this, entity inflictor, entity attacker, float damage,
                if(valid_damage_for_weaponstats)
                        WeaponStats_LogKill(awep.m_id, abot, PS(this).m_weapon.m_id, vbot);
 
-               if(autocvar_sv_gentle < 1) // TODO make a "gentle" version?
+               if(autocvar_sv_gentle < 1)
                if(sound_allowed(MSG_BROADCAST, attacker))
                {
                        if(deathtype == DEATH_DROWN.m_id)