]> icculus.org git repositories - btb/d2x.git/blob - acconfig.h
Use SDL joystick automatically
[btb/d2x.git] / acconfig.h
1 /* Define if you want an assembler free build */
2 #undef NO_ASM
3
4 /* Define if you want a network build */
5 #undef NETWORK
6
7 /* Define if you want to build the editor */
8 #undef EDITOR
9
10 /* Define if you want to build the demo version */
11 #undef SHAREWARE
12
13 /* Define if you want an OpenGL build */
14 #undef OGL
15
16 /* Define if you want an SVGALib build */
17 #undef SVGA
18
19 /* Define if you want a GGI build */
20 #undef GGI
21
22 /* Define to disable asserts, int3, etc. */
23 #undef NDEBUG
24
25 /* Define for a "release" build */
26 #undef RELEASE
27
28 /* Define to enable trick to show movies */
29 #undef MOVIE_TRICK
30
31 /* Define to render endlevel flythrough sequences (instead of movies) */
32 #undef NMOVIES
33
34 /* Define to use SDL Joystick */
35 #undef SDL_JOYSTICK
36
37 /* Define this to be the shared game directory root */
38 #undef SHAREPATH
39
40 /* d2x major version */
41 #undef D2XMAJOR
42
43 /* d2x minor version */
44 #undef D2XMINOR
45
46 /* d2x micro version */
47 #undef D2XMICRO
48
49 @BOTTOM@
50 /* General defines */
51 #define NMONO 1
52 #define PIGGY_USE_PAGING 1
53 #define NEWDEMO 1
54
55 #ifdef __linux__
56 # define __SDL__ 1
57 # define SDL_AUDIO 1
58 # define SDL_JOYSTICK 1
59
60 # ifdef OGL
61 #  define SDL_GL_VIDEO 1
62 #  define SDL_INPUT 1
63 # else
64 #  ifdef GGI
65 #   define GGI_VIDEO 1
66 #   define GII_INPUT 1
67 #  else
68 #   ifdef SVGA
69 #    define SVGALIB_VIDEO 1
70 #    define SVGALIB_INPUT 1
71 #   else
72 #    define SDL_VIDEO 1
73 #    define SDL_INPUT 1
74 #   endif
75 #  endif
76 # endif
77 #endif
78
79 #ifdef __MINGW32__
80 # define __SDL__ 1
81 # define SDL_AUDIO 1
82 # define SDL_INPUT 1
83 # define SDL_JOYSTICK 1
84 # ifdef OGL
85 #  define SDL_GL_VIDEO 1
86 # else
87 #  define SDL_VIDEO 1
88 # endif
89 #endif