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

Function Script_FadeOut

code/ui/ui_shared.cpp:2097–2106  ·  view source on GitHub ↗

================= Script_FadeOut ================= */

Source from the content-addressed store, hash-verified

2095=================
2096*/
2097qboolean Script_FadeOut(itemDef_t *item, const char **args)
2098{
2099 const char *name;
2100 if (String_Parse(args, &name))
2101 {
2102 Menu_FadeItemByName((menuDef_t *) item->parent, name, qtrue);
2103 }
2104
2105 return qtrue;
2106}
2107
2108/*
2109=================

Callers

nothing calls this directly

Calls 2

String_ParseFunction · 0.70
Menu_FadeItemByNameFunction · 0.70

Tested by

no test coverage detected