www.digitalmars.com         C & C++   DMDScript  

D - update and D3D imports [D Quake anyone]

reply "Mike Wynn" <mike.wynn l8night.co.uk> writes:
Sean Palmer has kindly send me his Direct3D code. which I've put online for
all to use at
http://www.geocities.com/one_mad_alien/dcom_not_dcom.html


and all) anyone fancy porting it to D ?
Aug 10 2003
next sibling parent "Mike Wynn" <mike.wynn l8night.co.uk> writes:
"Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
news:bh6p7s$2lor$1 digitaldaemon.com...
 Sean Palmer has kindly send me his Direct3D code. which I've put online
for
 all to use at
 http://www.geocities.com/one_mad_alien/dcom_not_dcom.html


 and all) anyone fancy porting it to D ?
I've updated my projects.zip file now includes Sean's demo ported to use the current incarnation of my ported win32 headers (patched a little more to work with phobos::windows.d) without the need for any other libs than the standard dmd libs, (quick cheat with a bit of manual dll loading) (the Sean's d3d8 stuff in win32.directx.*** )
Aug 10 2003
prev sibling next sibling parent reply "Carlos Santander B." <carlos8294 msn.com> writes:
"Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
news:bh6p7s$2lor$1 digitaldaemon.com...
| Sean Palmer has kindly send me his Direct3D code. which I've put online
for
| all to use at
| http://www.geocities.com/one_mad_alien/dcom_not_dcom.html
|

| and all) anyone fancy porting it to D ?
|
|
|

I couldn't compile that code. The unittest in vector.d doesn't work, and
there're a couple of missing .lib.
But I found saved somewhere in my disk ddirectx (Burton's library), and it
works well (at least for the examples supplied). I don't know if it's still
available at opend.org.

—————————————————————————
Carlos Santander
"Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
news:bh6p7s$2lor$1 digitaldaemon.com...
| Sean Palmer has kindly send me his Direct3D code. which I've put online
for
| all to use at
| http://www.geocities.com/one_mad_alien/dcom_not_dcom.html
|

| and all) anyone fancy porting it to D ?
|
|
|

