@hackage IrrHaskell0.1.1

Haskell binding to the Irrlicht game engine.

sample.hs is an example game written in Haskell using the interface to Irrlicht game engine. The game includes a Functional Reactive Programming Driver to drive few behaviors of the game, thus the tailored interface included in irrlicht_interface.{.hs, .cpp, .h} is being used. The automatically generated interface along with the tool is inside the InterfaceGenerator folder.

Before compiling the sample game, please make sure you changed the IrrlichtHomePath and HaskellHomePath inside Makefile to point to the correct installations of Irrlicht and Haskell. Furthermore, there are a couple of paths inside the sample.hs file which should also be changed to point to appropriate Irrlicht files.

At this point, simple 'make' command should compile the game. If the comiplation is successful, run it by typing ./sample

The interface generator is contained within the InterfaceGenerator folder and should be used in the following way: ./createInterface path-to-Irrlicht-include-folder

where path-to-Irrlicht-include-folder should be for instance: /home/username/Desktop/irrlicht-1.6/include

Maciej Baranski