summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
new file mode 100644
index 0000000..427c9d3
--- /dev/null
+++ b/src/player.h
@@ -0,0 +1,20 @@
+#ifndef TAKETHIS_INCLUDED_ROOM
+#define TAKETHIS_INCLUDED_ROOM
+
+
+typedef struct tt_room {
+ SDL_Rect *tiles[15][19];
+ tt_body *bodies[15][19];
+} tt_room;
+
+
+tt_room *tt_room_load(int num);
+
+void tt_room_draw(tt_room *room);
+
+void tt_room_rtol(tt_room *right, tt_room *left, int permille);
+
+void tt_room_utod(tt_room *up, tt_room *down, int permille);
+
+
+#endif