Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
New wizard for Directx9
Biplab:
I'm attaching the latest modification. You'll get the option to select DirectX 8 / DirectX 9 and setup the project accordingly. But default sample needs to be changed. So just remove the default generated file and attach your own code to the project.
BTW, I've never used DirectX for any of my project. So there could be errors in Project setup. Please feel free to modify it and post it.
I need couple of infos:
1. I'm using Win32-api-3.9 and MinGW runtime 3.12 to compile DirectX sample. But there is no DirectX 8 headers and thus I can't test it.
2. Are Direct X headers and libraries are available separately for MinGW??
Regards,
Biplab
[attachment deleted by admin]
MortenMacFly:
--- Quote from: Biplab on June 01, 2007, 12:29:43 pm ---1. I'm using Win32-api-3.9 and MinGW runtime 3.12 to compile DirectX sample. But there is no DirectX 8 headers and thus I can't test it.
2. Are Direct X headers and libraries are available separately for MinGW??
--- End quote ---
I use a DevPak for Direct/X This includes the DX8 and DX9 SDK and works together with MinGW. Anyways - when I searched the DevPak site for it it was no longer available...?! Google revealed that there were obviously some copyright stuff going on so it has been removed. Either you can find it somewhere yourself or I can make you a package accordingly (have to be at home for this). Tell me what you want/need.
With regards, Morten.
Biplab:
--- Quote from: MortenMacFly on June 01, 2007, 01:25:18 pm ---Google revealed that there were obviously some copyright stuff going on so it has been removed.
--- End quote ---
Then it's an issue. :)
--- Quote from: MortenMacFly on June 01, 2007, 01:25:18 pm ---Either you can find it somewhere yourself or I can make you a package accordingly (have to be at home for this). Tell me what you want/need.
--- End quote ---
If possible, you may test the wizard with your package and make changes accordingly. Or if you've good link to package, you may post it. :)
Regards,
Biplab
MortenMacFly:
--- Quote from: Biplab on June 01, 2007, 01:31:25 pm ---If possible, you may test the wizard with your package and make changes accordingly. Or if you've good link to package, you may post it. :)
--- End quote ---
Did that and revealed an issue:
If I choose the folder for the project the "resulting filename" is somehow broken. The drive letter is always missing - thus, if I continue I receive an error message the project could not be created. On second thoughts... this cannot be from the DX wizard, right?! Were there any relevant changes recently? I remember it was working last week (with other wizards I used)...
--- Quote from: Biplab on June 01, 2007, 01:31:25 pm ---Or if you've good link to package, you may post it. :)
--- End quote ---
Here are two:
http://old.devpaks.org/show.php?devpak=140
http://www.g-productions.net/plug.php?p=downloads
I'll make a package at home...
With regards, Morten.
[attachment deleted by admin]
patlecat:
biplab you can use the project settings as above from me, this works well under gcc on windows. the directx-sdk is available online from either microsoft (http://msdn.microsoft.com/directx) or any directx book u can buy. my gcc alas only worked fine with dx9.0c from Aug06, no older version! i can craft you a template-code file for dx9 if you wish, i didnt care to look into the dx8 code, but i had to modify it for dx9 because it didnt run with dx9 out of the box.
and please dont add any dx10 stuff yet - unless there is someone who really knows his shit with it! it will surely break the code again.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version