[Commits] [wesnoth/wesnoth] bf510e: Pause the music when the game loses focus

GitHub noreply at github.com
Sat Jul 30 05:49:22 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: bf510e78863202222bb67d4cc4f210bc908381be
      https://github.com/wesnoth/wesnoth/commit/bf510e78863202222bb67d4cc4f210bc908381be
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M src/game_launcher.cpp
    M src/game_launcher.hpp
    M src/sound.cpp
    M src/sound.hpp

  Log Message:
  -----------
  Pause the music when the game loses focus


  Commit: 31871daa71681a23549764bb02d9a9dcdeea9f15
      https://github.com/wesnoth/wesnoth/commit/31871daa71681a23549764bb02d9a9dcdeea9f15
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M src/preferences.cpp
    M src/preferences.hpp
    M src/sound.cpp

  Log Message:
  -----------
  Make it a preference whether music should be muted in background

No UI for the preference yet.


  Commit: b7b6531a6f0aec67ad2613de5714e31ca016adce
      https://github.com/wesnoth/wesnoth/commit/b7b6531a6f0aec67ad2613de5714e31ca016adce
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M data/gui/window/preferences/04_sound.cfg
    M src/gui/dialogs/preferences_dialog.cpp

  Log Message:
  -----------
  Add a checkbox for the "stop music in background" preference


  Commit: 56e2a733e50e70d0132d4310c3363132d5c3298f
      https://github.com/wesnoth/wesnoth/commit/56e2a733e50e70d0132d4310c3363132d5c3298f
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-07-30 (Sat, 30 Jul 2016)

  Changed paths:
    M data/gui/window/preferences/04_sound.cfg
    M src/game_launcher.cpp
    M src/game_launcher.hpp
    M src/gui/dialogs/preferences_dialog.cpp
    M src/preferences.cpp
    M src/preferences.hpp
    M src/sound.cpp
    M src/sound.hpp

  Log Message:
  -----------
  Merge pull request #674 from jyrkive/mute-in-background

Mute the music when the game loses focus


Compare: https://github.com/wesnoth/wesnoth/compare/fbef58a29ae6...56e2a733e50e


More information about the Commits mailing list