added game_config::sounds::party_full_sound, defaults to turn bell
and switched multiplayer_connect.cpp to use this sound changed debugging output message
This commit is contained in:
parent
15e9f63c03
commit
880d9f68a9
3 changed files with 5 additions and 4 deletions
|
@ -151,7 +151,8 @@ namespace game_config
|
|||
user_arrive = "arrive.wav",
|
||||
user_leave = "leave.wav",
|
||||
game_user_arrive = "join.wav",
|
||||
game_user_leave = "leave.wav";
|
||||
game_user_leave = "leave.wav",
|
||||
party_full_bell = "bell.wav";
|
||||
|
||||
const std::string button_press = "button.wav",
|
||||
checkbox_release = "checkbox.wav",
|
||||
|
|
|
@ -142,7 +142,7 @@ namespace game_config
|
|||
extern const std::string turn_bell, timer_bell, receive_message,
|
||||
receive_message_highlight, receive_message_friend,
|
||||
receive_message_server, user_arrive, user_leave,
|
||||
game_user_arrive, game_user_leave;
|
||||
game_user_arrive, game_user_leave, party_full_bell;
|
||||
extern const std::string button_press, checkbox_release, slider_adjust,
|
||||
menu_expand, menu_contract, menu_select;
|
||||
}
|
||||
|
|
|
@ -583,8 +583,8 @@ void connect::update_playerlist_state(bool silent)
|
|||
}
|
||||
|
||||
if ((engine_.sides_available() != true) && (silent != true)) {
|
||||
DBG_MP << "play game full sound" << std::endl;
|
||||
sound::play_UI_sound(game_config::sounds::turn_bell);
|
||||
DBG_MP << "play party full sound" << std::endl;
|
||||
sound::play_UI_sound(game_config::sounds::party_full_bell);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue