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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user