forked from 0ad/0ad
Matei
c3879b182d
- Modified CJSSharedProperty so it can be inherited. It now acts as our "static property" class with a pointer-to-member field. It did much of this before but it wasn't used much because of the way XML properties were loaded. - Modified CEntity and CBaseEntity so that virtually all properties are now CJSSharedProperty's added with AddClassProperty in ScriptingInit. - Removed m_run SEntityAction field, replacing its fields with separate variables, so we can have proper pointer-to-members for them. - Modified CTechnology to use CJSComplex::Get/SetProperty so that attributes no longer need to be "registered" for use in techs. This was SVN commit r4086. |
||
---|---|---|
.. | ||
DOMEvent.cpp | ||
DOMEvent.h | ||
EventTypes.h | ||
GameEvents.h | ||
JSConversions.cpp | ||
JSConversions.h | ||
JSSerialization.h | ||
ScriptableComplex.cpp | ||
ScriptableComplex.h | ||
ScriptableObject.cpp | ||
ScriptableObject.h | ||
ScriptCustomTypes.cpp | ||
ScriptCustomTypes.h | ||
ScriptGlue.cpp | ||
ScriptGlue.h | ||
ScriptingHost.cpp | ||
ScriptingHost.h | ||
SpiderMonkey.h | ||
SynchedJSObject.cpp | ||
SynchedJSObject.h |