aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-02-15 09:41:35 +0000
committerrodri <rgl@antares-labs.eu>2020-02-15 09:41:35 +0000
commit5a3198e108fc868da57a002abaca9a4db28d096b (patch)
tree004bbc9743f430c7089df580eb86c8c9d6b2e840 /dat.h
downloadgbadev-5a3198e108fc868da57a002abaca9a4db28d096b.tar.gz
gbadev-5a3198e108fc868da57a002abaca9a4db28d096b.tar.bz2
gbadev-5a3198e108fc868da57a002abaca9a4db28d096b.zip
initial rom with basic gradient.
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/dat.h b/dat.h
new file mode 100644
index 0000000..c852a09
--- /dev/null
+++ b/dat.h
@@ -0,0 +1,17 @@
+enum {
+ SCRW = 240,
+ SCRH = 160
+};
+
+typedef unsigned char uchar;
+typedef unsigned short ushort;
+typedef unsigned int uint;
+typedef unsigned long ulong;
+typedef unsigned long long uvlong;
+
+typedef struct Point Point;
+
+struct Point
+{
+ int x, y;
+};