summaryrefslogtreecommitdiff
path: root/board.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-28 18:27:47 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-28 18:27:47 -0700
commit0fdc050919f0a7a2dce53baf348ab1f9b328d6da (patch)
tree5fa41806e0eb8140b815a4dd901de31a12fabe24 /board.h
parentfcc02efbff337c05bf448231cd8bfbe016939f8a (diff)
downloaddartboat-0fdc050919f0a7a2dce53baf348ab1f9b328d6da.tar.gz
dartboat-0fdc050919f0a7a2dce53baf348ab1f9b328d6da.tar.xz
web: less javascript, more c
Diffstat (limited to 'board.h')
-rw-r--r--board.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board.h b/board.h
index c7fb477..e5ffb24 100644
--- a/board.h
+++ b/board.h
@@ -4,6 +4,7 @@
#include <stdbool.h>
// board spec from WDF rules
+#define DIAMETER 451.0
#define WIRE_WIDTH 1.56
#define INNER_DIAMETER_BULL 12.7
#define INNER_DIAMETER_25 31.8
@@ -37,6 +38,9 @@ struct segment {
int sector;
};
+extern int SECTORS[];
+extern double OUTER_DISTS[];
+
void init_board();
struct ccoords {