1
0
forked from 0ad/0ad
0ad/source/ps/scripting
elexis 0cfe9ab153 Expose the same ReadJSONFile function to simulation, GUI and rmgen.
This way globalscripts/ can use the same code in all contexts, all paths
are absolute and only one function name is needed.
Remove ReadCivJSONFile which is redundant with this function as well.
Restrict read access of rmgen/ to rmgen/ and simulation/, refs
4275a8a33c, 89055ef858.

Refs #4868
Differential Revision: https://code.wildfiregames.com/D1085
Reviewed By: wraitii
Partial agreement with leper

This was SVN commit r20576.
2017-12-03 23:02:27 +00:00
..
JSInterface_ConfigDB.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_ConfigDB.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_Console.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_Console.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_Debug.cpp Delete unused SpiderMonkey GarbageCollection ScriptFunctions ForceGC in the AI and GUI context (e9e05f4efc) and MaybeGC in the random mapgen context (942a45372c). 2017-12-03 12:48:21 +00:00
JSInterface_Debug.h Delete unused SpiderMonkey GarbageCollection ScriptFunctions ForceGC in the AI and GUI context (e9e05f4efc) and MaybeGC in the random mapgen context (942a45372c). 2017-12-03 12:48:21 +00:00
JSInterface_Game.cpp Move Main ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 03:11:33 +00:00
JSInterface_Game.h Move Main ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 03:11:33 +00:00
JSInterface_Main.cpp Move Main ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 03:11:33 +00:00
JSInterface_Main.h Move Main ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 03:11:33 +00:00
JSInterface_Mod.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_Mod.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_SavedGame.cpp Move SavedGame ScriptFunctions to a new JS Interface, refs #4772. 2017-09-11 23:22:28 +00:00
JSInterface_SavedGame.h Move SavedGame ScriptFunctions to a new JS Interface, refs #4772. 2017-09-11 23:22:28 +00:00
JSInterface_VFS.cpp Expose the same ReadJSONFile function to simulation, GUI and rmgen. 2017-12-03 23:02:27 +00:00
JSInterface_VFS.h Expose the same ReadJSONFile function to simulation, GUI and rmgen. 2017-12-03 23:02:27 +00:00
JSInterface_VisualReplay.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
JSInterface_VisualReplay.h Remove unused clumsy JS GUI ScriptFunctions debug timer from ed7b4b5fca. 2017-09-11 22:08:54 +00:00