diff options
author | epoch <epoch@hacking.allowed.org> | 2017-12-24 04:39:38 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2017-12-24 04:39:38 -0600 |
commit | d248dadf6403e9ed9d0041d8606800c15aa6255a (patch) | |
tree | 7c00ba401a696cd018fe21474a4b031bdeac33bd | |
parent | b17f52d7e614426b581529b1a5a43091c948221d (diff) | |
download | hackvr-d248dadf6403e9ed9d0041d8606800c15aa6255a.tar.gz hackvr-d248dadf6403e9ed9d0041d8606800c15aa6255a.zip |
moved draw_mode functions to cs.h and added new color functions to it
-rw-r--r-- | src/graphics_c3.h | 3 | ||||
-rw-r--r-- | src/graphics_cs.h | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/graphics_c3.h b/src/graphics_c3.h index 325c7c5..47ead29 100644 --- a/src/graphics_c3.h +++ b/src/graphics_c3.h @@ -51,9 +51,6 @@ 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 diff --git a/src/graphics_cs.h b/src/graphics_cs.h index 76521a0..31ee5f1 100644 --- a/src/graphics_cs.h +++ b/src/graphics_cs.h @@ -11,7 +11,8 @@ void draw_cs_text(cs_t p,char *text); void draw_cs_shape(cs_s_t s); void draw_cs_filled_shape(cs_s_t s); void set_aspect_ratio(); -void set_color_based_on_distance(real d); +void set_color_based_on_distance(real); +void set_luminosity_color(int); void flipscreen(); void set_ansi_color(int); void set_color(); @@ -23,5 +24,9 @@ int graphics_init(); int graphics_event_handler(); void set_clipping_rectangle(int x,int y,int width,int height); void red_and_blue_magic(); +void draw_mode_and(); +void draw_mode_set(); +void draw_mode_or(); +void draw_mode_copy(); #endif |