[Commits] [wesnoth/wesnoth] 9d832b: enable sycned ai actions during synced actions

GitHub noreply at github.com
Wed Apr 23 19:45:23 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9d832bb2e147e7a33df76def60f6b88a65e19ce8
      https://github.com/wesnoth/wesnoth/commit/9d832bb2e147e7a33df76def60f6b88a65e19ce8
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M src/actions/move.cpp
    M src/ai/actions.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp

  Log Message:
  -----------
  enable sycned ai actions during synced actions

we now call a new function run_in_synced_context_if_not_already instead of
run_in_synced_context in ai actions becasue we want to be able to invoke these
functions from inside a synced context. run_in_synced_context_if_not_already
runs the function directy if already inside a synced context. Otherwise it
calls run_in_synced_context.


  Commit: e2fc5d6fbbe63f815dda36d18472fcb23bd5c861
      https://github.com/wesnoth/wesnoth/commit/e2fc5d6fbbe63f815dda36d18472fcb23bd5c861
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M src/synced_context.cpp

  Log Message:
  -----------
  better error message


  Commit: e689c375bc72bd3fc340605ef45c14d666f3ddc3
      https://github.com/wesnoth/wesnoth/commit/e689c375bc72bd3fc340605ef45c14d666f3ddc3
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M src/replay.cpp

  Log Message:
  -----------
  more robust replaying


  Commit: da71e01daa2170c8b813ee50828085b10a6dda3a
      https://github.com/wesnoth/wesnoth/commit/da71e01daa2170c8b813ee50828085b10a6dda3a
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M src/synced_context.cpp

  Log Message:
  -----------
  more robust replaying


  Commit: 1f70827a26ec1be9c4edae9820af744a043d41cb
      https://github.com/wesnoth/wesnoth/commit/1f70827a26ec1be9c4edae9820af744a043d41cb
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

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

  Log Message:
  -----------
  use template for config_assign

this removes code dublication,


  Commit: 72c65112a57a338ebe90255e74b1a77da005c5fc
      https://github.com/wesnoth/wesnoth/commit/72c65112a57a338ebe90255e74b1a77da005c5fc
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

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

  Log Message:
  -----------
  use boost::ref in boost::bind


  Commit: e7552cc8cd788f09e14a972e48e5541bbb102e65
      https://github.com/wesnoth/wesnoth/commit/e7552cc8cd788f09e14a972e48e5541bbb102e65
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-23 (Wed, 23 Apr 2014)

  Changed paths:
    M src/log.cpp

  Log Message:
  -----------
  add code for precise timestamps in log

the code is not used yet, You can set precise_timestamp= true to use it.


Compare: https://github.com/wesnoth/wesnoth/compare/1b577bcd351e...e7552cc8cd78


More information about the Commits mailing list