RE: [hlcoders] Physical Mayhem bug again! Death by Touch considered harmful??

2006-07-12 Thread bloodykenny
Looks like another symptom of this new Physical Mayhem bug is the "Object attached to Physcannon has no physics object" error I mentioned earlier. I added an assert for it, and it hit it on an ordinary barrel that somehow was lacking a physics object. + m_ModelName {pszValue=0x039452

Re: [hlcoders] Full-screen HudElement

2006-07-12 Thread Garry Newman
I use OnScreenSizeChanged ISurface.h // video mode changing virtual void OnScreenSizeChanged( int nOldWidth, int nOldHeight ) = 0; Does the job I think. On 7/12/06, John Sheu <[EMAIL PROTECTED]> wrote: So what's the best way to make a HudElement full-screen? I've tried out a few approaches,

[hlcoders] Full-screen HudElement

2006-07-12 Thread John Sheu
So what's the best way to make a HudElement full-screen? I've tried out a few approaches, but I'm not sure which one could be considered "correct" in the spirit of VGUI implementation. Note: just setting it 640x480 in HudLayout.res won't work for us widescreeners. Hooking into VidInit(