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

Class SCR

client/src/main/java/jake2/client/SCR.java:52–1846  ·  view source on GitHub ↗

SCR

Source from the content-addressed store, hash-verified

50 * SCR
51 */
52public final class SCR extends Globals {
53
54 // cl_scrn.c -- master for refresh, status bar, console, chat, notify, etc
55
56 private static String[][] sb_nums = {
57 { "num_0", "num_1", "num_2", "num_3", "num_4", "num_5", "num_6",
58 "num_7", "num_8", "num_9", "num_minus" },
59 { "anum_0", "anum_1", "anum_2", "anum_3", "anum_4", "anum_5",
60 "anum_6", "anum_7", "anum_8", "anum_9", "anum_minus" } };
61
62 /*
63 * full screen console put up loading plaque blanked background with loading
64 * plaque blanked background with menu cinematics full screen image for quit
65 * and victory
66 *
67 * end of unit intermissions
68 */
69
70 private static float scr_con_current; // aproaches scr_conlines at scr_conspeed
71
72 private static float scr_conlines; // 0.0 to 1.0 lines of console to display
73
74 private static boolean scr_initialized; // ready to draw
75
76 private static int scr_draw_loading;
77
78 // scr_vrect ist in Globals definiert
79 // position of render window on screen
80
81 static cvar_t scr_viewsize;
82
83 private static cvar_t scr_conspeed;
84
85 private static cvar_t scr_centertime;
86
87 private static cvar_t scr_showturtle;
88
89 private static cvar_t scr_showpause;
90
91 private static cvar_t scr_printspeed;
92
93 private static cvar_t scr_netgraph;
94
95 static cvar_t scr_timegraph;
96
97 static cvar_t scr_debuggraph;
98
99 private static cvar_t scr_graphheight;
100
101 private static cvar_t scr_graphscale;
102
103 private static cvar_t scr_graphshift;
104
105 private static cvar_t scr_drawall;
106
107 private static cvar_t fps = new cvar_t();
108
109 private static dirty_t scr_dirty = new dirty_t();

Callers

nothing calls this directly

Calls 1

UpdateScreen2Method · 0.95

Tested by

no test coverage detected