LunaLua
LunaLua copied to clipboard
Convert all level codes into plugins or port them into lua
Just now I have found, we still keep useless (are targeted to A2XT Episode 1) level codes to be a part of LunaLua itself. Let's build them as separated DLLs are using internality of LunaLua, but loaded dynamically through LoadLibrary only for a neceesarity for them. (name every library with same name as level file targeted for it). Put all built DLLs into subfolder like lunadll-level-codes. For case of SMBX2 or A2XT episode 2+, those DLLs will not be included. For the case of A2XT Episode 1, those DLLs will be used.
Alternatively, port all of them into Lua and remove from hard code
@Bluenaxela: I'd rather just port that code to Lua, if I were to spend and time on that