blob: e5fe1947b3b6b955ee6ce2cd38629fc5c3509482 (
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(const char *path);
void config_deinit(void);
|