summaryrefslogtreecommitdiffstats
path: root/src/layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/layer.h')
-rw-r--r--src/layer.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/layer.h b/src/layer.h
new file mode 100644
index 0000000..126c3d9
--- /dev/null
+++ b/src/layer.h
@@ -0,0 +1,20 @@
+#ifndef LAYER_H
+#define LAYER_H
+
+#include <SDL_stdinc.h>
+
+const int LAYER_GROUND = 0;
+const int LAYER_OBJ_LOW = 1;
+const int LAYER_CHAR_BOT = 2;
+const int LAYER_OBJ_MID = 3;
+const int LAYER_CHAR_TOP = 4;
+const int LAYER_OBJ_HIGH = 5;
+const int LAYER_WEATHER = 6;
+
+struct layer {
+ char *name;
+ Uint32 *tiles;
+ struct layer *next;
+};
+
+#endif