Lua scripts: Added the 'table' library. Added GPL headers to DawnBringer's scripts (thanks!). 2 cosmetic fixes in scripts.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1391 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-03-21 15:43:11 +00:00
parent e78b1d03be
commit 0017fbce72
25 changed files with 176 additions and 12 deletions

View File

@@ -999,9 +999,15 @@ void Button_Brush_Factory(void)
// For debug only
// luaL_openlibs(L);
luaopen_base(L);
//luaopen_package(L); // crashes on Windows, for unknown reason
luaopen_table(L);
//luaopen_io(L); // crashes on Windows, for unknown reason
//luaopen_os(L);
//luaopen_string(L);
luaopen_math(L);
//luaopen_debug(L);
strcat(scriptdir, selected_script);