Add optional config file sections, selected with CHOOSE
authorPasi Kallinen <paxed@alt.org>
Sat, 2 Sep 2017 09:04:27 +0000 (12:04 +0300)
committerPasi Kallinen <paxed@alt.org>
Sat, 2 Sep 2017 09:21:51 +0000 (12:21 +0300)
commitbfad877fbae926e8fc2d476050a3a9c7c0bf2d35
treec66dd8f15a25bf5817c2c35e8fdc22578c12512a
parenta2f886c665343992008dc8d7c270e7d4f157557e
Add optional config file sections, selected with CHOOSE

Allows the user to define arbitrarily named optional sections
in the config file, and select which of those sections are used.

For example:

  OPTIONS=color
  CHOOSE=char A,char B

  [char A]
  OPTIONS=role:arc,race:dwa,align:law,gender:fem

  [char B]
  OPTIONS=role:wiz,race:elf,align:cha,gender:mal
doc/Guidebook.mn
doc/Guidebook.tex
doc/fixes36.1
src/files.c