• Advertisement

Archived

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

Moving from DJGPP to VC++ & DirectX

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

Guest Anonymous Poster
I didnt want to make a new post, but I am also moving from DJGPP to DX and would be thankful for da help.

Share this post


Link to post
Share on other sites
Advertisement
I just made the transition.... I used to use Allegro with DJGPP. The new version of Allegro claims to work with VC++, but I couldn't get it to compile - and I wanted to go into the realm of "enhanced 2D" (using Direct3D to speed up blits, alpha-blits, etc.). I purchased Tricks of the Windows Game Programming Gurus (La Mothe's recent work), which includes an evaluation version of VC++ 6, sat down, and worked through the examples. If you use his framework, you'll be able to do everything you could do with Allegro (except the 3D stuff) pretty quickly. The CD contains a Direct3D tutorial, which I found to be pretty good - a week after purchasing the book, I had an enhanced 2D, light-shaded isometric view up and running (800x600x16 bpp, 60 fps on my PII-450 with TNT2). The transition was amazingly smooth, all things considered.

I'd recommend staying away from the various other DJGPP-ish ways to access DirectX. RSXNT can be forced to create DirectX programs - sort of. They are slow, clunky, and even getting to the point at which you can compile them is a bitch. Likewise, LCC and Cygwin can be made to use the DirectX APIs. These are much closer to DJGPP in spirit - they are basically all ports of GNU C++ - but they are a pain in the butt to get working with Win32/DirectX. Believe me, I spent a good month trying to get RSXNT to do anything useful, and another month working with LCC before I gave up and purchased LaMothe's book!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
thanks, im gona get dat book

Share this post


Link to post
Share on other sites
I was just wondering wether any one had tips about moving from DJGPP to DirectX - In DJGPP I can do graphics and all that but I can't use DirectX, I can create a surface and an object but can't do any thing with it. If somebody could help me out Thanks.

jbrotchie@crosswinds.net
[GaNoN]

Share this post


Link to post
Share on other sites

  • Advertisement