summaryrefslogtreecommitdiffstats
path: root/src/include/filesystem/path.h
blob: b3649e2f0298a5c6370b6676f5b1b18a91a541d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef PATH_H
#define PATH_H

extern const char* getDirectory(int eLocation);
extern char* getPath(int eLocation, const char *filename);
extern char* getPossiblePath(int eLocation, const char *filename);
extern char* getArtPath(const char *artpack, const char *filename);
extern void initDirectories(void);

enum { 
  PATH_PREFERENCES = 0,
  PATH_SNAPSHOTS, /* demos, screenshots */
  PATH_DATA,
  PATH_SCRIPTS,
  PATH_MUSIC,
  PATH_ART
};

#endif