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

11 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
Reuh
347e480d5a Moved ctr.gfx.set|getTextSize to ctr.gfx.font.set|getSize, added missing documentation to font:width
Started working again on the editor
2016-04-21 21:51:45 +02:00
Firew0lf
b798818e99 Fixed the ROMFS, Removed some fields in fs.list(), Updated sftdlib
fs.list() now returns a table with tables containing the fields "name", "fileSize", and "isDirectory"
2016-04-16 13:24:03 +02:00
Reuh
d015918d22 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
Firew0lf
29ed61131d Oops, fixed an error in the gfx.font documentation 2015-09-28 22:52:19 +02:00
Firew0lf
5d0e2a7d81 Documented the font library, Improved the news library (still unusable) 2015-09-28 22:37:03 +02:00
Reuh
45f3216ed8 Updated font and fs lib; updated editor; updated sf2dlib
Libs additions: font.load, font:unload, font:getWidth, fs.getDirectory, fs.setDirectory, fs.exists

Editor additions: syntaxic coloring and mono font

sf2dlib update: you will need the latest version of ctrulib.

Also, because of the lib font needs, the sftdlib was modified.
2015-09-05 19:00:36 +02:00
Reuh
0af33d0b3a Cleaned initialisation process 2015-08-22 20:37:45 +02:00
Reuh
b772a42d28 Added ctr.gfx.getFPS, renamed ctr.hid.read to ctr.hid.keys, unload font from memory when exiting and did some cleaning 2015-08-19 17:14:02 +02:00
Reuh
7edb1e2f7b Added ctr.gfx.text and the Bitsream Vera font 2015-08-19 14:32:53 +02:00