aboutsummaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorrgl <devnull@localhost>2020-02-03 22:42:28 +0100
committerrgl <devnull@localhost>2020-02-03 22:42:28 +0100
commit0373255087377122eeb10e006ffb8aa1b57e611c (patch)
tree33a4fafa4996fc2efa205b2973622c3fbd27f368 /dat.h
download3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.gz
3dee-0373255087377122eeb10e006ffb8aa1b57e611c.tar.bz2
3dee-0373255087377122eeb10e006ffb8aa1b57e611c.zip
after a year or so of work, i dare create a proper repo.
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/dat.h b/dat.h
new file mode 100644
index 0000000..f2d7588
--- /dev/null
+++ b/dat.h
@@ -0,0 +1,41 @@
+enum {
+ K↑,
+ K↓,
+ K←,
+ K→,
+ Krise,
+ Kfall,
+ KR↑,
+ KR↓,
+ KR←,
+ KR→,
+ KR↺,
+ KR↻,
+ Kcam0,
+ Kcam1,
+ Kcam2,
+ Kcam3,
+ Kscrshot,
+ Ke
+};
+
+enum {
+ Scamno,
+ Sfov,
+ Scampos,
+ Scambx, Scamby, Scambz,
+ Se
+};
+
+typedef struct Mesh Mesh;
+typedef struct TTriangle3 TTriangle3;
+
+struct Mesh {
+ Triangle3 *tris;
+ int ntri;
+};
+
+struct TTriangle3 {
+ Triangle3;
+ Image *tx;
+};