Skip to content
Browse files

added game_config::sounds::party_full_sound, defaults to turn bell

and switched multiplayer_connect.cpp to use this sound
changed debugging output message
  • Loading branch information...
1 parent 15e9f63 commit 880d9f68a92d11be9afced1e8ccf2a8c08a9a243 @cbeck88 committed
Showing with 5 additions and 4 deletions.
  1. +2 −1 src/game_config.cpp
  2. +1 −1 src/game_config.hpp
  3. +2 −2 src/multiplayer_connect.cpp
View
3 src/game_config.cpp
@@ -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",
View
2 src/game_config.hpp
@@ -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;
}
View
4 src/multiplayer_connect.cpp
@@ -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);
}
}

0 comments on commit 880d9f6

Please sign in to comment.
Something went wrong with that request. Please try again.