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

Game Specific references. #5

Open
GoogleCodeExporter opened this issue May 20, 2015 · 0 comments
Open

Game Specific references. #5

GoogleCodeExporter opened this issue May 20, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Remove all game specific references such a Fallout or Oblivion.

Describe how it is now.

From MainView.Spells.cs

bool firstwasfallout = false;
                if (r != null && r.Name == "TES4")
                {
                    foreach (SubRecord sr in r.SubRecords)
                    {
                        if (sr.Name == "MAST")
                        {
                            if (sr.GetStrData().ToLowerInvariant() == "skyrim.esm")
                            {
                                firstwasfallout = true;
                            }

                            break;
                        }
                    }
                }

                if (!firstwasfallout)
                {
                    MessageBox.Show("Only works on plugin's whose first master is Skyrim.esm", "Error");
                    return;

Describe the desired change.

make references generic to make way for making Snip work with Morrowind, 
Oblivion, and Skyrim.

Outline the goals/benefits of the enhancement.


Please provide any additional information below.

The game mode should specify what Game Specific information is displaied.

Original issue reported on code.google.com by [email protected] on 22 Sep 2012 at 11:39

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

No branches or pull requests

1 participant