I couldn't compile that code. The unittest in vector.d doesn't work, and
there're a couple of missing .lib.
But I found saved somewhere in my disk ddirectx (Burton's library), and it
works well (at least for the examples supplied). I don't know if it's still
available at opend.org.

—————————————————————————
Carlos Santander
Aug 10 2003
next sibling parent "Mike Wynn" <mike.wynn l8night.co.uk> writes:
Sean's code as is, does require you have converted d3d8.lib and dxguid.lib
to OMF from COFF

but it you download my projects.zip file you will see a version that builds
without needing them.
files in `projects\src\d3d` uses the files in `projects\lib\win32\*`
(should only need *=> win32/*.d, win32/directx/*.d)

I've not had the time to make each project in there into a stand alone zip
with the reqd libs/d files
as most share the same win32 ported headers.

don't compile with unittest! does not look like the vector unit test code
actually checks anything.

I guess at some point I'll change from using cygwin make to using digc, so
its a bit more other ppl friendly. (theres a challenge if your up for it).

"Carlos Santander B." <carlos8294 msn.com> wrote in message
news:bh7447$30g4$1 digitaldaemon.com...
 "Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
 news:bh6p7s$2lor$1 digitaldaemon.com...
 | Sean Palmer has kindly send me his Direct3D code. which I've put online
 for
 | all to use at
 | http://www.geocities.com/one_mad_alien/dcom_not_dcom.html
 |

(source
 | and all) anyone fancy porting it to D ?
 |
 |
 |

 I couldn't compile that code. The unittest in vector.d doesn't work, and
 there're a couple of missing .lib.
 But I found saved somewhere in my disk ddirectx (Burton's library), and it
 works well (at least for the examples supplied). I don't know if it's
still
 available at opend.org.
Aug 11 2003
prev sibling parent "Sean L. Palmer" <palmer.sean verizon.net> writes:
The unittest wasn't failing for me.  ;)

It's not important anyhow.  In that sample the vector class isn't used for
anything but storage anyway.  It was a last-minute addition to show how to
do operator overloading in D.

Well I hope it helps somebody somehow.  It's not much, but it lets you get
some triangles on the screen (the hardest part!) and it's small and fairly
simple, and all D!  ;)

Thanks for hosting it, Mike!

Sean

"Carlos Santander B." <carlos8294 msn.com> wrote in message
news:bh7447$30g4$1 digitaldaemon.com...
 "Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
 news:bh6p7s$2lor$1 digitaldaemon.com...
 | Sean Palmer has kindly send me his Direct3D code. which I've put online
 for
 | all to use at
 | http://www.geocities.com/one_mad_alien/dcom_not_dcom.html
 |

(source
 | and all) anyone fancy porting it to D ?
 |
 |
 |

 I couldn't compile that code. The unittest in vector.d doesn't work, and
 there're a couple of missing .lib.
 But I found saved somewhere in my disk ddirectx (Burton's library), and it
 works well (at least for the examples supplied). I don't know if it's
still
 available at opend.org.

 -------------------------
 Carlos Santander
 "Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
 news:bh6p7s$2lor$1 digitaldaemon.com...
 | Sean Palmer has kindly send me his Direct3D code. which I've put online
 for
 | all to use at
 | http://www.geocities.com/one_mad_alien/dcom_not_dcom.html
 |

(source
 | and all) anyone fancy porting it to D ?
 |
 |
 |

 I couldn't compile that code. The unittest in vector.d doesn't work, and
 there're a couple of missing .lib.
 But I found saved somewhere in my disk ddirectx (Burton's library), and it
 works well (at least for the examples supplied). I don't know if it's
still
 available at opend.org.

 -------------------------
 Carlos Santander
Aug 11 2003
prev sibling parent reply Farmer <itsFarmer. freenet.de> writes:
"Mike Wynn" <mike.wynn l8night.co.uk> wrote in 
news:bh6p7s$2lor$1 digitaldaemon.com:


 and all) anyone fancy porting it to D ?
Have you a link at hand for this? I only found 2 links so far: Conversion to managed C++ -http://www.codeproject.com/managedcpp/Quake2.asp Conversion to Delphi -http://www.sulaco.co.za/quake2/
Aug 11 2003
next sibling parent "Carlos Santander B." <carlos8294 msn.com> writes:
"Farmer" <itsFarmer. freenet.de> wrote in message
news:Xns93D4EFA77E0B5itsFarmer 63.105.9.61...
| Have you a link at hand for this?
|
| I only found 2 links so far:
|
| Conversion to managed C++
| -http://www.codeproject.com/managedcpp/Quake2.asp
|
| Conversion to Delphi
| -http://www.sulaco.co.za/quake2/
|
|

 http://www.3dgamers.com/games/quake2/

—————————————————————————
Carlos Santander


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 2003-08-12
Aug 11 2003
prev sibling parent "Mike Wynn" <mike.wynn l8night.co.uk> writes:
"Farmer" <itsFarmer. freenet.de> wrote in message
news:Xns93D4EFA77E0B5itsFarmer 63.105.9.61...
 "Mike Wynn" <mike.wynn l8night.co.uk> wrote in
 news:bh6p7s$2lor$1 digitaldaemon.com:


(source
 and all) anyone fancy porting it to D ?
Have you a link at hand for this? I only found 2 links so far: Conversion to managed C++ -http://www.codeproject.com/managedcpp/Quake2.asp
your right, my error, I got told Quake.net yeah! (by a friend) did not still its managed c++ apparently on clr, still anyone for a D port ?
 Conversion to Delphi
 -http://www.sulaco.co.za/quake2/
Aug 12 2003