add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector

This commit is contained in:
AzaezelX 2023-01-27 01:13:15 -06:00
parent a0bbe0ec18
commit f5a34308f9
382 changed files with 588 additions and 130 deletions

View file

@ -210,6 +210,7 @@ void afxMagicSpellData::reloadReset()
void afxMagicSpellData::initPersistFields()
{
docsURL;
static ewValidator _castingPhrase(CASTING_PHRASE);
static ewValidator _launchPhrase(LAUNCH_PHRASE);
static ewValidator _deliveryPhrase(DELIVERY_PHRASE);
@ -980,6 +981,7 @@ void afxMagicSpell::onDeleteNotify(SimObject* obj)
// static
void afxMagicSpell::initPersistFields()
{
docsURL;
addField("caster", TYPEID<SimObject>(), Offset(mCaster_field, afxMagicSpell),
"...");
addField("target", TYPEID<SimObject>(), Offset(mTarget_field, afxMagicSpell),