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

Function Item_Init

code/ui/ui_shared.cpp:2986–2991  ·  view source on GitHub ↗

=============== Item_Init =============== */

Source from the content-addressed store, hash-verified

2984===============
2985*/
2986void Item_Init(itemDef_t *item)
2987{
2988 memset(item, 0, sizeof(itemDef_t));
2989 item->textscale = 0.55f;
2990 Window_Init(&item->window);
2991}
2992
2993/*
2994===============

Callers 1

MenuParse_itemDefFunction · 0.70

Calls 1

Window_InitFunction · 0.70

Tested by

no test coverage detected