I'm probably 20% through merging my codebase. Some of these changes from Valve
I just don't fathom. Boggle... so pointless...
bool CPropCombineBall::CreateVPhysics()
{
SetSolid( SOLID_BBOX );
- SetCollisionBounds( Vector(-m_flRadius, -m_flRadius, -m_flRadius),
Vector(m_flRadius, m_flRadius, m_flRadius) );
+
+ float flSize = m_flRadius;
+
+ SetCollisionBounds( Vector(-flSize, -flSize, -flSize), Vector(flSize,
flSize, flSize) );
objectparams_t params = g_PhysDefaultObjectParams;
params.pGameData = static_cast<void *>(this);
int nMaterialIndex = physprops->GetSurfaceIndex("metal_bouncy");
- IPhysicsObject *pPhysicsObject = physenv->CreateSphereObject(
m_flRadius, nMaterialIndex, GetAbsOrigin(), GetAbsAngles(), ¶ms, false );
+ IPhysicsObject *pPhysicsObject = physenv->CreateSphereObject( flSize,
nMaterialIndex, GetAbsOrigin(), GetAbsAngles(), ¶ms, false );
if ( !pPhysicsObject )
return false;
At 2006/08/05 01:04 PM, [EMAIL PROTECTED] wrote:
>As promised, here is the patch file from the last clean SDK to the new clean
>SDK:
>http://tinyurl.com/mjht6
>
>One note, near the very top of the patch it contains my mod name, which you'll
>need to edit. Aside from that, any conflicts you get are your fault... :)
>
>The update is a staggering 365245 lines of diff. One small saving grace is
>that 101073 lines of that is in brand new files.
>
>I'm in the process of reviewing things now to try to figure out which of the
>http://developer.valvesoftware.com/wiki/SDK_Known_Issues_List
>bugs got fixed in this update... Looks like Valve fixed a few of sanity
>things, mainly using Q_strnicmp it seems.
>
>
>At 2006/08/04 05:15 PM, Mike Durand wrote:
>>This is a multi-part message in MIME format.
>>--
>>[ Picked text/plain from multipart/alternative ]
>>Hi Everyone-
>>
>>The new SDK is released and should be available now for update via
>>Steam. I'll be monitoring the list this weekend and will be glad to
>>answer any questions and provide any help that I can.
>>
>>Make sure to check out the release notes.
>>http://developer.valvesoftware.com/wiki/Source_SDK_Release_Notes
>>
>>Enjoy!
>>
>>-Mike
>>
>>
>>
>>
>>--
>>
>>_______________________________________________
>>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