1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00
Commit graph

18 commits

Author SHA1 Message Date
Firew0lf
b4d025d602 Updated the sf2dlib and sftdlib; Added the gfx.color.hex() function; Added the New3DS CPU mode control.
As the color order of the sf2dlib changed, you have to change it in your code, or use the color.hex() function.
To fix the problems, just change "0xRRGGBBAA" to "0xAABBGGRR".
Also, the shader compiler changed to Picasso, so you'll need it in order to compile.
https://github.com/fincs/picasso
2015-12-09 23:14:23 +01:00
Firew0lf
dcdeec6525 Updated the sftdlib, Added some functions in gfx and gfx.texture 2015-10-09 00:02:23 +02:00
Firew0lf
406e17d321 Fixed the missing "#include <string.h>" 2015-10-02 18:17:51 +02:00
Ruairidh Carmichael
48afdc07b5 Multiple image types 2015-10-02 14:20:53 +01:00
Firew0lf
070a0d698e Added documentation for the ctr.hid, ctr.ptm, ctr.news and ctr.gfx.texture 2015-09-13 14:39:12 +02:00
Firew0lf
a4a6e09d74 Added a sprite library (unfinished, but working) 2015-09-01 11:31:09 +02:00
Reuh
bbdf8d1571 Small tweak, just in case part 2 2015-08-23 10:28:38 +02:00
Firew0lf
f098e4a68e Small tweak, just in case 2015-08-22 23:57:05 +02:00
Reuh
8da0e47ae3 Load texture in RAM by default 2015-08-22 20:07:59 +02:00
Firew0lf
604247f278 Moved ":setBlendColor()" to the texture object, removed useless functions 2015-08-22 19:54:25 +02:00
Reuh
49ae4454d3 Updated sftdlib and sf2dlib 2015-08-22 19:10:37 +02:00
Reuh
d662e5509d Fixed freeze when Lua tried to garbage collect a unloaded texture 2015-08-22 17:52:50 +02:00
Firew0lf
56b47153b7 Added maps (working \o/), small tweaks in texture.c
There shouldn't be any memory leak.
2015-08-22 02:08:30 +02:00
Firew0lf
f580341aff Fixed #1
"gfx.texture.load()" with a bad file name now return "nil" and an error.
2015-08-21 21:18:41 +02:00
Firew0lf
fd688d0569 Added some functions to the gfx.texture lib 2015-08-21 18:12:32 +02:00
Firew0lf
a28a019db3 Added many things in the gfx.texture lib. 2015-08-21 15:59:19 +02:00
Firew0lf
fd885de68a Small fix in texture lib, Added a texture in "example.lua" 2015-08-21 12:48:20 +02:00
Firew0lf
7896c89e5f Added a basic texture library
Bonus: you can "nil" a texture to destroy it !
2015-08-21 12:39:39 +02:00