Hey everyone.
I wanted to try using C OBJ files directly in Delphi, as described here:
http://rvelthuis.de/articles/articles-cobjs.html
I decided to use the Chipmunk Physics engine, as it's plain C (otherwise Box2D would've been it):
http://wiki.slembcke.net/main/published/Chipmunk
I got the files building with the free Borland C++ commandline tools, linked the objects in, converted the headers... but things went... a little weird thereafter. I kept getting random crashes.
So I took a look, and with all the headers already converted, I figured I'd just go ahead and port the rest of the code.
So that's what I've done, it's "working", it's got some glaring bugs (demo's 4 and 7), but it's alright to start working with already, I'd think.
It _is_ just a direct port of the C code, and so isn't very Object Pascal-like, but as with the bugs, I'll be improving that situation over time if people are interested too.
So, get it here:
http://www.tisfat.pwp.blueyonder.co....mmy/index.html
Bookmarks