mac osx support
now...ish
it already is, sorta. I've got SDL and native ports of it, though fullscreen is currently broken(ish). I also think my kludge to work around the built in font is pretty ugly, but I haven't been motivated enough to fix it.
source is here: http://66.93.17.228/Irrlicht/irrlichtnx.tar.bz2
if you want OS X.2 compatable frameworks (meaning no swprintf support)
Embeddable (put in ~/Library/Frameworks, then copy the framework into your application using a copy files build phase)
http://66.93.17.228/Irrlicht/nxframework.tar.bz2
http://66.93.17.228/Irrlicht/nxSDLframework.tar.bz2
the Tech Demo compiled for X.2 is here (FPS stuff I think I had to comment out because it used swprintf):
http://66.93.17.228/Irrlicht/TechDemo.tar.bz2
http://66.93.17.228/Irrlicht/TechDemoSDL.tar.bz2
when you get the file, extract it with stuffit expander or the command
tar xvfj irrlichtnx.tar.bz2
The native version is a bit flaky because I need to rewrite a chunk of the cursor and event stuff. It also has some "unmaclike" stuff, like finding the media directory in ../../media (relative to where the .app is at). Honestly, I think the whole device driver should be rewritten in objective C and therefore get supported unified device code. I wrote the window code in AGL, but because that isn't a supported API, wrote the fullscreen code in Core Graphics. That makes the driver a bit more bloated than other OS drivers.
If you use my project builder project, keep in mind that the last three loaders won't have media because they were tests for other people and have media they probably don't want me to distribute. As soon as Tiger is released, I'm killing OS X.2 support and upgrading my mac. Irrlicht really has a lot of problems with X.2, even in its current incarnation, and I had to hack out portions of the example because of the wchar stuff - which is all included in X.3. A problem that exists in OS X.2 and may or may not exist in X.3 or later is the command line requiring examples (all non-GUI using ones) need an fflush(stdout) after printing the command line options (e.g. the driver to use).
source is here: http://66.93.17.228/Irrlicht/irrlichtnx.tar.bz2
if you want OS X.2 compatable frameworks (meaning no swprintf support)
Embeddable (put in ~/Library/Frameworks, then copy the framework into your application using a copy files build phase)
http://66.93.17.228/Irrlicht/nxframework.tar.bz2
http://66.93.17.228/Irrlicht/nxSDLframework.tar.bz2
the Tech Demo compiled for X.2 is here (FPS stuff I think I had to comment out because it used swprintf):
http://66.93.17.228/Irrlicht/TechDemo.tar.bz2
http://66.93.17.228/Irrlicht/TechDemoSDL.tar.bz2
when you get the file, extract it with stuffit expander or the command
tar xvfj irrlichtnx.tar.bz2
The native version is a bit flaky because I need to rewrite a chunk of the cursor and event stuff. It also has some "unmaclike" stuff, like finding the media directory in ../../media (relative to where the .app is at). Honestly, I think the whole device driver should be rewritten in objective C and therefore get supported unified device code. I wrote the window code in AGL, but because that isn't a supported API, wrote the fullscreen code in Core Graphics. That makes the driver a bit more bloated than other OS drivers.
If you use my project builder project, keep in mind that the last three loaders won't have media because they were tests for other people and have media they probably don't want me to distribute. As soon as Tiger is released, I'm killing OS X.2 support and upgrading my mac. Irrlicht really has a lot of problems with X.2, even in its current incarnation, and I had to hack out portions of the example because of the wchar stuff - which is all included in X.3. A problem that exists in OS X.2 and may or may not exist in X.3 or later is the command line requiring examples (all non-GUI using ones) need an fflush(stdout) after printing the command line options (e.g. the driver to use).
-
DrAnonymous
- Posts: 34
- Joined: Thu Aug 04, 2005 9:37 pm