aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util/lua/loadlib.cpp
AgeCommit message (Collapse)Author
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-25SWORD25: Remove more unused loadlib code + use of fopenMax Horn
The functions loader_C and loader_Croot provably did not do anything besides returning an error, so removing them was safe. For loader_Lua, this was using luaL_loadfile. But that in turn now uses Sword25FileProxy, which only supports loading config.lua, and config.lua is not used via the loadlib mechanism. Therefore, I deemed it safe to also remove this third loader. This leaves loader_preload as only remaining loader. It is probably unused, too, but I did not both to investigate further, as I already achieved my primary goal (getting rid of fopen/fclose use). All other removed functions were unused due to the removal of the first three loader_* functions.
2011-05-23SWORD25: Include scummsys.h from lua.h, partially deal with the consequencesMax Horn
This should help mark the spots that are still non-portable, just follow the FIXMEs.
2011-01-19SWORD25: Strip off unportable functionsEugene Sandulenko
svn-id: r55319
2010-10-18SWORD25: Renamed Lua .c files to .cpp and make it compilableEugene Sandulenko
svn-id: r53568