X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsetup.c;h=74a6035125d2efb1e6293cc0be10dfcf02d1633e;hb=7b6d9e43fdb99e1923f4a2a401ae60e7b2975bd8;hp=122f1dfe2a8415bdbacc9784e2e9bb4d3d658428;hpb=884db54d739f5838243315f390d28634cb99a7d9;p=rocksndiamonds.git diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 122f1dfe..74a60351 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -422,6 +422,11 @@ char *getCustomSoundFilename(char *basename) return NULL; /* cannot find image file */ } +char *getCustomSoundConfigFilename() +{ + return getCustomSoundFilename(SOUNDSINFO_FILENAME); +} + char *getCustomMusicDirectory(void) { static char *directory = NULL; @@ -1814,25 +1819,6 @@ void LoadArtworkInfo() #endif } -void LoadSoundsInfo() -{ -#if 0 - char *filename = getCustomSoundFilename(SOUNDSINFO_FILENAME); - struct SetupFileList *setup_file_list = loadSetupFileList(filename); - - if (setup_file_list) - { -#if 0 - for (i=0; i