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
return NULL; /* cannot find image file */
}
+char *getCustomSoundConfigFilename()
+{
+ return getCustomSoundFilename(SOUNDSINFO_FILENAME);
+}
+
char *getCustomMusicDirectory(void)
{
static char *directory = NULL;
if (strcmp(keyname, "(undefined)") != 0 &&
strcmp(keyname, "(unknown)") != 0)
{
- for (i=strlen(entry); i<50; i++)
+ /* add at least one whitespace */
+ strcat(entry, " ");
+ for (i=strlen(entry); i<TOKEN_COMMENT_POSITION; i++)
strcat(entry, " ");
strcat(entry, "# ");