[Commits] [wesnoth/wesnoth-old] 04a4ec: define idle controller

GitHub noreply at github.com
Sat Feb 22 02:50:00 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth-old
  Commit: 04a4ec308eaa4d4e5addd059adb815a60d408c8b
      https://github.com/wesnoth/wesnoth-old/commit/04a4ec308eaa4d4e5addd059adb815a60d408c8b
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  define idle controller


  Commit: dd80b16bd6c4133a90e6560058ecd0a5249c3695
      https://github.com/wesnoth/wesnoth-old/commit/dd80b16bd6c4133a90e6560058ecd0a5249c3695
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/playsingle_controller.cpp
    M src/playsingle_controller.hpp

  Log Message:
  -----------
  recognize idle state when such a side's turn occurs

idle side taking control results in a public chat message about it,
and then an infinite loop which can only be escaped by an end turn
exception, with a 100 ms pause inside.

idle behavior determined by "play_idle_loop" function

disable end turn while idle


  Commit: dee271a7fa674fe04d03efd8c15b7333bce71e1f
      https://github.com/wesnoth/wesnoth-old/commit/dee271a7fa674fe04d03efd8c15b7333bce71e1f
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/playturn.cpp

  Log Message:
  -----------
  add option to set disconnected side to idle


  Commit: 15b9385572a3f592358d9d5439734b521eb62ba0
      https://github.com/wesnoth/wesnoth-old/commit/15b9385572a3f592358d9d5439734b521eb62ba0
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/menu_events.cpp
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  add :idle command


  Commit: 78d9b0f3170b5e2f21527849e6a31e6caa3ada6e
      https://github.com/wesnoth/wesnoth-old/commit/78d9b0f3170b5e2f21527849e6a31e6caa3ada6e
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/menu_events.cpp

  Log Message:
  -----------
  add :controller command to query the controller status of a side


  Commit: c8c2f453eaf0fd235f0612a1b7872a042ad5e9f4
      https://github.com/wesnoth/wesnoth-old/commit/c8c2f453eaf0fd235f0612a1b7872a042ad5e9f4
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/gui/dialogs/mp_change_control.cpp
    M src/menu_events.cpp

  Log Message:
  -----------
  :control now handles an idle side by reverting it to human before trying to transfer

also, make :give_control dialog handle idle players correctly

request_control_change is the place to do idle player switching, this handles both
the :control command and the :give_control dialog.


  Commit: c0984d616e1a023ace50cf029bfc4b279adfe760
      https://github.com/wesnoth/wesnoth-old/commit/c0984d616e1a023ace50cf029bfc4b279adfe760
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/menu_events.cpp

  Log Message:
  -----------
  improve performance of :droid when sides are idle


  Commit: 3cbf1087ed2397eff4f32e5f7be7180324eca2e6
      https://github.com/wesnoth/wesnoth-old/commit/3cbf1087ed2397eff4f32e5f7be7180324eca2e6
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M changelog

  Log Message:
  -----------
  update changelog


  Commit: d6c259468661974b820bfdf1f12524288f09b55e
      https://github.com/wesnoth/wesnoth-old/commit/d6c259468661974b820bfdf1f12524288f09b55e
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M src/playmp_controller.cpp
    M src/playmp_controller.hpp
    M src/playsingle_controller.cpp
    M src/playsingle_controller.hpp

  Log Message:
  -----------
  create separate code paths for sp idle notification and mp idle notification

although atm they do the same thing


  Commit: 37b0b8dd6952d24dde0955276fca2ba639f89e94
      https://github.com/wesnoth/wesnoth-old/commit/37b0b8dd6952d24dde0955276fca2ba639f89e94
  Author: cbeck88 <beck.ct at gmail.com>
  Date:   2014-02-21 (Fri, 21 Feb 2014)

  Changed paths:
    M changelog
    M src/gui/dialogs/mp_change_control.cpp
    M src/menu_events.cpp
    M src/playmp_controller.cpp
    M src/playmp_controller.hpp
    M src/playsingle_controller.cpp
    M src/playsingle_controller.hpp
    M src/playturn.cpp
    M src/team.cpp
    M src/team.hpp

  Log Message:
  -----------
  Merge pull request #106 from cbeck88/idle_controller

Idle controller


Compare: https://github.com/wesnoth/wesnoth-old/compare/a07c61c4cf79...37b0b8dd6952


More information about the Commits mailing list