rnd-20040612-1-src
[rocksndiamonds.git] / src / conf_mus.c
1 /***********************************************************
2 * Rocks'n'Diamonds -- McDuffin Strikes Back!               *
3 *----------------------------------------------------------*
4 * (c) 1995-2002 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
10 *----------------------------------------------------------*
11 * conf_mus.c                                               *
12 ***********************************************************/
13
14 #include "libgame/libgame.h"
15 #include "main.h"
16
17
18 /* List values that are not defined in the configuration file are set to
19    reliable default values. If that value is MUS_ARG_UNDEFINED, it will
20    be dynamically determined, using some of the other list values. */
21
22 struct ConfigTypeInfo music_config_suffix[] =
23 {
24   { ".mode_loop",                       ARG_UNDEFINED,  TYPE_BOOLEAN    },
25
26   { NULL,                               NULL,           0               }
27 };
28
29 struct ConfigInfo music_config[] =
30 {
31   { "background",                       UNDEFINED_FILENAME              },
32   { "background.MAIN",                  UNDEFINED_FILENAME              },
33   { "background.LEVELS",                UNDEFINED_FILENAME              },
34   { "background.SCORES",                UNDEFINED_FILENAME              },
35   { "background.EDITOR",                UNDEFINED_FILENAME              },
36   { "background.INFO",                  "rhythmloop.wav"                },
37   { "background.SETUP",                 UNDEFINED_FILENAME              },
38
39   /* there is no definition for "background.PLAYING", because this would
40      prevent selecting music from music directory that is not defined in
41      "musicinfo.conf", when no default music is defined here */
42
43   { NULL,                               NULL                            }
44 };