[Commits] [wesnoth/wesnoth] 4c75f6: make side=global the default for [get/set_global_v...

GitHub noreply at github.com
Sun Jul 12 19:58:14 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4c75f6cf66d0da488382b0c578213614f66bd759
      https://github.com/wesnoth/wesnoth/commit/4c75f6cf66d0da488382b0c578213614f66bd759
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-07-12 (Sun, 12 Jul 2015)

  Changed paths:
    M src/persist_var.cpp

  Log Message:
  -----------
  make side=global the default for [get/set_global_variable]

previously this attribute always had to be spcified in networked mp.
This was specially annoing in unsyced contexts where this attribute was
ignored anyway.

See http://gna.org/bugs/?23686


  Commit: 37293b257698fc1499849f13e7982bbb8f339e9e
      https://github.com/wesnoth/wesnoth/commit/37293b257698fc1499849f13e7982bbb8f339e9e
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-07-12 (Sun, 12 Jul 2015)

  Changed paths:
    M src/game_events/menu_item.cpp
    M src/hotkey_handler.cpp
    M src/hotkey_handler_sp.cpp
    M src/play_controller.cpp
    M src/play_controller.hpp

  Log Message:
  -----------
  Fix unsynced wml menu items

https://gna.org/bugs/?23685


  Commit: c449fcbce2174cd8b3c520e9c2021c700896d943
      https://github.com/wesnoth/wesnoth/commit/c449fcbce2174cd8b3c520e9c2021c700896d943
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-07-12 (Sun, 12 Jul 2015)

  Changed paths:
    M src/game_events/menu_item.cpp

  Log Message:
  -----------
  fix unsynced wml menu items

Previously it would casue OOS to use unsynced wml menu items during
moves or other actions.


  Commit: e4962c47f826fdad8e69790b3ce4e5985b592f03
      https://github.com/wesnoth/wesnoth/commit/e4962c47f826fdad8e69790b3ce4e5985b592f03
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-07-12 (Sun, 12 Jul 2015)

  Changed paths:
    M src/actions/undo.cpp
    M src/ai/actions.cpp
    M src/display.cpp
    M src/game_display.cpp
    M src/game_events/menu_item.cpp
    M src/replay.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp
    M src/unit.cpp

  Log Message:
  -----------
  refactor set_scontext_(un)synced classes

renamed set_scontext_local_choice to leave_synced_context and
set_scontext_leave_for_draw to set_scontext_unsynced.
The old names do not fit anymore because set_scontext_leave_for_draw is
also used for wml menu items.

Also simplified the implementation of set_scontext_leave_for_draw.


Compare: https://github.com/wesnoth/wesnoth/compare/95ba1b2206e2...e4962c47f826


More information about the Commits mailing list