]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/draw.qh
Make it compile without XONOTIC defined
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / draw.qh
index 698c9262370974781c1f0585caaba18103d19ff7..52583ff58a9bd14115848a356283b412b7c0c19f 100644 (file)
@@ -5,8 +5,6 @@
        #include "i18n.qh"
        #include "vector.qh"
 
-       #include <client/defs.qh>
-
        void Draw_CylindricLine(vector from, vector to, float thickness, string texture, float aspect, float shift, vector rgb, float theAlpha, float drawflag, vector vieworg)
        {
                // I want to draw a quad...
                drawstring_builtin(position, text, theScale, rgb, theAlpha, flag);
        }
 
+       float vid_conwidth; // TODO
        void drawstringcenter(vector position, string text, vector theScale, vector rgb, float theAlpha, int flag)
        {
                position.x = 0.5 * (vid_conwidth - 0.6025 * strlen(text) * theScale.x);