Ejemplo n.º 1
0
        public static void Init()
        {
            Renderer.HudOptions[Renderer.HudElements.MainBorder]     = true;
            Renderer.HudOptions[Renderer.HudElements.HudHeader]      = true;
            Renderer.HudOptions[Renderer.HudElements.HudFooter]      = true;
            Renderer.HudOptions[Renderer.HudElements.SideMenu1]      = true;
            Renderer.HudOptions[Renderer.HudElements.SideMenu2]      = true;
            Renderer.HudOptions[Renderer.HudElements.MainGameBorder] = true;
            //
            Renderer.Update();

            CutSceneManager.DisplayScene("splash_screen");

            //Console.ReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var consoleWnd = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle;

            Imports.SetWindowPos(consoleWnd, 0, 0, 0, 0, 0, Imports.SWP_NOSIZE | Imports.SWP_NOZORDER);

            Init();
            Debug._Init_(true, Path.Combine(MainThread.GameFolderPath, "bin", "errorlog.xml"));
            Renderer.Init();
            FileManager.Init();
            Debug.Clear();
            CutSceneManager.Init();
            MainThread.Init();
            MainThread.MainMenu();

            Console.Clear();

            Console.WriteLine();
            Console.ForegroundColor = ConsoleColor.White;
            Console.WriteLine("Common");
            Console.ForegroundColor = ConsoleColor.Green;
            Console.WriteLine("Uncommon");
            Console.ForegroundColor = ConsoleColor.Blue;
            Console.WriteLine("Rare");
            Console.ForegroundColor = ConsoleColor.Magenta;
            Console.WriteLine("Epic");
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Chaotic");
            Console.ForegroundColor = ConsoleColor.Red;
            Console.WriteLine("Legendary");
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine("Mythical");
            Console.ReadLine();


            Console.ReadLine();
            Exit_Game();
        }