]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Yay more unref. be gone.
authorJakob MG <jakob_mg@hotmail.com>
Wed, 22 Feb 2012 08:54:37 +0000 (09:54 +0100)
committerJakob MG <jakob_mg@hotmail.com>
Wed, 22 Feb 2012 08:54:37 +0000 (09:54 +0100)
qcsrc/client/autocvars.qh
qcsrc/common/constants.qh
qcsrc/common/net_notice.qc
qcsrc/common/util.qh
qcsrc/menu/xonotic/dialog_multiplayer_playersetup.c
qcsrc/menu/xonotic/dialog_settings_misc.c
qcsrc/menu/xonotic/weaponslist.c

index 56963fcd17e3b90e2228cf260d904abb554525e5..480f7beff0a9004e13af030a369ee59b7f0d7d36 100644 (file)
@@ -153,8 +153,8 @@ float autocvar_g_waypointsprite_normdistance;
 float autocvar_g_waypointsprite_scale;
 float autocvar_g_waypointsprite_spam;
 float autocvar_g_waypointsprite_timealphaexponent;
-float autocvar_g_waypointsprites_turrets;
-float autocvar_g_waypointsprites_turrets_maxdist;
+//float autocvar_g_waypointsprites_turrets;
+//float autocvar_g_waypointsprites_turrets_maxdist;
 
 float autocvar_hud_colorflash_alpha;
 float autocvar_hud_configure_checkcollisions;
index c40e9fc49a5cfbfd6c62f8790e38dde33866eb44..e70a83c391d7b992ce0091e91efc89504fa31c4d 100644 (file)
@@ -556,12 +556,13 @@ string HUD_PANELNAME_CENTERPRINT  = "centerprint";
 #define SERVERFLAG_TEAMPLAY 2
 #define SERVERFLAG_PLAYERSTATS 4
 
-var vector autocvar_sv_player_maxs = '16 16 45';
-var vector autocvar_sv_player_mins = '-16 -16 -24';
-var vector autocvar_sv_player_viewoffset = '0 0 20';
-var vector autocvar_sv_player_crouch_maxs = '16 16 25';
-var vector autocvar_sv_player_crouch_mins = '-16 -16 -24';
-var vector autocvar_sv_player_crouch_viewoffset = '0 0 20';
+// FIXME/EXPLAINME: why?
+noref var vector autocvar_sv_player_maxs = '16 16 45';
+noref var vector autocvar_sv_player_mins = '-16 -16 -24';
+noref var vector autocvar_sv_player_viewoffset = '0 0 20';
+noref var vector autocvar_sv_player_crouch_maxs = '16 16 25';
+noref var vector autocvar_sv_player_crouch_mins = '-16 -16 -24';
+noref var vector autocvar_sv_player_crouch_viewoffset = '0 0 20';
 noref var vector autocvar_sv_player_headsize = '24 24 12';
 
 #define PL_VIEW_OFS autocvar_sv_player_viewoffset
index 35699480ede524e58f2ded7425dd7a8b012c0731..869a44bc8bf6b2253a85f4d07227f8c4bce23bc8 100644 (file)
@@ -51,8 +51,8 @@ void SUB_Remove()
 void cl_notice_read()
 {
     entity _notice;
-    float _done;
-    float _modal;
+    //float _done;
+    //float _modal;
     _notice = spawn();
     _notice.classname = "sv_notice";
     _notice.netname = strzone(ReadString());
@@ -64,7 +64,7 @@ float cl_notice_run()
 {
     entity _notes;
     string _notice;
-    float c, m = FALSE;
+    float m = FALSE;
     
     _notes = findchain(classname, "sv_notice");
     if(!_notes)
index 5685f4db27d42ec177e03e666a6939c2eb8f8489..76b2f28d1a71afad3fce9740b3109acde4139848 100644 (file)
@@ -168,8 +168,10 @@ void check_unacceptable_compiler_bugs();
 float compressShotOrigin(vector v);
 vector decompressShotOrigin(float f);
 
+#ifdef SVQC
 string rankings_reply, ladder_reply, lsmaps_reply, lsnewmaps_reply, maplist_reply; // cached replies
 string records_reply[10];
+#endif
 
 float RandomSelection_totalweight;
 float RandomSelection_best_priority;
index b187c007a3ce627b554428df682a20c177742918..d33a1eab12d5439e5435280fd40cd3439f3503f9 100644 (file)
@@ -30,7 +30,7 @@ void XonoticPlayerSettingsTab_draw(entity me)
 }
 void XonoticPlayerSettingsTab_fill(entity me)
 {
-       entity e, pms, sl, label, e0, box;
+       entity e, pms, label, box;
        float i, r, m, n;
 
        me.TR(me);
index e743ccf2e4ef6cdfb9bcc13aae27b5f64a9b63eb..b9aab55ab74dda5cf007353946118592572a78f1 100644 (file)
@@ -20,7 +20,7 @@ entity makeXonoticMiscSettingsTab()
 void XonoticMiscSettingsTab_fill(entity me)
 {
        entity e;
-       entity sk;
+       //entity sk;
 
        me.TR(me);
                me.TD(me, 1, 3, e = makeXonoticTextLabel(0, _("Network:")));
index 952c3c956af14273fa62a3ecded70b9935dfeb42..1f06b9d88b03894cf52b9a788c5bab89a8b02f1d 100644 (file)
@@ -65,7 +65,7 @@ void XonoticWeaponsList_resizeNotify(entity me, vector relOrigin, vector relSize
 }
 float XonoticWeaponsList_mouseDrag(entity me, vector pos)
 {
-       float f, i, scrollbar;
+       float f, i;
        i = me.selectedItem;
        f = SUPER(XonoticWeaponsList).mouseDrag(me, pos);