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

56 commits

Author SHA1 Message Date
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
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
bea69d4e30 Updated README and Makefile 2015-08-19 16:04:50 +02:00
Firewolf
5f6e36ac48 Oops ... 2015-08-19 15:31:30 +02:00
Firewolf
2ea8c1cc92 Update README.md
"Most recent working build" now links to the Thomas99 (Reuh) website, Added a build status image.
2015-08-19 15:30:25 +02:00
Reuh
7edb1e2f7b Added ctr.gfx.text and the Bitsream Vera font 2015-08-19 14:32:53 +02:00
Firewolf
2dcb9c6aa0 Added a warning
Latest build is not always tested on real hardware !
2015-08-19 02:02:32 +02:00
Firewolf
fb43824464 Added a "most recent working build" link
From Firew0lf only ...
2015-08-19 01:59:41 +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
Firew0lf
8a05ba5bff Added an error in case of missing boot file. 2015-08-18 22:59:04 +02:00
Firew0lf
79f4086cf0 Removed some "(lua_Integer)", Fixed some pointers-related stuff 2015-08-18 19:30:53 +02:00
Firew0lf
12a315b738 Added all the other hid functions 2015-08-18 18:42:56 +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
e8d5c53cbf Added color.get/setBackground and color.RGBA8 2015-08-18 16:37:28 +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
0e42f25b8b Added ctr.hid lib, hid.read() working. 2015-08-18 14:52:20 +02:00
Firewolf
2a85112e92 Create LICENSE 2015-08-18 13:30:11 +02:00
Firewolf
3b59d4f762 Update README.md 2015-08-18 13:15:38 +02:00
Reuh
aee36e6925 Fixed typos; should compile now 2015-08-18 12:41:28 +02:00
Firew0lf
70f44c95c9 Merge branch 'master' of https://github.com/Firew0lf/ctruLua 2015-08-18 12:26:00 +02:00
Firew0lf
cec806bb78 Added the PTM services API. Should work. 2015-08-18 12:24:36 +02:00
Reuh
3a1b03dfab More .gitignore 2015-08-18 12:23:22 +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
Negi Springfield
8ea3cb766f Added a super-awesome lemon-based icon 2015-08-18 01:38:15 +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
64dbc95fde Fix typos in README.md 2015-08-17 21:55:58 +02:00
Reuh
9cd6434ea9 Added simple build intructions 2015-08-17 21:34:02 +02:00
Firewolf
9e55421d24 Create .gitignore 2015-08-17 21:26:30 +02:00
Reuh
ad4da08685 Ooops. 2015-08-17 21:20:25 +02:00
Reuh
f08a153f6f Updated Makefile
Auto build dependicies and added an icon.
2015-08-17 21:13:45 +02:00