MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Script_ShowMenu

Function Script_ShowMenu

code/ui/ui_shared.cpp:2131–2140  ·  view source on GitHub ↗

================= Script_ShowMenu ================= */

Source from the content-addressed store, hash-verified

2129=================
2130*/
2131qboolean Script_ShowMenu(itemDef_t *item, const char **args)
2132{
2133 const char *name;
2134 if (String_Parse(args, &name))
2135 {
2136 Menus_ShowItems(name);
2137 }
2138
2139 return qtrue;
2140}
2141
2142
2143/*

Callers

nothing calls this directly

Calls 2

Menus_ShowItemsFunction · 0.85
String_ParseFunction · 0.70

Tested by

no test coverage detected