Jump to content
  • Advertisement

Archived

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

protomor

Basic DX engine

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

Ive been reading through alot of books and I understand quite a bit but I dont feel like doing all the initialization code. Does anyone know where I can get the most basic,bare bones direct3d engine?

Share this post


Link to post
Share on other sites
Advertisement
As to the compile errors, you might want to read his early tutorials. I think he covers setting up your build environment.

You can''t edit the files because they are read-only. Remove the read-only attribute from the files and you should be ok.

Share this post


Link to post
Share on other sites
hmm, it was a read only problem. Ok ill read threw the tutorials... theres alot of em.
If anyone knows a quick fix heres the errors:
C:\dx\dhEngine.h(181) : error C2065: ''D3DRS_NORMALORDER'' : undeclared identifier
C:\dx\dhEngine.h(181) : error C2057: expected constant expression
C:\dx\dhEngine.h(224) : warning C4200: nonstandard extension used : zero-sized array in struct/union
C:\dx\dhEngine.h(226) : error C2229: class ''dhEngine'' has an illegal zero-sized array

Share this post


Link to post
Share on other sites
quote:
Ive been reading through alot of books and I understand quite a bit but I dont feel like doing all the initialization code. Does anyone know where I can get the most basic,bare bones direct3d engine?


Don''t you think that you''re being a little lazy? If you don''t want to that one little thing, then what''re you doing programming. Why don''t you just put it in a class or function?

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!