[Commits] [wesnoth/wesnoth] 9ddce3: remove "parent" from classification

GitHub noreply at github.com
Sun Jun 1 17:29:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 9ddce3185403c7654f405abff49a4b8bbe959af1
      https://github.com/wesnoth/wesnoth/commit/9ddce3185403c7654f405abff49a4b8bbe959af1
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-06-01 (Sun, 01 Jun 2014)

  Changed paths:
    M src/gamestatus.cpp
    M src/gamestatus.hpp
    M src/savegame.cpp

  Log Message:
  -----------
  remove "parent" from classification

"parent" is a leftover from a feature that was planned 5 years ago but
was never implemented. To have something like a "tree view" for
savegames in the load dialog.

"parent" gets written but never gets read.

The current code writing the "parent" doesn't really work because it is
only takes the name of the last savefile unrelated of whether there was
a reload, or similar between so for example a "parent" of an sp campaign
save could easily be a mp match save. Also it could produce cycle which
would also be wrong for a tree view.





More information about the Commits mailing list