Adoranda/include/map.h

15 lines
182 B
C
Raw Normal View History

2021-07-29 18:33:22 +02:00
#pragma once
struct map {
int w, h;
bopti_image_t *tileset;
short *tiles_layer1;
short *tiles_layer2;
2021-07-29 18:33:22 +02:00
};
enum map_state {
TILE_AIR = 0,
TILE_SOLID = 1,
TILE_WALKABLE = 2
};