replaced code by using function with same functionality
[rocksndiamonds.git] / src / conf_mus.c
index 864cbc908018c556d4ad21a74fb182c4b2fbf92b..0df8a79bf21f547d6aa7656f9d5524aca7ae57c5 100644 (file)
 
 struct ConfigTypeInfo music_config_suffix[] =
 {
-  { ".mode_loop",                      ARG_UNDEFINED,  TYPE_BOOLEAN    },
+  { ".mode_loop",                              ARG_UNDEFINED,  TYPE_BOOLEAN    },
 
-  { NULL,                              NULL,           0               }
+  { NULL,                                      NULL,           0               }
 };
 
 struct ConfigInfo music_config[] =
 {
-  { "background",                      UNDEFINED_FILENAME              },
-  { "background.TITLE_INITIAL",                UNDEFINED_FILENAME              },
-  { "background.TITLE",                        UNDEFINED_FILENAME              },
-  { "background.MAIN",                 UNDEFINED_FILENAME              },
-  { "background.NAMES",                        UNDEFINED_FILENAME              },
-  { "background.LEVELS",               UNDEFINED_FILENAME              },
-  { "background.LEVELNR",              UNDEFINED_FILENAME              },
-  { "background.SCORES",               UNDEFINED_FILENAME              },
-  { "background.EDITOR",               UNDEFINED_FILENAME              },
-  { "background.INFO",                 "rhythmloop.wav"                },
-  { "background.INFO[ELEMENTS]",       UNDEFINED_FILENAME              },
-  { "background.INFO[CREDITS]",                UNDEFINED_FILENAME              },
-  { "background.INFO[PROGRAM]",                UNDEFINED_FILENAME              },
-  { "background.INFO[VERSION]",                UNDEFINED_FILENAME              },
-  { "background.INFO[LEVELSET]",       UNDEFINED_FILENAME              },
-  { "background.SETUP",                        UNDEFINED_FILENAME              },
+  { "background",                              UNDEFINED_FILENAME              },
+  { "background.TITLE_INITIAL",                        UNDEFINED_FILENAME              },
+  { "background.TITLE",                                UNDEFINED_FILENAME              },
+  { "background.MAIN",                         UNDEFINED_FILENAME              },
+  { "background.NAMES",                                UNDEFINED_FILENAME              },
+  { "background.LEVELS",                       UNDEFINED_FILENAME              },
+  { "background.LEVELNR",                      UNDEFINED_FILENAME              },
+  { "background.SCORES",                       UNDEFINED_FILENAME              },
+  { "background.EDITOR",                       UNDEFINED_FILENAME              },
+  { "background.INFO",                         "rhythmloop.wav"                },
+  { "background.INFO[ELEMENTS]",               UNDEFINED_FILENAME              },
+  { "background.INFO[CREDITS]",                        UNDEFINED_FILENAME              },
+  { "background.INFO[PROGRAM]",                        UNDEFINED_FILENAME              },
+  { "background.INFO[VERSION]",                        UNDEFINED_FILENAME              },
+  { "background.INFO[LEVELSET]",               UNDEFINED_FILENAME              },
+  { "background.SETUP",                                UNDEFINED_FILENAME              },
 
-  { "background.titlescreen_initial_1",        UNDEFINED_FILENAME              },
-  { "background.titlescreen_initial_2",        UNDEFINED_FILENAME              },
-  { "background.titlescreen_initial_3",        UNDEFINED_FILENAME              },
-  { "background.titlescreen_initial_4",        UNDEFINED_FILENAME              },
-  { "background.titlescreen_initial_5",        UNDEFINED_FILENAME              },
-  { "background.titlescreen_1",                UNDEFINED_FILENAME              },
-  { "background.titlescreen_2",                UNDEFINED_FILENAME              },
-  { "background.titlescreen_3",                UNDEFINED_FILENAME              },
-  { "background.titlescreen_4",                UNDEFINED_FILENAME              },
-  { "background.titlescreen_5",                UNDEFINED_FILENAME              },
-  { "background.titlemessage_initial_1",UNDEFINED_FILENAME             },
-  { "background.titlemessage_initial_2",UNDEFINED_FILENAME             },
-  { "background.titlemessage_initial_3",UNDEFINED_FILENAME             },
-  { "background.titlemessage_initial_4",UNDEFINED_FILENAME             },
-  { "background.titlemessage_initial_5",UNDEFINED_FILENAME             },
-  { "background.titlemessage_1",       UNDEFINED_FILENAME              },
-  { "background.titlemessage_2",       UNDEFINED_FILENAME              },
-  { "background.titlemessage_3",       UNDEFINED_FILENAME              },
-  { "background.titlemessage_4",       UNDEFINED_FILENAME              },
-  { "background.titlemessage_5",       UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_1",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_2",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_3",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_4",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_initial_5",                UNDEFINED_FILENAME              },
+  { "background.titlescreen_1",                        UNDEFINED_FILENAME              },
+  { "background.titlescreen_2",                        UNDEFINED_FILENAME              },
+  { "background.titlescreen_3",                        UNDEFINED_FILENAME              },
+  { "background.titlescreen_4",                        UNDEFINED_FILENAME              },
+  { "background.titlescreen_5",                        UNDEFINED_FILENAME              },
+  { "background.titlemessage_initial_1",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_initial_2",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_initial_3",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_initial_4",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_initial_5",       UNDEFINED_FILENAME              },
+  { "background.titlemessage_1",               UNDEFINED_FILENAME              },
+  { "background.titlemessage_2",               UNDEFINED_FILENAME              },
+  { "background.titlemessage_3",               UNDEFINED_FILENAME              },
+  { "background.titlemessage_4",               UNDEFINED_FILENAME              },
+  { "background.titlemessage_5",               UNDEFINED_FILENAME              },
 
   // there is no definition for "background.PLAYING", because this would
   // prevent selecting music from music directory that is not defined in