/* always newly create this */
/* create pseudo cave containing default values */
gd_caveset_data = gd_caveset_data_new();
- gd_strcpy(gd_caveset_data->name, _("New caveset"));
+ gd_strcpy(gd_caveset_data->name, getCurrentLevelsetName());
}
/* return number of caves currently in memory. */
byte *TapeCorrectAction_BD(byte *);
boolean TapeIsPlaying_ReplayBD(void);
+char *getCurrentLevelsetName(void);
+
#endif // IMPORT_BD_H
OpenURL(getHashEntry(hash, int2str(hash_key, 0)));
}
+char *getCurrentLevelsetName(void)
+{
+ return leveldir_current->name;
+}
+
// ============================================================================
// tests
void OpenURL(char *);
void OpenURLFromHash(SetupFileHash *, int);
+char *getCurrentLevelsetName(void);
+
void TestGeneratingUUIDs(void);
#endif // TOOLS_H