0ad/source/simulation2/system
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
..
CmpPtr.cpp # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
CmpPtr.h Replace use of safe bool by explicit bool operator. 2015-01-25 03:11:24 +00:00
Component.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ComponentManager.cpp Expose the same ReadJSONFile function to simulation, GUI and rmgen. 2017-12-03 23:02:27 +00:00
ComponentManager.h Expose the same ReadJSONFile function to simulation, GUI and rmgen. 2017-12-03 23:02:27 +00:00
ComponentManagerSerialization.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Components.h # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
ComponentTest.h More ScriptInterface const. 2017-11-25 06:49:58 +00:00
DynamicSubscription.cpp Convert debug_printf to take UTF-8 strings instead of wchar_t. 2015-02-14 01:45:13 +00:00
DynamicSubscription.h Mark a few functions const. 2017-07-29 23:26:44 +00:00
Entity.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
EntityMap.h Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/. 2016-11-23 11:18:37 +00:00
IComponent.cpp Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
IComponent.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
Interface.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
InterfaceScripted.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
LocalTurnManager.cpp Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
LocalTurnManager.h Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
Message.h Pass ScriptInterface as a const ref where possible. 2017-08-24 00:32:42 +00:00
ParamNode.cpp Use XML files instead of hardcoded C++ code in the template manager to universally change template properties at load time. 2017-03-16 19:56:12 +00:00
ParamNode.h Replace deprecated jsval with JS::Value. 2017-08-28 10:27:36 +00:00
ReplayTurnManager.cpp Translate the Out-Of-Sync error message and send it to the JS GUI for convenience and future extension. 2017-05-01 04:55:56 +00:00
ReplayTurnManager.h Translate the Out-Of-Sync error message and send it to the JS GUI for convenience and future extension. 2017-05-01 04:55:56 +00:00
SimContext.cpp Simulation context cleanup, refs #3991, #3168. 2016-05-19 19:42:07 +00:00
SimContext.h Simulation context cleanup, refs #3991, #3168. 2016-05-19 19:42:07 +00:00
TurnManager.cpp Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00
TurnManager.h Split TurnManager classes into individual files per class. Patch by echotangoecho, fixes #4095. 2017-01-24 02:04:50 +00:00