Firew0lf
6b65df0b8e
Fixed some documentation, added some things to sockets, "Fixed" the ROMFS
...
The romfs is still not working, but it works better.
2016-04-13 16:19:25 +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
5107f0277c
Updated sf2dlib, added a "thickness" argument to lines (warning: break some old lines), Added WIP render targets, Added arguments (main file and root path)
...
You'll need to update some of your codes if you used lines with colors, or you'll have some ... Nice line effects.
2016-03-22 21:48:52 +01:00
Firew0lf
e5467b663d
Added ctr.root, close #7 , changed the max path length to 1024
...
ctr.root is not exactly the path to ctruLua.3dsx minus the file name, but is equivalent with HBL and $
(other launchers may work too, and it works perfectly with Citra), and is "romfs:/" if romfs is enabl$
2016-03-12 23:14:42 +01:00
Firew0lf
6a9fbbb133
Added ":addTrustedRootCA()" to the httpc contexts, close #8 , Added some values in ctr.
...
I didn't test :addTrustedRootCA(), but it's just a simple string-to-char+size function.
2016-03-12 19:57:59 +01:00
Firew0lf
499bfa99a3
ADDED THREAD ! Minor changes on other libs.
...
To communicate with a thread, use sockets on localhost, this should work.
Or use the return code, or the "last error", but that's crappy.
For the return code, just `return <number>`; only works with integers.
2016-01-17 12:18:39 +01:00
Firew0lf
ca22cf1558
Added ctr.mic, Added a function to get a µs counter value.
...
Didn't test ctr.mic.
2016-01-05 19:41:25 +01:00
Reuh
7359512ebe
Merge branch 'master' of https://github.com/ctruLua/ctruLua
...
Merge with master
2015-12-27 19:59:55 +01:00
Reuh
bda9de4d1c
ADDED AUDIO! WAV working perfectly
...
Added libogg, libvorbis and libvorbisfile to 3ds_portlibs. You will need to compile thems using make build-portlibs. Opening OGG files works but they play badly.
Added a very simple error handler in main.lua
Added audio example.
Renamed isGfxInitialised to isGfxInitialized.
Did you know? The audio module is the longest ctrµLua module.
2015-12-27 19:54:58 +01:00
Firew0lf
5c4da69997
Added the ctr.apt library, tweaked ctr.news a bit, fixed a typo in cfgu.c
2015-12-24 18:44:22 +01:00
Firew0lf
a8d31de1e4
Added the ctr.cam library (untested but should work)
2015-10-22 16:13:14 +02:00
Firew0lf
8500bcb8fa
ADDED SOCKETS ! Added ROMFS support (maybe), Improved the news library, added a VBLank waiting function
...
Sockets are only very buggy/unstable TCP clients, but working. The library was written from scratch.
2015-10-17 23:15:06 +02:00
Firew0lf
71ddca2bf4
Added the ctr.cfgu lib, to get User Configuration, Added a method in HTTPC
...
Warning: requires the latest ctrulib to build !
2015-10-07 12:08:44 +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
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
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
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
Firew0lf
3fd2efb77e
Added the HTTPC services. Should work.
2015-08-22 18:44:56 +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
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
ebd3a6804d
Added "ctr.time()", with millisecond precision
2015-08-19 21:19:59 +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
0e42f25b8b
Added ctr.hid lib, hid.read() working.
2015-08-18 14:52:20 +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
Firew0lf
4d4838d392
Added the "ctr.news" API. WIP, should not work correctly. Seriously, don't use it. Don't even load it.
2015-08-18 00:34:14 +02:00
Reuh
03baa21c10
Added some code
2015-08-17 18:15:37 +02:00