Re: Some questions -
24-12-2004
yes for UTIL_TraceHull ; yes and no for UTIL_TraceLine.
The second one also enables you to call TRACE_LINE with an overloaded parameter which is "ignore_glass". You can also call TRACE_LINE with this parameter explicitly (it's 0x100 I think) but you'll agree that it's more readable this way.
*edit* note to Cheeseh: the hook for tracelines is not in UTIL_TraceLine() but in g_engfuncs.pfnTraceLine(). That is not the same thing at all. UTIL_TraceLine() is just a convenient wrapper for the TraceLine engine function call.
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
Last edited by Pierre-Marie Baty; 24-12-2004 at 00:30..
|