diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2013-10-07 14:11:24 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2013-10-07 14:11:24 +0200 |
| commit | 677385ffdd1e330cfba4dd712ca58595feeea41d (patch) | |
| tree | d256c7c6a86b3efe4af2e97fa72cc35eb32ec33e /draw.h | |
| download | fx-maze-677385ffdd1e330cfba4dd712ca58595feeea41d.tar.gz fx-maze-677385ffdd1e330cfba4dd712ca58595feeea41d.zip | |
initial commit
Diffstat (limited to 'draw.h')
| -rw-r--r-- | draw.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |
