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

Function JK2SP_GetStringTextString

code/qcommon/strip.cpp:1194–1205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1192}
1193
1194const char *JK2SP_GetStringTextString(const char *Reference)
1195{
1196 int index;
1197
1198 index = JK2SP_GetStringID(Reference);
1199 if (index == -1)
1200 {
1201 return "";
1202 }
1203
1204 return JK2SP_GetStringText(index);
1205}
1206
1207
1208static void JK2SP_UpdateLanguage(void)

Callers 4

String_GetStringValueFunction · 0.85
CL_CgameSystemCallsFunction · 0.85
Item_Text_PaintFunction · 0.85
SE_GetStringFunction · 0.85

Calls 2

JK2SP_GetStringIDFunction · 0.85
JK2SP_GetStringTextFunction · 0.85

Tested by

no test coverage detected