2021-03-02 00:21:01 +01:00
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "conf.h"
|
2021-03-02 00:44:58 +01:00
|
|
|
#include "tiles.h"
|
2021-03-02 00:21:01 +01:00
|
|
|
#include "vec2.h"
|
|
|
|
|
|
|
|
typedef struct Level{
|
|
|
|
tile_t content[LEVEL_WIDTH * LEVEL_HEIGHT];
|
|
|
|
Vec2 start_pos;
|
|
|
|
} Level;
|
2021-03-02 00:44:58 +01:00
|
|
|
|
|
|
|
void level_draw(Level level);
|