summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/defines.h1
-rw-r--r--includes/graphics.h6
2 files changed, 6 insertions, 1 deletions
diff --git a/includes/defines.h b/includes/defines.h
index dd36b47..e112c71 100644
--- a/includes/defines.h
+++ b/includes/defines.h
@@ -131,6 +131,7 @@ typedef unsigned int pixel;
#define DEBUG_PARTS 0x0001
#define DEBUG_PARTCOUNT 0x0002
+#define DEBUG_DRAWTOOL 0x0004
typedef unsigned char uint8;
diff --git a/includes/graphics.h b/includes/graphics.h
index 80dd77c..8cd2e55 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -82,6 +82,8 @@ int drawchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a);
int drawtext(pixel *vid, int x, int y, const char *s, int r, int g, int b, int a);
+int drawtext_outline(pixel *vid, int x, int y, const char *s, int r, int g, int b, int a, int or, int og, int ob, int oa);
+
int drawtextwrap(pixel *vid, int x, int y, int w, const char *s, int r, int g, int b, int a);
void drawrect(pixel *vid, int x, int y, int w, int h, int r, int g, int b, int a);
@@ -126,6 +128,8 @@ void xor_line(int x1, int y1, int x2, int y2, pixel *vid);
void xor_rect(pixel *vid, int x, int y, int w, int h);
+void blend_line(pixel *vid, int x1, int y1, int x2, int y2, int r, int g, int b, int a);
+
void draw_parts(pixel *vid);
void draw_walls(pixel *vid);
@@ -160,7 +164,7 @@ void render_cursor(pixel *vid, int x, int y, int t, int rx, int ry);
int sdl_open(void);
-int draw_debug_info(pixel* vid);
+int draw_debug_info(pixel* vid, int lm, int lx, int ly, int cx, int cy);
#ifdef OpenGL
void Enable2D ();