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

Method DrawPause

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

Source from the content-addressed store, hash-verified

466 * ============== SCR_DrawPause ==============
467 */
468 private static void DrawPause() {
469 Dimension dim = new Dimension();
470
471 if (scr_showpause.value == 0) // turn off for screenshots
472 return;
473
474 if (ClientGlobals.cl_paused.value == 0)
475 return;
476
477 ClientGlobals.re.DrawGetPicSize(dim, "pause");
478 ClientGlobals.re.DrawPic((ClientGlobals.viddef.getWidth() - dim.width) / 2, ClientGlobals.viddef.getHeight() / 2 + 8,
479 "pause");
480 }
481
482 /*
483 * ============== SCR_DrawLoading ==============

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