]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
fix for snprintf check (can't check if functions exist, changed to WIN32 check)
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index db8a8601876301fc2d5540afd2ef3f8bec5c4399..58efe1b2978f5d93b6059c8d9507ed827ff3eda4 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -8,7 +8,7 @@ of the License, or (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 See the GNU General Public License for more details.
 
@@ -25,9 +25,10 @@ extern       qpic_t          *draw_disc;     // also used on sbar
 
 void Draw_Init (void);
 void Draw_Character (int x, int y, int num);
+void Draw_GenericPic (rtexture_t *tex, float red, float green, float blue, float alpha, int x, int y, int width, int height);
 void Draw_Pic (int x, int y, qpic_t *pic);
-void Draw_TransPic (int x, int y, qpic_t *pic);
-void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation);
+void Draw_AdditivePic (int x, int y, qpic_t *pic);
+void Draw_PicTranslate (int x, int y, qpic_t *pic, byte *translation);
 void Draw_ConsoleBackground (int lines);
 void Draw_Fill (int x, int y, int w, int h, int c);
 void Draw_String (int x, int y, char *str, int maxlen); // LordHavoc: added maxlen