|
|
|
@ -163,10 +163,10 @@ static struct win_information window_opts[] = {
|
|
|
|
|
static int count_and_validate_soundlibopts(void);
|
|
|
|
|
|
|
|
|
|
struct soundlib_information {
|
|
|
|
|
enum soundlib_ids id;
|
|
|
|
|
const char *const text_id;
|
|
|
|
|
const char *const Url;
|
|
|
|
|
boolean valid;
|
|
|
|
|
enum soundlib_ids id; // The ID of the sound library
|
|
|
|
|
const char *const text_id; // The ID of the text associated with the sound library
|
|
|
|
|
const char *const Url; // A URL to the sound library's homepage or download link
|
|
|
|
|
boolean valid; // Whether or not the sound library is valid (i.e., exists and is properly configured)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
@ -959,14 +959,14 @@ case_insensitive_comp(const char *s1, const char *s2)
|
|
|
|
|
void
|
|
|
|
|
runtime_info_init(void)
|
|
|
|
|
{
|
|
|
|
|
if (!done_runtime_opt_init_once) {
|
|
|
|
|
done_runtime_opt_init_once = 1;
|
|
|
|
|
build_savebones_compat_string();
|
|
|
|
|
if (!done_runtime_opt_init_once) { // Check if runtime info has already been initialized
|
|
|
|
|
done_runtime_opt_init_once = 1; // Mark that runtime info has been initialized
|
|
|
|
|
build_savebones_compat_string(); // Build a string for save file compatibility
|
|
|
|
|
/* construct the current version number */
|
|
|
|
|
make_version();
|
|
|
|
|
make_version();// Constructs the version number of the game
|
|
|
|
|
populate_nomakedefs(&version); /* date.c */
|
|
|
|
|
idxopttext = 0;
|
|
|
|
|
build_options();
|
|
|
|
|
idxopttext = 0;// Set the index of option text to 0
|
|
|
|
|
build_options(); // Construct the game options
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|