[Commits] [wesnoth/wesnoth] e3db7c: Save custom options data in a more concise way

GitHub noreply at github.com
Thu Oct 5 08:13:21 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e3db7cc225618ab013ad25d94909ff50f04fb67b
      https://github.com/wesnoth/wesnoth/commit/e3db7cc225618ab013ad25d94909ff50f04fb67b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-10-05 (Thu, 05 Oct 2017)

  Changed paths:
    M src/gui/dialogs/multiplayer/mp_options_helper.cpp
    M src/saved_game.cpp

  Log Message:
  -----------
  Save custom options data in a more concise way

Previously, each option's data was saved in its own [option] tag with id= and value= keys:

```
[option]
    id = id
    value = value
[/option]
```

Now they all get saved in a single [options] tag with the id as the key and value as the
key value:

```
[options]
    id = value
[/options]
```

Compatibility with the old format is retained.





More information about the Commits mailing list