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

Method StartGame

client/src/main/java/jake2/client/Menu.java:1903–1914  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1901 private static menuseparator_s s_blankline = new menuseparator_s();
1902
1903 private static void StartGame() {
1904 // disable updates and start the cinematic going
1905 ClientGlobals.cl.servercount = -1;
1906 ForceMenuOff();
1907 Cvar.getInstance().SetValue("deathmatch", 0);
1908 Cvar.getInstance().SetValue("coop", 0);
1909
1910 Cvar.getInstance().SetValue("gamerules", 0); //PGM
1911
1912 Cbuf.AddText("loading ; killserver ; wait ; newgame\n");
1913 ClientGlobals.cls.key_dest = key_game;
1914 }
1915
1916 private static void EasyGameFunc(Object data) {
1917 Cvar.getInstance().ForceSet("skill", "0");

Callers 4

EasyGameFuncMethod · 0.95
MediumGameFuncMethod · 0.95
HardGameFuncMethod · 0.95
NighmareFuncMethod · 0.95

Calls 4

ForceMenuOffMethod · 0.95
getInstanceMethod · 0.95
AddTextMethod · 0.95
SetValueMethod · 0.80

Tested by

no test coverage detected