summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-08-03 07:46:55 -0500
committerepoch <epoch@hacking.allowed.org>2019-08-03 07:46:55 -0500
commitc614c2dcc97a14364b75e8b4a63cdd1140f52ecf (patch)
tree123b27d8e235a6841feb32ca0cc8e59ff08542f8 /src
parent612f65d12428ed83c486505d1accac4a0954dcde (diff)
downloadhackvr-c614c2dcc97a14364b75e8b4a63cdd1140f52ecf.tar.gz
hackvr-c614c2dcc97a14364b75e8b4a63cdd1140f52ecf.zip
added array for pipe fds for redrawing and prototype for redraw
Diffstat (limited to 'src')
-rw-r--r--src/graphics_c3.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphics_c3.h b/src/graphics_c3.h
index 2490e07..691b650 100644
--- a/src/graphics_c3.h
+++ b/src/graphics_c3.h
@@ -19,6 +19,7 @@ struct gra_global {
char input_mode;
char drawsky;
char draw3d;
+ int redraw[2];//pipe fd
int mapxoff;
int mapyoff;
int mousemap[10];//you're only going to have 10 buttons on your mouse... right?
@@ -44,5 +45,6 @@ c3_t rotate_c3_yr(c3_t p1,c3_t p2,radians yr);
c3_t rotate_c3_zr(c3_t p1,c3_t p2,radians zr);
int compar(zsort_t *a,zsort_t *b);
+void redraw();
#endif