X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsetup.c;h=7b0189b880f3744e0ff6a0d85137cc7b261bf233;hb=1085cba858dc9cccaa5da434ddb990de23fffdfc;hp=122f1dfe2a8415bdbacc9784e2e9bb4d3d658428;hpb=884db54d739f5838243315f390d28634cb99a7d9;p=rocksndiamonds.git diff --git a/src/libgame/setup.c b/src/libgame/setup.c index 122f1dfe..7b0189b8 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -79,7 +79,8 @@ static char *levelclass_desc[NUM_LEVELCLASS_DESC] = IS_LEVELCLASS_USER(n) ? 7 : \ 9) -#define TOKEN_VALUE_POSITION 30 +#define TOKEN_VALUE_POSITION 40 +#define TOKEN_COMMENT_POSITION 60 #define MAX_COOKIE_LEN 256 @@ -422,6 +423,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 +1820,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