Added new option to show/hide card borders.
This commit is contained in:
@@ -1293,7 +1293,7 @@ void CardGui::RenderBig(MTGCard* card, const Pos& pos, bool thumb, bool noborder
|
||||
}
|
||||
}*///disabled this for universal border across game, deck editor, etc...
|
||||
//universal border
|
||||
if(!noborder)
|
||||
if(options[Options::SHOWBORDER].number)
|
||||
{
|
||||
if((cardsetname == "2ED"||cardsetname == "RV"||cardsetname == "4ED"||cardsetname == "5ED"||cardsetname == "6ED"||cardsetname == "7ED"||cardsetname == "8ED"||cardsetname == "9ED"||cardsetname == "CHR"||cardsetname == "DM")
|
||||
&& !options[Options::BLKBORDER].number)
|
||||
|
||||
@@ -18,8 +18,9 @@ const string Options::optionNames[] = {
|
||||
"sfxVolume",
|
||||
"difficulty",
|
||||
"cheatmode",
|
||||
"optimizedhand",
|
||||
"cheatmodedecks",
|
||||
"optimizedhand",
|
||||
"cheatmodedecks",
|
||||
"ShowBorder",
|
||||
"BlackBorder",
|
||||
"ShowTokens",
|
||||
"GDVLargeImages",
|
||||
|
||||
@@ -56,6 +56,7 @@ void GameStateOptions::Start()
|
||||
|
||||
optionsList = NEW WGuiList("Misc");
|
||||
optionsList->Add(NEW WGuiHeader("Card Display Options"));
|
||||
optionsList->Add(NEW OptionInteger(Options::SHOWBORDER, "Show Borders"));
|
||||
//black border
|
||||
optionsList->Add(NEW OptionInteger(Options::BLKBORDER, "All Black Border"));
|
||||
//show tokens in editor
|
||||
|
||||
Reference in New Issue
Block a user