font rendering... mostly
[voxelands-alt.git] / inc / path.h
blob8416cd74253f945f9cfe4153c88ddc6892298699
1 #ifndef _PATH_H_
2 #define _PATH_H_
4 #ifndef _HAVE_DIRLIST_TYPE
5 #define _HAVE_DIRLIST_TYPE
6 typedef struct dirlist_s {
7 struct dirlist_s *prev;
8 struct dirlist_s *next;
9 char* name;
10 int dir;
11 } dirlist_t;
12 #endif
14 /* defined in path.c */
15 int path_init(void);
16 void path_exit(void);
17 int path_custom_setter(char* p);
18 int path_screenshot_setter(char* p);
19 int path_game_setter(char* p);
20 char* path_get(char* type, char* file, int must_exist, char* buff, int size);
21 int path_exists(char* path);
22 int path_create(char* type, char* file);
23 int path_remove(char* type, char* path);
24 dirlist_t *path_dirlist(char* type, char* path);
26 #endif