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
ab06123f7a
Fixed the QTM documentation, Added an usage note about indexing an object with a number
2015-09-12 19:57:28 +02:00
Firew0lf
337b19f9a7
Merge branch 'master' of https://github.com/Firew0lf/ctruLua
2015-09-12 19:30:31 +02:00
Firew0lf
e94da040f7
Added documentation for gfx.map and ctr.qtm modules
2015-09-12 19:29:11 +02:00
Reuh
486b142e35
Updated README.md
2015-09-12 14:00:23 +02:00
Reuh
0773992b68
Fully documented ctr and ctr.gfx in the C source
...
The documentation can be built using LDoc : run make build-doc
However, there's still a bunch of things to document.
2015-09-12 13:35:21 +02:00
Firew0lf
9d8c499afc
Fixed the QTM __index method
2015-09-12 12:05:04 +02:00
Firew0lf
848fe42096
Finished the QTM library, Added some text in ctr.c
...
The QTM (Headtracking) is not tested on real hardware, and doesn't work in citra.
But should work, maybe. Please update your boot.3dsx to use it without errors.
2015-09-12 00:15:51 +02:00
Reuh
3f48e6e66e
Updated sf2dlib to the latest version of ctrulib
...
We should push these changes to the official sf2dlib repo. One day. Maybe.
2015-09-05 19:44:25 +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
Firewolf
3f995629c0
Hotfixed sprite.lua
...
Removed debug code. Again.
2015-09-02 17:17:33 +02:00
Firew0lf
e0ff7ad9c4
Fixed the the getBox() function (only usable in the library)
2015-09-01 18:23:12 +02:00
Firew0lf
e8471ce6e6
Changed spaces to tabs, Fixed a potential bug, Removed debug stuff
2015-09-01 16:48:49 +02:00
Firew0lf
a4a6e09d74
Added a sprite library (unfinished, but working)
2015-09-01 11:31:09 +02:00
Reuh
6a26be4b43
Added text editor, keyboard lib and stuff in Lua
2015-08-26 12:16:16 +02:00
Firew0lf
800dd6f963
Cleaned up the HTTPC lib
2015-08-24 21:25:25 +02:00
Firew0lf
d3ca4d0360
"Fixed" the HTTPC lib with the crappiest code you've ever seen, Added a (very) small QTM lib
...
Don't look at the HTTPC code !!! Also, the example only work a random number of times.
2015-08-24 20:24:15 +02:00
Firew0lf
2f27ea317c
Merge branch 'master' of https://github.com/Firew0lf/ctruLua
2015-08-23 18:09:44 +02:00
Firew0lf
af9e160668
Added a function to get the available VRAM space, Improved the ctr.news library
2015-08-23 18:07:15 +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
d405bba6ca
I'm a semicolon
2015-08-22 20:53:14 +02:00
Reuh
0af33d0b3a
Cleaned initialisation process
2015-08-22 20:37:45 +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
Firew0lf
3fd2efb77e
Added the HTTPC services. Should work.
2015-08-22 18:44:56 +02:00
Reuh
d662e5509d
Fixed freeze when Lua tried to garbage collect a unloaded texture
2015-08-22 17:52:50 +02:00
Reuh
2a5513473d
Support for special characters in gfx.text; added scrolling to the default shell; updated sftdlib.
...
There is a known bug with different text size in sftdlib.
2015-08-22 16:45:32 +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
819dabcf0f
Added "icon.png" where needed, Added an error in example.lua
2015-08-21 21:20:50 +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
ff6aa8e497
Added the hid.pos3d() function.
...
hid.3d() was not possible. Sorry.
2015-08-21 18:24:21 +02:00
Firew0lf
fd688d0569
Added some functions to the gfx.texture lib
2015-08-21 18:12:32 +02:00
Firew0lf
390fec2b98
Forgot "PLACE_VRAM" in the example
...
Really, how did that happen ?
2015-08-21 17:01:25 +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
Reuh
85d8f60f94
Added fs lib; fs.list working. Added a simple shell.
2015-08-20 21:12:15 +02:00
Firew0lf
551e8e121e
Added the "ctr.ir" library. Maybe it's working.
2015-08-20 18:33:49 +02:00
Reuh
155a2e9805
Renamed os.run to ctr.run ; added ctr.hid.read
...
All other HID functions no longer update inputs when they are called.
2015-08-20 14:05:56 +02:00
Reuh
036c0a03ce
Updated example
...
Now with 85% less eye bleeding. Also moved some dirs so it's more logical.
2015-08-20 12:28:33 +02:00
Reuh
547512c951
Errors in 2D. Cleaned main.c
2015-08-20 11:24:06 +02:00
Reuh
ee4ea72335
Oh well. 3d is actually written 3D
2015-08-20 10:49:43 +02:00
Reuh
9ab25f7518
TABS. TABS EVERYWHERE. Please.
...
Also, gfx.set3D now accept any value (not only boolean), like on Lua. Because why not (Also changed the ctrulib gfxSet3D function to the sf2dlib one).
2015-08-20 10:45:18 +02:00
Firew0lf
58309b39c2
Added the 3D effect
...
Works nice, but can burn your eyes.
Warning: the example can actually burn your eyes.
2015-08-20 01:26:21 +02:00
Firew0lf
1c92eb22c3
I hate my job.
...
I forgot the "/3ds/" in the path >.<
2015-08-20 00:39:52 +02:00
Firew0lf
d45afe5be1
Changed the "main.lua" path to an absolute path.
...
It's much better on hardware. Really.
2015-08-20 00:27:51 +02:00
Firew0lf
94d69c646c
Some enhancements in case of error, should fix some things on hardware.
2015-08-19 23:07:43 +02:00
Firew0lf
ebd3a6804d
Added "ctr.time()", with millisecond precision
2015-08-19 21:19:59 +02:00