summaryrefslogtreecommitdiffstats
path: root/src/layer.h
blob: 126c3d9d4cfa3711b6214f1557d9be8b49aa54cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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