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

Method PopMenu

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

Source from the content-addressed store, hash-verified

226 }
227
228 static void PopMenu() {
229 S.StartLocalSound(menu_out_sound);
230 m_menudepth--;
231 if (m_menudepth < 0)
232 Com.Error(ERR_FATAL, "PopMenu: depth < 1");
233
234 if (0 < m_menudepth){
235 m_drawfunc = m_layers[m_menudepth-1].draw;
236 m_keyfunc = m_layers[m_menudepth-1].key;
237 }
238
239 if (0 == m_menudepth)
240 ForceMenuOff();
241
242
243 }
244
245 private static String Default_MenuKey(menuframework_s m, int key) {
246 String sound = null;

Callers 5

Default_MenuKeyMethod · 0.95
Main_KeyMethod · 0.95
Credits_KeyMethod · 0.95
Quit_KeyMethod · 0.95
MenuKeyMethod · 0.95

Calls 3

StartLocalSoundMethod · 0.95
ErrorMethod · 0.95
ForceMenuOffMethod · 0.95

Tested by

no test coverage detected