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

Method ConsoleFunc

client/src/main/java/jake2/client/Menu.java:1332–1348  ·  view source on GitHub ↗
(Object unused)

Source from the content-addressed store, hash-verified

1330 }
1331
1332 private static void ConsoleFunc(Object unused) {
1333 /*
1334 * * the proper way to do this is probably to have ToggleConsole_f
1335 * accept a parameter
1336 */
1337
1338 if (ClientGlobals.cl.attractloop) {
1339 Cbuf.AddText("killserver\n");
1340 return;
1341 }
1342
1343 Key.ClearTyping();
1344 Console.ClearNotify();
1345
1346 ForceMenuOff();
1347 ClientGlobals.cls.key_dest = key_console;
1348 }
1349
1350 private static void UpdateSoundQualityFunc(Object unused) {
1351 boolean driverNotChanged = false;

Callers 1

executeMethod · 0.95

Calls 4

AddTextMethod · 0.95
ClearTypingMethod · 0.95
ClearNotifyMethod · 0.95
ForceMenuOffMethod · 0.95

Tested by

no test coverage detected