diff options
author | epoch <epoch@hacking.allowed.org> | 2018-02-21 04:11:26 -0600 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2018-02-21 04:11:26 -0600 |
commit | b011e26f2979443c1147b7f8b477560340efbda9 (patch) | |
tree | d107453bc277e8c01807b41ce4a2e358c7cff9f2 /src | |
parent | b32e836fa3c87e5c735e2c6f0af4974c8352b7e5 (diff) | |
download | hackvr-b011e26f2979443c1147b7f8b477560340efbda9.tar.gz hackvr-b011e26f2979443c1147b7f8b477560340efbda9.zip |
added comments and shit to common.h
Diffstat (limited to 'src')
-rw-r--r-- | src/common.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/common.h b/src/common.h index 0ead60b..5e0a197 100644 --- a/src/common.h +++ b/src/common.h @@ -35,7 +35,7 @@ typedef struct { real y; } c2_t; -typedef struct { +typedef struct {//no screens will ever be bigger than 32k x 32k, right? short x; short y; } cs_t; @@ -50,19 +50,21 @@ typedef struct { char *id; c3_rot_t r; c3_t p; + c3_t s; } c3_group_rot_t; -typedef struct c3_line { - char *id; - c3_t p1; - c3_t p2; -} cs_l_t; +//typedef struct c3_line {//is this even used? I think I just use c3_s_t with 2 points. +// char *id; +// c3_t p1; +// c3_t p2; +//} cs_l_t; struct attrib { - char col; - char lum; + char col;//color. not sure how I plan on using this. + char lum;//brightness. 1 - 200 atm because X11 has grey1 - grey200 }; +//not used yet. will be later I guess. if I ever get around to doing bezier curves. typedef enum shape_flavor {POLYGON,ELLIPTIC_ARC,CUBIC_BEZIER,QUAD_BEZIER} shape_flavor; typedef struct cs_shape { |