mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-27 09:47:11 +00:00
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.