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

Function PC_ParseString

code/ui/ui_shared.cpp:5907–5922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5905}
5906
5907qboolean PC_ParseString(const char **string)
5908{
5909 int hold;
5910
5911 if(parseDataCount < 0)
5912 Com_Error(ERR_FATAL, "PC_ParseString: parseDataCount < 0 (be sure to call PC_StartParseSession!)");
5913
5914 hold = COM_ParseString(&parseData[parseDataCount].bufferCurrent,string);
5915
5916 while (hold==0 && **string == 0)
5917 {
5918 hold = COM_ParseString(&parseData[parseDataCount].bufferCurrent,string);
5919 }
5920
5921 return (qboolean)(hold != 0);
5922}
5923
5924qboolean PC_ParseInt(int *number)
5925{

Callers 15

CL_CgameSystemCallsFunction · 0.85
Asset_ParseFunction · 0.85
PC_ParseStringMemFunction · 0.85
MenuParse_styleFunction · 0.85
MenuParse_descAlignmentFunction · 0.85
MenuParse_backgroundFunction · 0.85
ItemParse_focusSoundFunction · 0.85
ItemParse_asset_modelFunction · 0.85
ItemParse_asset_shaderFunction · 0.85
ItemParse_model_g2skinFunction · 0.85
ItemParse_model_g2animFunction · 0.85
ItemParse_flagFunction · 0.85

Calls 2

Com_ErrorFunction · 0.50
COM_ParseStringFunction · 0.50

Tested by

no test coverage detected