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

22 commits

Author SHA1 Message Date
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
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
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
Reuh
716c42b849 Fixed keyboard and editor colors 2015-12-24 13:15:00 +01:00
Reuh
0efdc23576 Moved library path modifications to main.lua, made all paths relative
The library path can now be easlily modified.

Instead of always launching /3ds/ctruLua/main.lua, ctruLua will now launch the main.lua in the current directory (the ctruLua.3dsx directory when launched with HBL).

On citra, this will be the root of the sdmc directory.
2015-10-25 11:08:27 +01:00
Reuh
0af33d0b3a Cleaned initialisation process 2015-08-22 20:37:45 +02:00
Reuh
85d8f60f94 Added fs lib; fs.list working. Added a simple shell. 2015-08-20 21:12:15 +02:00
Reuh
547512c951 Errors in 2D. Cleaned main.c 2015-08-20 11:24:06 +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
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
Reuh
589d7a68a8 Unload Lua data on exit 2015-08-19 17:59:13 +02:00
Firew0lf
df4ce7ba14 Enhanced the error message for "luaL_dofile(L, BOOTFILE)" 2015-08-19 17:41:53 +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
Firew0lf
8a05ba5bff Added an error in case of missing boot file. 2015-08-18 22:59:04 +02:00
Firew0lf
12a315b738 Added all the other hid functions 2015-08-18 18:42:56 +02:00
Reuh
41672db9f6 Cleaned includes in main.c 2015-08-18 12:14:30 +02:00
Reuh
9e21acf044 Fixed compile warning 2015-08-18 12:05:12 +02:00
Firew0lf
8f42c4f7ab Changes spaces to tabs; Fixed a warning on compilation. 2015-08-18 11:41:39 +02:00
Reuh
03baa21c10 Added some code 2015-08-17 18:15:37 +02:00