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

Method DrawLoading

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

Source from the content-addressed store, hash-verified

483 * ============== SCR_DrawLoading ==============
484 */
485 private static void DrawLoading() {
486 Dimension dim = new Dimension();
487
488 if (scr_draw_loading == 0)
489 return;
490
491 scr_draw_loading = 0;
492 ClientGlobals.re.DrawGetPicSize(dim, "loading");
493 ClientGlobals.re.DrawPic((ClientGlobals.viddef.getWidth() - dim.width) / 2,
494 (ClientGlobals.viddef.getHeight() - dim.height) / 2, "loading");
495 }
496
497 // =============================================================================
498

Callers 1

UpdateScreen2Method · 0.95

Calls 4

getWidthMethod · 0.80
getHeightMethod · 0.80
DrawGetPicSizeMethod · 0.65
DrawPicMethod · 0.65

Tested by

no test coverage detected