There are currently 74 players online.
 
Warsow


 
 

backCoding help: please explain COM_Parse in few words

Forum index
Help / Troubleshooting
Coding help: please explain COM_Parse in few words
Posted by
Post Scroll to bottom
SpOOnman

Member
(118 posts)

I tried to mess with scoreboard and get to:
    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.

kaosone

Member
(222 posts)

#define COM_Parse(data_p)    COM_ParseExt(data_p,qtrue)

;)
splits a string in tokens i think , but didn't look at it


Scroll to top



RSSRSSRSSRSS

Copyright © 2013 Chasseur De Bots

Warsow in social media



Warsow is an indie game developed by group of hobbyists. Please consider giving us a small donation: