blob: 3c4460032d231684fd5627951eef9a78d6ca1a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef PATH_H
#define PATH_H
#ifndef PREFIX
#ifndef __WIN32__
#define PREFIX "/usr/local"
#else
#define PREFIX ".."
#endif
#endif
#ifndef PUBLIC_SERVER
#define PATH_DIR PREFIX "/share/tuxanci/"
#ifndef __WIN32__
#define PATH_MODULES PREFIX "/lib/tuxanci/"
#else
#define PATH_MODULES PREFIX "/bin/"
#endif
#else
#define PATH_DIR PREFIX "/share/tuxanci-server/"
#ifndef __WIN32__
#define PATH_MODULES PREFIX "/lib/tuxanci-server/"
#define SERVER_CONFIG "/etc/tuxanci-server/server.conf"
#else
#define PATH_MODULES PREFIX "/bin/"
#define SERVER_CONFIG PREFIX "/etc/tuxanci-server/server.conf"
#endif
#endif
#define PATH_IMAGE PATH_DIR "image/"
#define PATH_FONT PATH_DIR "font/"
#define PATH_ARENA PATH_DIR "arena/"
#define PATH_SOUND PATH_DIR "sound/"
#define PATH_MUSIC PATH_DIR "music/"
#define PATH_CONFIG PATH_DIR "conf/"
#define PATH_LANG PATH_DIR "lang/"
#define PATH_DATA PATH_DIR "doc/"
#define PATH_LOCALE PREFIX "share/locale/"
#include "main.h"
#endif
|