MCPcopy Create free account
hub / github.com/demoth/jake2 / BeginLoadingPlaque

Method BeginLoadingPlaque

client/src/main/java/jake2/client/SCR.java:558–580  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

556 * ================ SCR_BeginLoadingPlaque ================
557 */
558 public static void BeginLoadingPlaque() {
559 S.StopAllSounds();
560 ClientGlobals.cl.sound_prepped = false; // don't play ambients
561
562 CDAudio.Stop ();
563
564 if (cls.disable_screen != 0)
565 return;
566 if (developer.value != 0)
567 return;
568 if (cls.state == ca_disconnected)
569 return; // if at console, don't bring up the plaque
570 if (cls.key_dest == key_console)
571 return;
572 if (ClientGlobals.cl.cinematictime > 0)
573 scr_draw_loading = 2; // clear to balack first
574 else
575 scr_draw_loading = 1;
576
577 UpdateScreen();
578 cls.disable_screen = Timer.Milliseconds();
579 cls.disable_servercount = ClientGlobals.cl.servercount;
580 }
581
582 /*
583 * ================ SCR_EndLoadingPlaque ================

Callers 3

CLClass · 0.95
Loading_fMethod · 0.95
RunCinematicMethod · 0.95

Calls 4

StopAllSoundsMethod · 0.95
StopMethod · 0.95
UpdateScreenMethod · 0.95
MillisecondsMethod · 0.95

Tested by

no test coverage detected