aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index 2436a6a..67a1c62 100644
--- a/common.h
+++ b/common.h
@@ -29,6 +29,8 @@
#define SIGNUM(X) (((X) > 0) - ((X) < 0))
+#define DEFAULT_DRAFTNESS 0.5
+
#define draw_vertical_line_opposite_only(...)
@@ -66,6 +68,7 @@ typedef struct rtgrpblib_cell {
typedef struct rtgrpblib_raster {
size_t height;
size_t width;
+ size_t size;
double draftness; /* TODO support 0 */
CELL cells[];
} RASTER;