]> Pileus Git - ~andy/ct/blobdiff - knot/knot.h
Add knot
[~andy/ct] / knot / knot.h
diff --git a/knot/knot.h b/knot/knot.h
new file mode 100644 (file)
index 0000000..0e77797
--- /dev/null
@@ -0,0 +1,14 @@
+enum {
+       LEFT  = 1<<0,
+       RIGHT = 1<<1,
+       UP    = 1<<2,
+       DOWN  = 1<<3,
+};
+
+typedef struct {
+       char c;
+       int top;
+       int bot;
+} tile_t;
+
+void print_index(tile_t **tiles);