Ejemplo n.º 1
0
        public void Initalize(SA_Tools.Game game, string projectName, string projectFolder,
                              string modFolder, Dictionary <string, AssemblyType> assemblies)
        {
            this.projectFolder = projectFolder;
            this.modFolder     = modFolder;
            this.assemblies    = assemblies;

            LoadingLabel.Visible = true;
        }
Ejemplo n.º 2
0
        public string GetExecutableForGame(SA_Tools.Game game)
        {
            switch (game)
            {
            case Game.SA1:
            case Game.SA2:
                throw new System.NotSupportedException();

            case Game.SADX:
                return("sonic.exe");

            case Game.SA2B:
                return("sonic2App.exe");

            default:
                throw new System.NotSupportedException();
            }
        }
Ejemplo n.º 3
0
        public string GetGamePath(SA_Tools.Game game)
        {
            switch (game)
            {
            case Game.SA1:
            case Game.SA2:
                throw new System.NotSupportedException();

            case Game.SADX:
                return(SADXPCPath);

            case Game.SA2B:
                return(SA2PCPath);

            default:
                throw new System.NotSupportedException();
            }
        }
Ejemplo n.º 4
0
        public string GetModPathForGame(SA_Tools.Game game)
        {
            switch (game)
            {
            case Game.SA1:
            case Game.SA2:
                throw new System.NotSupportedException();

            case Game.SADX:
                return(Path.Combine(SADXPCPath, "mods"));

            case Game.SA2B:
                return(Path.Combine(SA2PCPath, "mods"));

            default:
                throw new System.NotSupportedException();
            }
        }