changeset 7275 | 15f722e0b96f |
child 7314 | 6171f0bad318 |
7273:8eed495fd8da | 7275:15f722e0b96f |
---|---|
1 /* |
|
2 * Data structure and functions for accessing the map.cfg of named maps. |
|
3 */ |
|
4 |
|
5 #ifndef MAPCFG_H_ |
|
6 #define MAPCFG_H_ |
|
7 |
|
8 typedef struct { |
|
9 char theme[256]; |
|
10 int hogLimit; |
|
11 } flib_mapcfg; |
|
12 |
|
13 /** |
|
14 * Read the map configuration for the map with this name. |
|
15 * The dataDirPath must end in a path separator. |
|
16 */ |
|
17 int flib_mapcfg_read(const char *dataDirPath, const char *mapname, flib_mapcfg *out); |
|
18 |
|
19 #endif /* MAPCFG_H_ */ |