Coding help: please explain COM_Parse in few words
I tried to mess with scoreboard and get to:
. That's fine. Then I go to SCR_ParseValue' definition. I see:
. What's COM_Parse behaviour? I cannot find it :/ And why fields kills and deaths are filled with calling the same method SCR_ParseValue with the same argument? I'd be grateful if someone can explain it. I'm just new to Q's engine.
scb_players[scb_playercount].kills = SCR_ParseValue( s );
scb_players[scb_playercount].deaths = SCR_ParseValue( s );
. That's fine. Then I go to SCR_ParseValue' definition. I see:
token = COM_Parse( s );
. What's COM_Parse behaviour? I cannot find it :/ And why fields kills and deaths are filled with calling the same method SCR_ParseValue with the same argument? I'd be grateful if someone can explain it. I'm just new to Q's engine.
#define COM_Parse(data_p) COM_ParseExt(data_p,qtrue)
;)
splits a string in tokens i think , but didn't look at it

