Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to specify custom cards #51

Closed
wants to merge 7 commits into from

Conversation

draquila
Copy link
Contributor

Created a new flag -C= if given a file, parses the file for custom card definitions and adds them to the cards list. If given a string, parses the string as a semi-colon separated list. I've included a customcards_template.txt to demonstrate the format.

Quite a lot of code, but I've tried to keep the changes limited to the new custom_card.h/.cpp files. I'm using the boost::spirit::qi parser, and I've only tested on OSX and Linux, so please do compile & verify it on Windows before merging. Thanks!

@zachanassian
Copy link
Owner

Included in Version 3.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants