0ad/source/simulation2
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
..
components 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
docs Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
helpers Fix territory borders not showing up on OSX when compiled with the lastest xCode. 2017-11-25 12:48:37 +00:00
scripting Move Simulation GUI ScriptFunctions to a new JS Interface, refs #4772. 2017-09-12 01:53:46 +00:00
serialization Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
system Expose the same ReadJSONFile function to simulation, GUI and rmgen. 2017-12-03 23:02:27 +00:00
tests Fix a disabled template manager test. 2017-10-22 15:39:50 +00:00
MessageTypes.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Simulation2.cpp More ScriptInterface const. 2017-11-25 06:49:58 +00:00
Simulation2.h An awesome Rejoin-test tool by wraitii and Itms, fixes #4242, refs #3460. 2016-11-15 13:26:58 +00:00
TypeList.h Add a TerritoryDecayManager component to update territoryMap with the blinking state when territories are recomputed. That's needed by the AI which was up to now not aware of blinking cells. 2017-10-07 08:42:39 +00:00