ClearNotify() public static method

public static ClearNotify ( ) : void
return void
コード例 #1
0
ファイル: Screen.cs プロジェクト: multiguy18/SharpQuake
        /// <summary>
        /// SCR_BeginLoadingPlaque
        /// </summary>
        public static void BeginLoadingPlaque()
        {
            Sound.StopAllSounds(true);

            if (Client.cls.state != cactive_t.ca_connected)
            {
                return;
            }
            if (Client.cls.signon != Client.SIGNONS)
            {
                return;
            }

            // redraw with no console and the loading plaque
            Con.ClearNotify();
            CenterTimeOff = 0;
            _ConCurrent   = 0;

            _DrawLoading   = true;
            Scr.FullUpdate = 0;
            Sbar.Changed();
            UpdateScreen();
            _DrawLoading = false;

            Scr.IsDisabledForLoading = true;
            _DisabledTime            = Host.RealTime;
            Scr.FullUpdate           = 0;
        }
コード例 #2
0
ファイル: Screen.cs プロジェクト: multiguy18/SharpQuake
 /// <summary>
 /// SCR_EndLoadingPlaque
 /// </summary>
 public static void EndLoadingPlaque()
 {
     Scr.IsDisabledForLoading = false;
     Scr.FullUpdate           = 0;
     Con.ClearNotify();
 }