summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index 21e2891..31764b7 100644
--- a/dat.h
+++ b/dat.h
@@ -1,5 +1,9 @@
+#define DEG 0.01745329251994330
+
enum
{
+ KR↺,
+ KR↻,
K↑,
K↓,
K←,
@@ -7,10 +11,21 @@ enum
Ke
};
+enum
+{
+ Cmask,
+ Cbg,
+ Cfg,
+ NCOLOR,
+
+ MASKCOLOR = 0x00FF00FF
+};
+
typedef struct Sprite Sprite;
struct Sprite
{
Point p;
Memimage *spr;
+ double roll;
};