I did try the old version, but the compiler complained that it
couldn't find it. ;)

--Bob




On Sun, Sep 27, 2009 at 4:02 PM, Joshua Scarsbrook
<[email protected]> wrote:
> Well valve should have backwards compatabilty code, try the old version.
> aside from that Tony may have some sugestions for the older code, since
> it is defined in a libary then i can not change it.
>
> Bob Somers wrote:
>> So I'm looking through some previous source code we've got, and I
>> noticed that gamerules.cpp used to expose a ShouldCollide function
>> with this signature:
>>
>> ShouldCollide( int collisionGroup0, int collisionGroup1, CBaseEntity
>> *pEnt, CBaseEntity *pPass )
>>
>> but in the newest SDK code it only exposes a function with this signature:
>>
>> ShouldCollide( int collisionGroup0, int collisionGroup1 )
>>
>> Is there any way to either (1) use the previous function signature, so
>> I have access to the entities being tested for collision or (2) use
>> the newer function signature, but somehow get access to the two
>> entities being tested?
>>
>> Thanks.
>>
>> --Bob
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives, 
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>
>>
>>
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to