improved color handling when loading BDCFF file in BD engine
[rocksndiamonds.git] / src / conf_mus.c
1 // ============================================================================
2 // Rocks'n'Diamonds - McDuffin Strikes Back!
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // conf_mus.c
10 // ============================================================================
11
12 #include "libgame/libgame.h"
13 #include "main.h"
14
15
16 // List values that are not defined in the configuration file are set to
17 // reliable default values. If that value is MUS_ARG_UNDEFINED, it will
18 // be dynamically determined, using some of the other list values.
19
20 struct ConfigTypeInfo music_config_suffix[] =
21 {
22   { ".mode_loop",                               ARG_UNDEFINED,  TYPE_BOOLEAN    },
23
24   { NULL,                                       NULL,           0               }
25 };
26
27 struct ConfigInfo music_config[] =
28 {
29   { "background",                               UNDEFINED_FILENAME              },
30   { "background.TITLE_INITIAL",                 UNDEFINED_FILENAME              },
31   { "background.TITLE",                         UNDEFINED_FILENAME              },
32   { "background.MAIN",                          UNDEFINED_FILENAME              },
33   { "background.NAMES",                         UNDEFINED_FILENAME              },
34   { "background.LEVELS",                        UNDEFINED_FILENAME              },
35   { "background.LEVELNR",                       UNDEFINED_FILENAME              },
36   { "background.SCORES",                        UNDEFINED_FILENAME              },
37   { "background.EDITOR",                        UNDEFINED_FILENAME              },
38   { "background.INFO",                          "rhythmloop.wav"                },
39   { "background.INFO[ELEMENTS]",                UNDEFINED_FILENAME              },
40   { "background.INFO[CREDITS]",                 UNDEFINED_FILENAME              },
41   { "background.INFO[PROGRAM]",                 UNDEFINED_FILENAME              },
42   { "background.INFO[VERSION]",                 UNDEFINED_FILENAME              },
43   { "background.INFO[LEVELSET]",                UNDEFINED_FILENAME              },
44   { "background.SETUP",                         UNDEFINED_FILENAME              },
45
46   { "background.titlescreen_initial_1",         UNDEFINED_FILENAME              },
47   { "background.titlescreen_initial_2",         UNDEFINED_FILENAME              },
48   { "background.titlescreen_initial_3",         UNDEFINED_FILENAME              },
49   { "background.titlescreen_initial_4",         UNDEFINED_FILENAME              },
50   { "background.titlescreen_initial_5",         UNDEFINED_FILENAME              },
51   { "background.titlescreen_1",                 UNDEFINED_FILENAME              },
52   { "background.titlescreen_2",                 UNDEFINED_FILENAME              },
53   { "background.titlescreen_3",                 UNDEFINED_FILENAME              },
54   { "background.titlescreen_4",                 UNDEFINED_FILENAME              },
55   { "background.titlescreen_5",                 UNDEFINED_FILENAME              },
56   { "background.titlemessage_initial_1",        UNDEFINED_FILENAME              },
57   { "background.titlemessage_initial_2",        UNDEFINED_FILENAME              },
58   { "background.titlemessage_initial_3",        UNDEFINED_FILENAME              },
59   { "background.titlemessage_initial_4",        UNDEFINED_FILENAME              },
60   { "background.titlemessage_initial_5",        UNDEFINED_FILENAME              },
61   { "background.titlemessage_1",                UNDEFINED_FILENAME              },
62   { "background.titlemessage_2",                UNDEFINED_FILENAME              },
63   { "background.titlemessage_3",                UNDEFINED_FILENAME              },
64   { "background.titlemessage_4",                UNDEFINED_FILENAME              },
65   { "background.titlemessage_5",                UNDEFINED_FILENAME              },
66
67   // there is no definition for "background.PLAYING", because this would
68   // prevent selecting music from music directory that is not defined in
69   // "musicinfo.conf", when no default music is defined here
70
71   { NULL,                               NULL                            }
72 };