Newton .decls file

Blitz3D Forums/Blitz3D Userlibs/Newton .decls file

JoshK(Posted 2004) [#1]
Here is the header file:


And here is what I have so far of the .decls:


I keep running across functions with a single "normals" float parameter. I am guessing this must be a "normals" structure of 3 floats. So this would be done with Blitz types? How do you pass a type to a DLL?


maximo(Posted 2004) [#2]
Go to heaven, dont feck u! You insult us with this generosity! You are 2 generous. Damn I'm swearing tooo much....


JoshK(Posted 2004) [#3]
Don't thank me too soon, it still doesn't work, and this is an area of programming I am not good with.

There are a number of functions that take unsigned bytes, etc., so I guess a wrapper DLL is necessary. I am trying to use the DBPro wrapper DLL, but I keep getting a userlib not found error, no matter what I do...and the DLL is sitting right there.

Here is the DBPro Newton wrapper:
http://walaber.com/ndb/NDB_v130.rar

Here is the wrapper decls file. It keeps saying "userlib not found"?!?!?!?!:
.lib "NDB.dll"
NewtonCreate%()



JoshK(Posted 2004) [#4]
Here is everything together:
Newton.dll
NDB.dll
ndb.decls
newton.bb

http://www.leadwerks.com/post/newton.zip


JoshK(Posted 2004) [#5]
Here is more stuff:
http://www.blitzbasic.com/codearcs/codearcs.php?code=995


Picklesworth(Posted 2004) [#6]
Nice :) Can't wiat for a wrapper.


VIP3R(Posted 2004) [#7]
I'm looking forward to this wrapper too :)


JoshK(Posted 2004) [#8]
It won't come from me.


VIP3R(Posted 2004) [#9]
Oh well, at least you've tried. ODE still looks the most viable and probably the fastest physics lib.

Arkon is talking about selling the wrapper including the source. I don't think he means as a product, I'm guessing he wants to hand over the development of it to someone else. Look at his messages at the base of the ODE sticky thread.


Warren(Posted 2004) [#10]
Best. Thread. Ever.


VIP3R(Posted 2004) [#11]
Nah, you'll find this one much more entertaining...

http://www.blitzmax.com/Community/posts.php?topic=41681