Пример #1
0
        public static void NewGame()
        {
            var save = new Save();

            save.ExperiencedStories = new List <string>();
            if (DevMode == true)
            {
                if (ProfileName == "98")
                {
                    save.CurrentOS = "98";
                    save.ThemeName = "default98";
                    currentTheme   = new Default98Theme();
                }
                else
                {
                    save.CurrentOS = "95";
                    save.ThemeName = "default95";
                    save.BytesLeft = 536870912;
                    currentTheme   = new Default95Theme();
                }
            }
            else
            {
                save.CurrentOS = "95";
                save.ThemeName = "default95";
                save.BytesLeft = 536870912;
                currentTheme   = new Default95Theme();
            }
            CurrentSave = save;

            CheckFiles();
            SaveGame();
        }
Пример #2
0
        public static void SetTheme()
        {
            switch (CurrentSave.ThemeName)
            {
            case "default95":
                currentTheme = new Default95Theme();
                break;

            case "default98":
                currentTheme = new Default98Theme();
                break;

            case "dangeranimals":
                currentTheme = new DangerousCreaturesTheme();
                break;

            case "insidepc":
                currentTheme = new InsideComputerTheme();
                break;
            }
        }