Re: SDL_image support added to SDL module
Asko Kauppi <[email protected]> Sun, 4 Apr 2004 12:15:07 +0300
| Newsgroups | gmane.comp.lang.lua.luacheia |
|---|---|
| Message-ID | <[email protected]> |
There is one consideration here, though. If having sdl_image is optional, that makes running scripts done by someone else (who had it) possibly fail (if you don't). For this reason, I've taken the 'must have sdl_image' route in LuaX, for guaranteeing script compatibility. -ak 4.4.2004 kello 01:34, Martin Spernau kirjoitti: Very nice, Adrian! > rnsbling SDL_image is one of these 'small details' that make all the > change between 'we have SDL' and a really usefull module. > -Martin > > Adrián Pérez de Castro wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> Hi folks, >> >> As the SDL module already had SDL_image support, what I have just >> done is making some checks in the "configure" script to enable that >> support. I had to tune "sdl_module.cpp" as it lacked the SDL_image >> #include -- neither are are big changes, but it's very useful to load >> bitmaps in other formats different from BMP. Now the SDL_LoadBMP() >> function is able of loading all the file formats supported by the >> SDL_image library installed in the target system. If the library is >> not found, SDL_imge support is not built-in, as you might suspect. >> >> Hope you like this small addition as much as I liked the addition of >> the LXP module (I find XML highly interesting, really :D), >> >> - -- >> Adrián Pérez de Castro >> moebius _at_ eml.cc >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.2 (Darwin) >> >> iD8DBQFAbypYghBwwjayrGQRAik0AJ0dkL1laNAjHBzzwpSHfCxF5g+/EwCfYLOs >> jZuAU3OW32g6r6J/IrLYOak= >> =BiyZ >> -----END PGP SIGNATURE----- >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk >> _______________________________________________ >> Luacheia-list mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/luacheia-list >> >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > Luacheia-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luacheia-list > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click