Jump to content
  • Advertisement
Sign in to follow this  
DrGUI

Changes from Dec DX to April DX

This topic is 4885 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!