Esempio n. 1
0
        public App()
            : base()
        {
            // Make Sure We Are Using The Most Recent Graphics Version
            graphics.GraphicsProfile = GraphicsProfile.HiDef;
            graphics.PreferredBackBufferWidth = UserConfig.ResolutionWidth;
            graphics.PreferredBackBufferHeight = UserConfig.ResolutionHeight;

            // Get User Config Parameter For Fullscreen
            graphics.IsFullScreen = UserConfig.UseFullscreen;

            CompanyScreen = new RTS.CompanyScreen();
            WispScreen = new RTS.WispScreen();
            InduZtryScreen = new RTS.InduZtryScreen();
            PressEnterScreen = new RTS.PressEnterScreen();
            LoginScreen = new RTS.LoginScreen();
            MenuScreen = new RTS.MenuScreen();
            LobbyScreen = new RTS.LobbyScreen();
            LoadScreen = new RTS.LoadScreen();
            RTSScreen = new RTS.RTSScreen();
            LEScreen = new RTS.LEScreen();
            ColorSchemeScreen = new RTS.ColorSchemeScreen();
            OptionsScreen = new RTS.OptionsScreen();
        }
Esempio n. 2
0
        public App()
            : base()
        {
            // Make Sure We Are Using The Most Recent Graphics Version
            graphics.GraphicsProfile           = GraphicsProfile.HiDef;
            graphics.PreferredBackBufferWidth  = UserConfig.ResolutionWidth;
            graphics.PreferredBackBufferHeight = UserConfig.ResolutionHeight;

            // Get User Config Parameter For Fullscreen
            graphics.IsFullScreen = UserConfig.UseFullscreen;

            CompanyScreen     = new RTS.CompanyScreen();
            WispScreen        = new RTS.WispScreen();
            InduZtryScreen    = new RTS.InduZtryScreen();
            PressEnterScreen  = new RTS.PressEnterScreen();
            LoginScreen       = new RTS.LoginScreen();
            MenuScreen        = new RTS.MenuScreen();
            LobbyScreen       = new RTS.LobbyScreen();
            LoadScreen        = new RTS.LoadScreen();
            RTSScreen         = new RTS.RTSScreen();
            LEScreen          = new RTS.LEScreen();
            ColorSchemeScreen = new RTS.ColorSchemeScreen();
            OptionsScreen     = new RTS.OptionsScreen();
        }