summaryrefslogtreecommitdiff
path: root/inc/config.h
blob: 7252914633a2a88b602aba98438695a5b5575d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

typedef struct Config {
	int tile_width;
	int tile_height;
	int cell_width;
	int cell_height;
	int world_width;
	int world_height;
	char *tileset_path;
	char *world_path;
} Config;

extern Config cfg;

void config_init(void);
void config_deinit(void);