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

9 commits

Author SHA1 Message Date
Firew0lf
5494f3d2e5 Added some sleep mode related functions, fixed the example, fixed some things 2016-05-09 23:28:41 +02:00
Reuh
358b68c643 Renamed item.fileSize to item.size in fs.list() return value, enabled 3D in the editor, added a lot of missing documentation
For the return values, I followed this rule: if the fuction returns true on success, it should return false, error on error; for every other case it should return nil, error on error.

Also, who doesn't want to edit code in 3D ? The line depth depends on the indentation level.
2016-04-22 13:42:59 +02:00
Firew0lf
e7ff54d58c Added SSL support to sockets, Added console/stdout support, Removed apt.init/apt.shutdown, Added some SSL options to httpc
The console can __not__ be used with gfx.start() on a screen. You don't have to gfx.render() while print()ing, but you should do it when you are in the main loop.
The SSL sockets don't work with Citra.
2016-04-10 01:47:52 +02:00
Firew0lf
2e782ed9ea Updated to the latest ctrulib, Fixed some minor bugs.
Working with citra, untested on real hardware but should be OK.
IR should now work.
Let's add some 3D drawing and sound now !
2015-12-14 23:11:45 +01:00
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
070a0d698e Added documentation for the ctr.hid, ctr.ptm, ctr.news and ctr.gfx.texture 2015-09-13 14:39:12 +02:00
Firew0lf
79f4086cf0 Removed some "(lua_Integer)", Fixed some pointers-related stuff 2015-08-18 19:30:53 +02:00
Reuh
aee36e6925 Fixed typos; should compile now 2015-08-18 12:41:28 +02:00
Firew0lf
cec806bb78 Added the PTM services API. Should work. 2015-08-18 12:24:36 +02:00