Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Terraform: public Flags::FlagGroup {
- Flags::Switch remove_corruption =
- Flags::flag(this, "remove_corruption")
- .description("Remove corruption and crimson from tiles in this range");
- Flags::Switch remove_hallow =
- Flags::flag(this, "remove_hallow")
- .description("Remove hallow from tiles in this range");
- Flags::Flag<int> xfrom =
- Flags::flag(this, "xfrom", 'l')
- .description("The left x-coordinate of this region. Defaults to zero.");
- Flags::Flag<int> xto =
- Flags::flag(this, "xto", 'r')
- .description("The right x-coordinate of this region. "
- "Defaults to the width of the world.");
- Flags::Flag<int> yfrom =
- Flags::flag(this, "yfrom", 't')
- .description("The upper y-coordinate of this region. Defaults to zero.");
- Flags::Flag<int> yto =
- Flags::flag(this, "yto", 'b')
- .description("The lower y-coordinate of this region. "
- "Defaults to the height of the world.");
- Terraform(CtorArgs args): FlagGroup(args) {}
- };
- struct TerralysisFlags: public Flags::FlagGroup {
- Flags::Flag<Flags::Repeated<Terraform>> terraforms =
- Flags::flag(this, "terraform", 'T')
- .description("Mass-modify tiles in a given region (or the whole world).");
- Flags::Flag<int> what =
- Flags::flag(this, "what")
- .description("This is a test of the regular flag help printing. I hope they don't hit each other too haaaard...");
- Flags::Flag<vector<int>> teh =
- Flags::flag(this, "teh")
- .description("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut est vitae ipsum venenatis volutpat. Duis imperdiet laoreet lorem accumsan eleifend. Nunc sed risus est. Cras lobortis mi vel interdum varius. Donec et lobortis mi, et euismod odio. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nulla ac orci ac risus mollis consequat. Aenean at tortor sit amet leo semper aliquet non sit amet augue. Nam scelerisque auctor massa vel mattis.").valueName("fawk");
- };
Advertisement
Add Comment
Please, Sign In to add comment