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

Method Init

client/src/main/java/jake2/client/V.java:454–471  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

452 (int) ClientGlobals.cl.refdef.viewangles[YAW]));
453
454 public static void Init() {
455 Cmd.AddCommand("gun_next", Gun_Next_f);
456 Cmd.AddCommand("gun_prev", Gun_Prev_f);
457 Cmd.AddCommand("gun_model", Gun_Model_f);
458
459 Cmd.AddCommand("viewpos", Viewpos_f);
460
461 ClientGlobals.crosshair = Cvar.getInstance().Get("crosshair", "0", CVAR_ARCHIVE);
462
463 cl_testblend = Cvar.getInstance().Get("cl_testblend", "0", 0);
464 cl_testparticles = Cvar.getInstance().Get("cl_testparticles", "0", 0);
465 cl_testentities = Cvar.getInstance().Get("cl_testentities", "0", 0);
466 cl_testlights = Cvar.getInstance().Get("cl_testlights", "0", 0);
467
468 cl_flashlight = Cvar.getInstance().Get("cl_flashlight", "0", 0);
469
470 cl_stats = Cvar.getInstance().Get("cl_stats", "0", 0);
471 }
472}

Callers 1

InitMethod · 0.95

Calls 3

AddCommandMethod · 0.95
getInstanceMethod · 0.95
GetMethod · 0.80

Tested by

no test coverage detected