add game start notification

this is similar to previous commit which adds a "party full"
notification

note: we don't check the notification preference as this should be done
in the notification function and not by the caller. however, it seems
this is only done with DBUS notifications currently? see previous commit
message...
This commit is contained in:
Chris Beck 2014-04-13 18:00:50 -04:00
parent 68d92864f9
commit d8ae9fc970

View File

@ -399,6 +399,7 @@ void wait::start_game()
LOG_NW << "starting game\n";
sound::play_UI_sound(game_config::sounds::mp_game_begins);
game_display::get_singleton()->send_notification(_("Wesnoth"), _ ("Game has begun!"));
}
void wait::layout_children(const SDL_Rect& rect)