summaryrefslogtreecommitdiff
path: root/flogo.h
diff options
context:
space:
mode:
Diffstat (limited to 'flogo.h')
-rw-r--r--flogo.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/flogo.h b/flogo.h
new file mode 100644
index 0000000..f5b1065
--- /dev/null
+++ b/flogo.h
@@ -0,0 +1,12 @@
+#pragma once
+
+const int WIDTH=1000,HEIGHT=1000;
+
+struct Turtle{
+ double x=WIDTH/2,y=HEIGHT/2,dir=0; //dir in degrees, URDL
+};
+
+extern Turtle turtle;
+
+void drawturtle(void);
+void drawline(int x1,int y1,int x2,int y2);