Re: [dev] Introducing the imagefile-format

From: Charlie Murphy <cmsmurp00_AT_gmail.com>
Date: Fri, 8 Aug 2014 15:14:32 -0400

Here's an SDL loader for imagefile. If you are familiar with SDL_image's
syntax, you shouldn't have any problems.

SDL_Surface *IF_Load(char *name);
        Returns an SDL surface made from an imagefile on the hard drive.

SDL_Surface *IF_Load_RW(SDL_RWops *ctx);
        Returns an SDL_Surface made from an imagefile in an SDL_RWops
        structure.

Loading bzip2 images is explained in the README.

Good luck!
Charlie Murphy


Received on Fri Aug 08 2014 - 21:14:32 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 08 2014 - 21:24:07 CEST