1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-01 15:35:47 +00:00
Aquaria/files/data
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
..
animations Add some files missing in the HiB vesions for MacOSX/Linux, for completeness. 2013-07-20 00:52:09 +02:00
shots Add some files missing in the HiB vesions for MacOSX/Linux, for completeness. 2013-07-20 00:52:09 +02:00
achievements.txt Add achievements.txt and russian songs.xml 2012-07-13 16:11:52 +02:00
ingredientnames.txt Some simplifications in ingredient name handling, by Henrik Holst 2012-07-11 22:00:14 +02:00
localecase.txt Add custom upper<->lowercase translation tables for better localization support. 2013-11-14 17:58:33 +01:00
stringbank.txt Fix problematic Lua init and add user setting to keep 'os' and 'io' functions. 2014-05-16 01:03:54 +02:00
worldmap.txt Add missing map #55 to the world map: The whale. 2013-06-23 03:15:55 +02:00