porting Allegro code over to SDL |
porting Allegro code over to SDL |
Donny Viszneki
Guest
|
Well I would start by isolating all the Allegro APIs that you need.
You may find there are other libraries out there that implement the same functionality independently of a larger lib, and where applicable, possibly on top of SDL APIs. On Mon, Nov 30, 2009 at 8:39 AM, albert wrote:
-- http://codebad.com/ _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
albert
|
Do you (or anyone) know any other projects where such work was done?
(I'll crawl myself now a bit but not sure if I'll find something this way.) Edit: First thing I found: http://www.google.com/codesearch/p?hl=en#kEkH0HJetBU/pub/NetBSD/packages/distfiles/raines-0.40.2.tar.bz2|AsYpJGGnM3g/raine/source/sdl/&q=allegro.h%20SDL (raines project) Very very small wrapper though, mostly just a converter from Allegros surface to SDLs surface - almost all other functions are missing. |
|||||||||||
|
porting Allegro code over to SDL |
Jonny D
|
My suggestion is to gather the functions that you need and post them
(or a link to a page displaying them) on this mailing list. I think any sort of SDL wrapper of Allegro (assuming one does not exist) would be useful to many people who wouldn't switch for loss of codebase. I'd do what I could to provide some implementations and I'm sure other people would chip in, making your job easier. Jonny D On Mon, Nov 30, 2009 at 9:19 AM, albert wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
albert
|
|
|||||||||||
|
albert
|
Ok, I am finished, at least I have the project compiling now, i.e. I have added all functions which I need for this project.
http://openlierox.git.sourceforge.net/git/gitweb.cgi?p=openlierox/openlierox;a=blob;f=src/gusanos/src/allegro.h;hb=526a90029e6c3cf463ea1f1e54613917f77585ce Now I just have to implement those... |
|||||||||||
|