summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2021-02-28 23:29:25 +0300
committerAleksey Veresov <aleksey@veresov.pro>2021-02-28 23:29:25 +0300
commita365de1b0ab91f9c057196a601d96d2aed6e48fb (patch)
tree4c3262c1745337dbd4e6c87525edc0532b517963 /src/map.h
parent4cfd9c6b96035ca7ccf6444e911b2a908d8500eb (diff)
downloadtakethis-a365de1b0ab91f9c057196a601d96d2aed6e48fb.tar
takethis-a365de1b0ab91f9c057196a601d96d2aed6e48fb.tar.xz
takethis-a365de1b0ab91f9c057196a601d96d2aed6e48fb.zip
o_O
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
new file mode 100644
index 0000000..e8da22d
--- /dev/null
+++ b/src/map.h
@@ -0,0 +1,18 @@
+#ifndef TAKETHIS_INCLUDED_MAP
+#define TAKETHIS_INCLUDED_MAP
+
+
+/* room is identified by single char
+ * they are located in data/map/
+ * roomfile has four neighbors at the first line
+ * after this indexed tiles go
+ * after them each line is speed of corresponding enemy in percents
+ * and optionaly after = message of this enemy */
+
+
+void tt_map_load();
+
+void tt_map_free();
+
+
+#endif