Hi,

I'm trying to port this two C/Allegro image filters to the SDL engine but for the D language.
I was trying to make it work under this environment but it keeps on throwing too many errors.

My steps:
1) run cpp.exe to clean all the C file (macros, #ifdef, etc)
2) using the D help file (chm) I've replaced all the variables with their equivalents.

But I get stuck at the Allegro to SDL conversion.

Does anybody know how to convert the code from Allegro to SDL?
Or...
Does anybody know how to make it work with generic buffers? (arrays of bytes, etc)

I'd really appreciated any tips or help because I'm really close to hit my head into the walls. =...(

Regards,

--

Sebastian Javier Lucas
Programmer & Guitar Hero