X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Flib%2Fdraw.qh;h=2bf480a8782aed99c16167731c5f38efd1300fcd;hb=17d9558bff4fa8c1d7f558897b7830cb0cf4dca6;hp=5dbdb67b546a2f7774ac7fd938e8f0a6963955b6;hpb=0bd99205bd154e058edc6b82995d24e3375f5f97;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/draw.qh b/qcsrc/lib/draw.qh index 5dbdb67b5..2bf480a87 100644 --- a/qcsrc/lib/draw.qh +++ b/qcsrc/lib/draw.qh @@ -117,14 +117,14 @@ } } - [[eraseable]] + ERASEABLE void drawstringright(vector position, string text, vector theScale, vector rgb, float theAlpha, int flag) { position.x -= 2 / 3 * strlen(text) * theScale.x; drawstring_builtin(position, text, theScale, rgb, theAlpha, flag); } - [[eraseable]] + ERASEABLE 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);