antirez/load81 — pull request #20 by cskyzi (2012-03-08 04:31:13+00:00)
Title: sprite experiment

I was experimenting with sprites which might be a cool feature.

This uses SDL_Image to load an image. Currently it only handles 24 bit RGB png. Needs some flexibility to handle other formats like 32-bit RGBA. It stores the SDL_Surface pointer in a user data and caches it in the Lua registry.

Feel free to merge, modify or reject with suggestions.