src/table/namegen.h
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5643 3778051e8095
child 6268 4b5241e5dd10
child 6385 06306ca6de73
equal deleted inserted replaced
5649:55c8267c933f 5650:aefc131bf5ce
  1725 	CZA_SHORT = 1,
  1725 	CZA_SHORT = 1,
  1726 	CZA_MIDDLE = 2,
  1726 	CZA_MIDDLE = 2,
  1727 	CZA_LONG = 4,
  1727 	CZA_LONG = 4,
  1728 	CZA_ALL = ~0
  1728 	CZA_ALL = ~0
  1729 } CzechAllow;
  1729 } CzechAllow;
       
  1730 
       
  1731 DECLARE_ENUM_AS_BIT_SET(CzechAllow);
       
  1732 
  1730 // All these flags must be satisfied (in the stem->others direction):
  1733 // All these flags must be satisfied (in the stem->others direction):
  1731 typedef enum CzechChoose {
  1734 typedef enum CzechChoose {
  1732 	CZC_NONE = 0, // No requirements.
  1735 	CZC_NONE = 0, // No requirements.
  1733 	CZC_COLOR = 1,
  1736 	CZC_COLOR = 1,
  1734 	CZC_POSTFIX = 2, // Matched if postfix was inserted.
  1737 	CZC_POSTFIX = 2, // Matched if postfix was inserted.
  1735 	CZC_NOPOSTFIX = 4, // Matched if no postfix was inserted.
  1738 	CZC_NOPOSTFIX = 4, // Matched if no postfix was inserted.
  1736 	CZC_ANY = ~0
  1739 	CZC_ANY = ~0
  1737 } CzechChoose;
  1740 } CzechChoose;
       
  1741 
       
  1742 DECLARE_ENUM_AS_BIT_SET(CzechChoose);
  1738 
  1743 
  1739 typedef struct CzechNameSubst {
  1744 typedef struct CzechNameSubst {
  1740 	CzechGender gender;
  1745 	CzechGender gender;
  1741 	CzechAllow allow;
  1746 	CzechAllow allow;
  1742 	CzechChoose choose;
  1747 	CzechChoose choose;