1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00
ctruLua/source
Firew0lf eae356ce80 Added the :save() method to textures, Added support for some image formats
The new image formats are loaded with stb_image, and the textures are saved with stb_image_write.
https://github.com/nothings/stb
You can now load GIFs (not animated), PSD, TGA, HDR, PIC and PNM.
The texture loading still uses sfil for JPEG, PNG, and BMP. You can force the use of stbi by loading with
the "type" argument in texture.load() set to 242 (or anything 5<x<250, but 242 is a good value).
The :save() formats are PNG and BMP only.
2016-03-26 16:49:23 +01:00
..
apt.c Added the ctr.apt library, tweaked ctr.news a bit, fixed a typo in cfgu.c 2015-12-24 18:44:22 +01:00
audio.c Fixed audio looping when using streaming 2016-03-24 18:07:41 +01:00
cam.c Updated to the latest ctrulib, Fixed some minor bugs. 2015-12-14 23:11:45 +01:00
cfgu.c Added some examples, fixed a typo 2015-12-31 15:41:09 +01:00
color.c Updated the sf2dlib and sftdlib; Added the gfx.color.hex() function; Added the New3DS CPU mode control. 2015-12-09 23:14:23 +01:00
ctr.c Updated sf2dlib, added a "thickness" argument to lines (warning: break some old lines), Added WIP render targets, Added arguments (main file and root path) 2016-03-22 21:48:52 +01:00
font.c Ignore the sdmc: prefix in fs.list; added missing space on some strings for the null-termination 2015-10-25 12:03:21 +01:00
font.h Updated font and fs lib; updated editor; updated sf2dlib 2015-09-05 19:00:36 +02:00
fs.c Added ctr.root, close #7, changed the max path length to 1024 2016-03-12 23:14:42 +01:00
gfx.c Added the :save() method to textures, Added support for some image formats 2016-03-26 16:49:23 +01:00
hid.c Updated to the latest ctrulib, Fixed some minor bugs. 2015-12-14 23:11:45 +01:00
httpc.c Updated sf2dlib, added a "thickness" argument to lines (warning: break some old lines), Added WIP render targets, Added arguments (main file and root path) 2016-03-22 21:48:52 +01:00
ir.c Added ":addTrustedRootCA()" to the httpc contexts, close #8, Added some values in ctr. 2016-03-12 19:57:59 +01:00
lzlib.c Moved lzlib to the libs directory (cleaner) 2015-10-04 12:08:25 +02:00
main.c Updated sf2dlib, added a "thickness" argument to lines (warning: break some old lines), Added WIP render targets, Added arguments (main file and root path) 2016-03-22 21:48:52 +01:00
map.c Changed map format to CSV, added ability to load maps from a Lua table 2015-12-30 14:51:51 +01:00
mic.c Added ctr.mic, Added a function to get a µs counter value. 2016-01-05 19:41:25 +01:00
news.c The ctr.news library should now be bug-free ! 2015-12-24 23:58:16 +01:00
ptm.c Updated to the latest ctrulib, Fixed some minor bugs. 2015-12-14 23:11:45 +01:00
qtm.c Updated to the latest ctrulib, Fixed some minor bugs. 2015-12-14 23:11:45 +01:00
socket.c Updated to the latest ctrulib, Fixed some minor bugs. 2015-12-14 23:11:45 +01:00
texture.c Added the :save() method to textures, Added support for some image formats 2016-03-26 16:49:23 +01:00
texture.h Moved ":setBlendColor()" to the texture object, removed useless functions 2015-08-22 19:54:25 +02:00
thread.c ADDED THREAD ! Minor changes on other libs. 2016-01-17 12:18:39 +01:00