mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 07:23:01 +00:00
Removed luigi sound config
This commit is contained in:
parent
7e1a05a40b
commit
6ad96d5e69
3 changed files with 1 additions and 4 deletions
|
@ -115,5 +115,5 @@ struct Character gCharacters[CT_MAX] = {
|
||||||
|
|
||||||
struct Character* get_character_sound(struct MarioState* m) {
|
struct Character* get_character_sound(struct MarioState* m) {
|
||||||
if (m == NULL || m->character == NULL) { return &gCharacters[CT_MARIO]; }
|
if (m == NULL || m->character == NULL) { return &gCharacters[CT_MARIO]; }
|
||||||
return configLuigiSounds ? m->character : &gCharacters[CT_MARIO];
|
return m->character;
|
||||||
}
|
}
|
|
@ -106,7 +106,6 @@ unsigned int configPlayerInteraction = 1;
|
||||||
unsigned int configPlayerKnockbackStrength = 25;
|
unsigned int configPlayerKnockbackStrength = 25;
|
||||||
bool configStayInLevelAfterStar = 0;
|
bool configStayInLevelAfterStar = 0;
|
||||||
unsigned int configNetworkSystem = 0;
|
unsigned int configNetworkSystem = 0;
|
||||||
bool configLuigiSounds = true;
|
|
||||||
|
|
||||||
static const struct ConfigOption options[] = {
|
static const struct ConfigOption options[] = {
|
||||||
{.name = "fullscreen", .type = CONFIG_TYPE_BOOL, .boolValue = &configWindow.fullscreen},
|
{.name = "fullscreen", .type = CONFIG_TYPE_BOOL, .boolValue = &configWindow.fullscreen},
|
||||||
|
@ -166,7 +165,6 @@ static const struct ConfigOption options[] = {
|
||||||
{.name = "coop_player_knockback_strength", .type = CONFIG_TYPE_UINT , .uintValue = &configPlayerKnockbackStrength},
|
{.name = "coop_player_knockback_strength", .type = CONFIG_TYPE_UINT , .uintValue = &configPlayerKnockbackStrength},
|
||||||
{.name = "coop_stay_in_level_after_star", .type = CONFIG_TYPE_UINT , .boolValue = &configStayInLevelAfterStar},
|
{.name = "coop_stay_in_level_after_star", .type = CONFIG_TYPE_UINT , .boolValue = &configStayInLevelAfterStar},
|
||||||
{.name = "coop_network_system", .type = CONFIG_TYPE_UINT , .uintValue = &configNetworkSystem},
|
{.name = "coop_network_system", .type = CONFIG_TYPE_UINT , .uintValue = &configNetworkSystem},
|
||||||
{.name = "coop_luigi_sounds", .type = CONFIG_TYPE_BOOL , .boolValue = &configLuigiSounds},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Reads an entire line from a file (excluding the newline character) and returns an allocated string
|
// Reads an entire line from a file (excluding the newline character) and returns an allocated string
|
||||||
|
|
|
@ -72,7 +72,6 @@ extern unsigned int configPlayerInteraction;
|
||||||
extern unsigned int configPlayerKnockbackStrength;
|
extern unsigned int configPlayerKnockbackStrength;
|
||||||
extern bool configStayInLevelAfterStar;
|
extern bool configStayInLevelAfterStar;
|
||||||
extern unsigned int configNetworkSystem;
|
extern unsigned int configNetworkSystem;
|
||||||
extern bool configLuigiSounds;
|
|
||||||
|
|
||||||
void configfile_load(const char *filename);
|
void configfile_load(const char *filename);
|
||||||
void configfile_save(const char *filename);
|
void configfile_save(const char *filename);
|
||||||
|
|
Loading…
Reference in a new issue