So Allegro's API is actually quite nice. Much less boilerplate required to get things up and running compared to SFML. Just create a display and an event queue, and then a main loop that calls al_flip_display() and processes events and you're good to go. SFML was such a pain in the ass, requiring creating structures all over the place just to do something as simple as draw a rectangle.
Honestly, Allegro seems like a perfect fit for the backend of a Sphere engine: Its API is very close in structure to the way the Sphere 1.x API is already designed, meaning this should be pretty painless.
What should I return from GetVersion()? I'm assuming 1.5 since that's the API I'm shooting to be compatible with...
Yeah, that's what it is, half of Duktape's API is just macros that call internal functions.
NOT the SoundEffect API though, that's a different beast entirely
Quote from: Lord English on February 06, 2015, 03:00:41 pmYeah, that's what it is, half of Duktape's API is just macros that call internal functions.If that's how it works, the name "Duktape" sounds very appropriate.QuoteNOT the SoundEffect API though, that's a different beast entirelyWell, SoundEffect wasn't a part of Sphere 1.5 anyway.