[Commits] [wesnoth/wesnoth] 440781: remove duplicate information in savefiles

GitHub noreply at github.com
Fri Jan 2 00:15:43 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 440781c73cba8af8dd685a11efb19a78c531378b
      https://github.com/wesnoth/wesnoth/commit/440781c73cba8af8dd685a11efb19a78c531378b
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-01-02 (Fri, 02 Jan 2015)

  Changed paths:
    M src/play_controller.cpp

  Log Message:
  -----------
  remove duplicate information in savefiles

classification is already saved at savefile toplevel outside snapshot.


  Commit: 6f95e108b3c15f609b393701a0a4a0391a0c02de
      https://github.com/wesnoth/wesnoth/commit/6f95e108b3c15f609b393701a0a4a0391a0c02de
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-01-02 (Fri, 02 Jan 2015)

  Changed paths:
    M src/play_controller.cpp

  Log Message:
  -----------
  remove a useless copy.

the new code does not create a temporary copy when saving [display] and
[end_level_data].


  Commit: 3ec831493f397a106ed2b42e3e6be117106cbc0c
      https://github.com/wesnoth/wesnoth/commit/3ec831493f397a106ed2b42e3e6be117106cbc0c
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-01-02 (Fri, 02 Jan 2015)

  Changed paths:
    M src/game_state.cpp
    M src/game_state.hpp
    M src/play_controller.cpp

  Log Message:
  -----------
  use void 'write(config&)' instead of 'config to_config()'

this speeds up play_controller::to_config from 130 milliseconds to 80
milliseconds.


Compare: https://github.com/wesnoth/wesnoth/compare/c080ed5b2142...3ec831493f39


More information about the Commits mailing list