Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Qoy

Another question (about DirectX 7)

This topic is 6894 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

If I were you, I would ditch the lib that came with the book and make your own specilized one. DirectX wrappers classes are made to handle the general case and not the specific.

Does the book teach you how to use the real directx functions? or do they only give you a bit of information on them, and the rest relies only on thier wrapper classes?

I haven't read the book so I am just interested about what it might have to offer the beginer.

Share this post


Link to post
Share on other sites
Advertisement
DSBCAPS_CTRLDEFAULT has been removed to encourage use of the individual flags that DSBCAPS_CTRLDEFAULT represents. DSBCAPS_CTRLDEFAULT was previously defined as DSBCAPS_CTRLPAN | DSBCAPS_CTRLVOLUME | DSBCAPS_CTRLFREQUENCY. By specifying only the flags you need, you cut down on unnecessary resource usage.

Share this post


Link to post
Share on other sites
Thanks for the info. The only reason I am still using the lib that came with the book is because it's my second game, and I want to get used to the main ideas before I go into the lower level stuff. The book does teach the DirectX functions, and the library isn't provided until the end. Even though it is for the general case, I'm still customizing it a lot until I get what I want with it.

------------------
http://qoy.tripod.com

Share this post


Link to post
Share on other sites
Hello. I've been working on a Pacman clone for a little while now, and I'm using the engine that comes with Windows Game Programming for Dummies. In the Load_WAV function (a function that loads a wav file) it is setting up a DirectSound buffer, and it uses the DSBCAPS_CTRLDEFAULT flag. Before, I was using DirectX 6.1, and that worked fine, but now, with DirectX 7, that doesn't compile, because there is no more DSBCAPS_CTRLDEFAULT. Can anybody tell me what happened to CTRLDEFAULT, or what flags I should use to get the equivalent to it?

Any help is appreciated!

------------------
http://qoy.tripod.com

Share this post


Link to post
Share on other sites

  • 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!