Join GitHub today
Lua cleanup: remove OOLua, clean up MyLuaMathTypes (also prod sysgen) #1245
MyLuaMathTypes has been rewritten into three components: LuaVector, LuaMatrix and LuaFixed.
The galaxy/sysgen code (Galaxy, Sector, StarSystem, CustomSystem, SystemPath) have been moved into
LmrModel has been updated to use LuaVector and LuaMatrix. There have been some minor renames (
ShipType has been updated to use LuaVector. ShipType no longer loads all the Lua standard libraries, it now only loads base, math and debug. That's still more than we want, but is a little better.
CustomSystems has been rewritten using the normal Lua functions, but provides the same structure as before. As with ShipType, it only loads the standard base, math and debug libraries.
OOLua has been completely removed.