Exemplo n.º 1
0
        /// <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;
        }
Exemplo n.º 2
0
 /// <summary>
 /// SCR_EndLoadingPlaque
 /// </summary>
 public static void EndLoadingPlaque()
 {
     Scr.IsDisabledForLoading = false;
     Scr.FullUpdate           = 0;
     Con.ClearNotify();
 }