Sign in to follow this  
DrGUI

Changes from Dec DX to April DX

Recommended Posts

DrGUI    402
Hi! I've now got an XP computer so I can upgrade DirectX! Can people please tell me of the changes; the first thing I noticed was the addition of the skipConstant parameter when loading an effect, but I'm sure they'll be other changes too. Oooo- perhaps they've fixed that bug in skeletal animation by now!!! The docs say of skipConstant 'A string of effect parameters that will be ignored by the effect system. The string must be NULL terminated and needs to contain the name of each application-managed constant separated by a semicolon.' I'm not sure what that means as I have to set all needed effect parameters in code anyway, one way or another. Cheers

Share this post


Link to post
Share on other sites
DrGUI    402
Hmmm...I used to call:
m_ScoreFont.FontResource.DrawText(null, m_ScoreString1, ref m_ScoreRect1, Direct3D.DrawTextFormat.NoClip | Direct3D.DrawTextFormat.CalculateRect, 0);

And now they seem to have wrapped that function in Font.MeasureString so it returns the rectangle, but forgot to take out the colour parameter! Am I wrong or does the colour alter the size of the string :P hehe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this