]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
more noref
authorRudolf Polzer <divverent@xonotic.org>
Mon, 31 Dec 2012 11:44:39 +0000 (12:44 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 31 Dec 2012 11:44:39 +0000 (12:44 +0100)
qcsrc/menu/progs.src
qcsrc/menu/sys-post.qh [new file with mode: 0644]
qcsrc/menu/sys-pre.qh [new file with mode: 0644]
qcsrc/menu/xonotic/maplist.c
qcsrc/menu/xonotic/util.qc

index 0f545e60cfa368967ca4cb6f694132fff6558fd1..e45a4813a6d257bc512e10dbae643c0db61500fa 100644 (file)
@@ -1,7 +1,9 @@
 ../../menu.dat
 
+sys-pre.qh
 ../dpdefs/menudefs.qc
 ../dpdefs/keycodes.qc
+sys-post.qh
 
 config.qh
 ../common/util-pre.qh
diff --git a/qcsrc/menu/sys-post.qh b/qcsrc/menu/sys-post.qh
new file mode 100644 (file)
index 0000000..e466fb4
--- /dev/null
@@ -0,0 +1 @@
+#pragma noref 0
diff --git a/qcsrc/menu/sys-pre.qh b/qcsrc/menu/sys-pre.qh
new file mode 100644 (file)
index 0000000..a964ae9
--- /dev/null
@@ -0,0 +1 @@
+#pragma noref 1
index fe91b0650a0888a911f828c3d371395f1e0c6d6c..c37481b9763763ea066f942639a01604a7f0e050 100644 (file)
@@ -167,7 +167,6 @@ void XonoticMapList_drawListBoxItem(entity me, float i, vector absSize, float is
 {
        // layout: Ping, Map name, Map name, NP, TP, MP
        string s;
-       float p;
        float theAlpha;
        float included;
 
index 44988597476904b8d6a866741a5993dcc3b26d48..e80bf30e4e410b183ca23dc487b6f15afd1ae5b1 100644 (file)
@@ -473,7 +473,6 @@ void postMenuDraw()
 {
        if(autocvar_menu_watermark != "")
        {
-               vector fs = '48 48 0';
                draw_CenterText('0.5 0.1 0', sprintf(_("^1%s TEST BUILD"), autocvar_menu_watermark), globalToBoxSize('32 32 0', draw_scale), '1 1 1', 0.05, 1);
        }
 }