diff options
author | epoch <epoch@hacking.allowed.org> | 2017-12-19 04:38:44 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-12-19 04:38:44 -0600 |
commit | dfc6c19d1f0aac5e8e7b11ca18d8f5cbcb1ae6d6 (patch) | |
tree | 25e3b189c2630bc1fd8a73599de3bccb13fc23f4 /src | |
parent | eeee39f343f9644a5ee386e1f932ef80cd65c42d (diff) | |
download | hackvr-dfc6c19d1f0aac5e8e7b11ca18d8f5cbcb1ae6d6.tar.gz hackvr-dfc6c19d1f0aac5e8e7b11ca18d8f5cbcb1ae6d6.zip |
added input_mode to gra_global struct and couple drawing mode functions
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics_c3.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graphics_c3.h b/src/graphics_c3.h index b6e1a5a..325c7c5 100644 --- a/src/graphics_c3.h +++ b/src/graphics_c3.h @@ -22,6 +22,7 @@ struct gra_global { int oldfps; char zsort; char drawminimap; + char input_mode; char drawsky; char draw3d; int mapxoff; @@ -50,6 +51,9 @@ c3_t rotate_c3_xr(c3_t p1,c3_t p2,radians xr); 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); +void draw_mode_and(); +void draw_mode_set(); + int compar(zsort_t *a,zsort_t *b); #endif |