summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index ec0d597..7019351 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -93,10 +93,12 @@ int drawtextmax(pixel *vid, int x, int y, int w, char *s, int r, int g, int b, i
int textnwidth(char *s, int n);
-int textnheight(char *s, int n, int w);
+void textnpos(char *s, int n, int w, int *cx, int *cy);
int textwidthx(char *s, int w);
+int textposxy(char *s, int width, int w, int h);
+
#ifdef WIN32
_inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
#else