Thread: Some questions
View Single Post
Re: Some questions
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default 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..
  
Reply With Quote