1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-28 08:49:30 +00:00
Commit graph

18 commits

Author SHA1 Message Date
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
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
0af33d0b3a Cleaned initialisation process 2015-08-22 20:37:45 +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
7896c89e5f Added a basic texture library
Bonus: you can "nil" a texture to destroy it !
2015-08-21 12:39:39 +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
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
b5249e1957 Improved the gfx.startFrame() function to select a screen, Fixed some values now defined with the C ones 2015-08-19 01:46:04 +02:00
Firew0lf
0c2f641c74 Added some values in the gfx lib 2015-08-19 01:36:15 +02:00
Reuh
d21906c684 Added ctr.gfx.line, ctr.gfx.point and ctr.gfx.circle 2015-08-18 17:27:30 +02:00
Reuh
5c0292f914 Added angle support to ctr.gfx.rectangle 2015-08-18 16:55:38 +02:00
Reuh
3441dd266f Added ctr.gfx.color lib; color.setDefault and color.getDefault working 2015-08-18 16:19:11 +02:00
Reuh
2584e46816 Added gfx.startFrame and gfx.endFrame 2015-08-18 15:40:54 +02:00
Reuh
03baa21c10 Added some code 2015-08-17 18:15:37 +02:00