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

Function String_Init

code/ui/ui_shared.cpp:1389–1408  ·  view source on GitHub ↗

================= String_Init ================= */

Source from the content-addressed store, hash-verified

1387=================
1388*/
1389void String_Init(void)
1390{
1391 int i;
1392
1393 for (i = 0; i < HASH_TABLE_SIZE; i++)
1394 {
1395 strHandle[i] = 0;
1396 }
1397
1398 strHandleCount = 0;
1399 strPoolIndex = 0;
1400 UI_InitMemory();
1401 Item_SetupKeywordHash();
1402 Menu_SetupKeywordHash();
1403
1404 if (DC && DC->getBindingBuf)
1405 {
1406 Controls_GetConfig();
1407 }
1408}
1409
1410
1411

Callers 3

_UI_InitFunction · 0.70
UI_LoadFunction · 0.70
CL_CgameSystemCallsFunction · 0.50

Calls 4

UI_InitMemoryFunction · 0.70
Item_SetupKeywordHashFunction · 0.70
Menu_SetupKeywordHashFunction · 0.70
Controls_GetConfigFunction · 0.70

Tested by

no test coverage detected