summaryrefslogtreecommitdiff
path: root/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'draw.h')
-rw-r--r--draw.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/draw.h b/draw.h
new file mode 100644
index 0000000..90fea85
--- /dev/null
+++ b/draw.h
@@ -0,0 +1,20 @@
+#ifndef _DRAW_H_
+#define _DRAW_H_
+
+void locatePrintMini(int, int, const unsigned char *);
+
+#define pixel(x,y) (*(vram + (y << 4) + (x >> 3))) |= (128 >> (x & 7))
+#define clrpixel(x,y) (*(vram + (y << 4) + (x >> 3))) &= ~(128>>(x & 7))
+
+void vertical(int, int, int, int, int, int, float);
+
+void drawgun(void);
+void showmap(void);
+void drawgenmap(void);
+
+void horizontal(int, int, int);
+void fillbox(int, int, int, int);
+
+extern int drawtex, drawfloor, drawheight;
+
+#endif \ No newline at end of file