1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-29 00:05:50 +00:00
Aquaria/files
fgenesis 86d2fcebda Fix problematic Lua init and add user setting to keep 'os' and 'io' functions.
From the Lua 5.1 manual:
"The luaopen_* functions (to open libraries) cannot be called directly,
like a regular C function. They must be called through Lua,
like a Lua function."

All standard tables are now loaded with luaL_openlibs(), which includes os and io.
Because these are inherently unsafe, there is a new config setting:
<AllowDangerousScriptFunctions on="1" />
This is disabled by default.
The title screen will show a warning when the setting is on.
2014-05-16 01:03:54 +02:00
..
data Fix problematic Lua init and add user setting to keep 'os' and 'io' functions. 2014-05-16 01:03:54 +02:00
gfx Replace modselector gfx, part 1 2013-07-26 23:38:37 +02:00
locales/ru Add custom upper<->lowercase translation tables for better localization support. 2013-11-14 17:58:33 +01:00
scripts Move scripts to files, to make automated overriding easier 2013-11-17 02:23:39 +01:00