Here is the actual code, some functions are missing (while i'm
actually not using them), but i already use it in my game engine (
http://williamkramps.rashitoul.net/pocengine ) (for bfr and others).
The next version of the engine will use ocamlsdl instead of my old
dirty implementation of sdl binding.
Waiting for testing and feedback (bugs should exist).
On Thu, 24 Mar 2005 12:55:03 +0100 (CET), Olivier Andrieu
> (sorry for the late reply)
> > Julien Boulnois [Thu, 17 Mar 2005]:
> > I was using my own SDL binding for my project and now I want to use
> > ocamlsdl. The problem is that i need some functions coming from
> > SDL_gfx. I have made a partial binding to SDL_gfx (primitives and
> > rotozoom) but the question now is how to integrate this into
> > ocamlsdl ?
> Well first, this code need not be completely "integrated" into
> ocamlsdl. You could perfectly maintain a copy of ocamlsdl within your
> project (is it bfr ?), with a couple of additional files for your
> SDL_gfx binding.
> Buf of course I'm happy to add those bindings to ocamlsdl. Thanks for
> > - put the code into ocamlsdl and have sdlgfx like sdlttf and
> > sdlimage ?
> Since SDL_gfx is a separate library, yes it should be a separate ocaml
> library too. Just send me your binding code (C and ML files) and I'll
> integrate them in the configure/Makefile mess.
> > - make another package which need ocamlsdl source to compile ?
> I'd avoid multiplying packages: it's a pain for users to have to
> fetch, compile and install lots of small packages from several places.