I know, there are already two existing pascal/Delphi bindings, but both of them have their disadvantages:
- Irr4Delphi: Uses Irrlicht 1.5; Not open-source, not supporting Linux or Mac OS X
- IrrPascal: Uses Irrlicht 1.3; developement halted; not supporting Linux or Mac OS X
I felt the need to create IrrlichtPas primarily for two reasons:
- My main development system is a MacBook Pro with Mac OS X, so I want to use Irrlicht on Mac OS X and the existing Irrlicht bindings do not cover that area
- I had a lot of problems getting SDL to work with Mac OS X Snow Leopard and converting my existing projects. Most of the problems are gone when SDL 1.2.14 was released, but new problems with SDL_gfx came up. That's when I began experimenting with Irrlicht, IrrlichtWrapper and FreePascal.
First of all, I'm actually quite lazy, that's why I didn't write my own Wrapper library, I'm using a slightly modified version of Frank Dodd's excellent IrrlichtWrapper for FreeBasic. I added support for Irrlicht 1.6 and expanded 2D functionality with three procedures (IrrDrawImageElementColor, IrrDraw2DRectangle, IrrSetColorKeyPos). There are still some major issues at the moment like the First-Person-Shooter-Camera not working correctly.
IrrlichtPas has been sucessfully tested on Windows, Linux and Mac OS X.
There are no classes at the moment, just a bunch of functions and procedures.
Here is a screenshot of IrrlichtPas working on Mac OS X Snow Leopard:
![Image](http://freeze-dev.de/blog/wp-content/uploads/2009/10/irrpasmacos-300x187.jpg)
Click on the image to enlarge.
Project Homepage: http://sourceforge.net/projects/irrlichtpas/
There is already an early alpha version for Win32 available which also works on Linux and Mac OS X if you compile the Irrlicht and IrrlichtWrapper libraries yourself. I will try to upload Linux and Mac OS X packages in the next few days.