summaryrefslogtreecommitdiff
path: root/draw.h
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2013-10-07 14:11:24 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2013-10-07 14:11:24 +0200
commit677385ffdd1e330cfba4dd712ca58595feeea41d (patch)
treed256c7c6a86b3efe4af2e97fa72cc35eb32ec33e /draw.h
downloadfx-maze-677385ffdd1e330cfba4dd712ca58595feeea41d.tar.gz
fx-maze-677385ffdd1e330cfba4dd712ca58595feeea41d.zip
initial commit
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