()
| 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 ================ |
no test coverage detected