mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-23 13:49:14 +00:00
4275a8a33c
Revert the introduction of the exact copies of FileExists ReadJSONFile functions in MapGenerator.cpp introduced by871ed04521. Include JSInterface_VFS.cpp from MapGenerator.cpp to remove that code while gaining the other missing VFS file loading functions in rmgen/. Split RegisterScriptFunctions of JSInterface_VFS.cpp fromeb4e66aab3into RegisterReadOnlyScriptFunctions and RegisterWriteScriptFunctions to prevent unintentional write access. This was SVN commit r20507.