Adoranda/include/map.h

17 lines
228 B
C
Raw Normal View History

2021-07-29 18:33:22 +02:00
#pragma once
struct map {
int w, h, nb_layer;
2021-07-29 18:33:22 +02:00
bopti_image_t *tileset;
short *tiles_layer1;
short *tiles_layer2;
short *info_map;
2021-07-29 18:33:22 +02:00
};
enum map_state {
TILE_AIR = 0,
TILE_SOLID = 1,
2021-08-06 23:42:49 +02:00
TILE_DOOR = 2,
TILE_CHARACTER = 3,
2021-07-29 18:33:22 +02:00
};